You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
711 B
47 lines
711 B
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmParsers
|
|
AllTargetsCodeGens
|
|
AllTargetsDescs
|
|
AllTargetsInfos
|
|
AggressiveInstCombine
|
|
Analysis
|
|
AsmParser
|
|
BitWriter
|
|
CodeGen
|
|
Core
|
|
Coroutines
|
|
Extensions
|
|
IPO
|
|
IRReader
|
|
InstCombine
|
|
Instrumentation
|
|
MC
|
|
ObjCARCOpts
|
|
Remarks
|
|
ScalarOpts
|
|
Support
|
|
Target
|
|
TransformUtils
|
|
Vectorize
|
|
Passes
|
|
)
|
|
|
|
add_llvm_tool(opt
|
|
AnalysisWrappers.cpp
|
|
BreakpointPrinter.cpp
|
|
GraphPrinters.cpp
|
|
NewPMDriver.cpp
|
|
PassPrinters.cpp
|
|
PrintSCC.cpp
|
|
opt.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
SUPPORT_PLUGINS
|
|
)
|
|
export_executable_symbols_for_plugins(opt)
|
|
|
|
if(LLVM_BUILD_EXAMPLES)
|
|
target_link_libraries(opt PRIVATE ExampleIRTransforms)
|
|
endif(LLVM_BUILD_EXAMPLES)
|