llvm.org GIT mirror llvm / 3aabdeb
[CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196908 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
48 changed file(s) with 291 addition(s) and 57 deletion(s). Raw diff Collapse all Expand all
None set(LLVM_LINK_COMPONENTS jit bitwriter nativecodegen interpreter)
0 set(LLVM_LINK_COMPONENTS
1 BitWriter
2 Core
3 ExecutionEngine
4 JIT
5 Support
6 nativecodegen
7 )
18
29 add_llvm_example(BrainF
310 BrainF.cpp
None set(LLVM_LINK_COMPONENTS jit mcjit nativecodegen)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 ExecutionEngine
3 MCJIT
4 Support
5 nativecodegen
6 )
7
18 set(LLVM_REQUIRES_EH 1)
29
310 add_llvm_example(ExceptionDemo
None set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 ExecutionEngine
3 Interpreter
4 JIT
5 Support
6 nativecodegen
7 )
18
29 add_llvm_example(Fibonacci
310 fibonacci.cpp
None set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 ExecutionEngine
3 Interpreter
4 JIT
5 Support
6 nativecodegen
7 )
18
29 add_llvm_example(HowToUseJIT
310 HowToUseJIT.cpp
None set(LLVM_LINK_COMPONENTS core)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 Support
3 )
14
25 add_llvm_example(Kaleidoscope-Ch3
36 toy.cpp
None set(LLVM_LINK_COMPONENTS core jit interpreter native)
0 set(LLVM_LINK_COMPONENTS
1 Analysis
2 Core
3 ExecutionEngine
4 InstCombine
5 JIT
6 ScalarOpts
7 Support
8 nativecodegen
9 )
110
211 add_llvm_example(Kaleidoscope-Ch4
312 toy.cpp
None set(LLVM_LINK_COMPONENTS core jit interpreter native)
0 set(LLVM_LINK_COMPONENTS
1 Analysis
2 Core
3 ExecutionEngine
4 InstCombine
5 JIT
6 ScalarOpts
7 Support
8 nativecodegen
9 )
110
211 add_llvm_example(Kaleidoscope-Ch5
312 toy.cpp
None set(LLVM_LINK_COMPONENTS core jit interpreter native)
0 set(LLVM_LINK_COMPONENTS
1 Analysis
2 Core
3 ExecutionEngine
4 InstCombine
5 JIT
6 ScalarOpts
7 Support
8 nativecodegen
9 )
110
211 add_llvm_example(Kaleidoscope-Ch6
312 toy.cpp
None set(LLVM_LINK_COMPONENTS core jit interpreter native)
0 set(LLVM_LINK_COMPONENTS
1 Analysis
2 Core
3 ExecutionEngine
4 InstCombine
5 JIT
6 ScalarOpts
7 Support
8 TransformUtils
9 nativecodegen
10 )
11
112 set(LLVM_REQUIRES_RTTI 1)
213
314 add_llvm_example(Kaleidoscope-Ch7
None set(LLVM_LINK_COMPONENTS bitwriter)
0 set(LLVM_LINK_COMPONENTS
1 BitWriter
2 Core
3 Support
4 )
15
26 add_llvm_example(ModuleMaker
37 ModuleMaker.cpp
None set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 ExecutionEngine
3 Interpreter
4 JIT
5 Support
6 nativecodegen
7 )
18
29 add_llvm_example(ParallelJIT
310 ParallelJIT.cpp
None set(LLVM_LINK_COMPONENTS asmparser instrumentation scalaropts ipo
1 linker bitreader bitwriter irreader vectorize objcarcopts)
0 set(LLVM_LINK_COMPONENTS
1 Analysis
2 BitWriter
3 Core
4 IPA
5 IPO
6 IRReader
7 InstCombine
8 Instrumentation
9 Linker
10 ObjCARCOpts
11 ScalarOpts
12 Support
13 Target
14 TransformUtils
15 Vectorize
16 )
217
318 add_llvm_tool(bugpoint
419 BugDriver.cpp
None set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser irreader)
0 set(LLVM_LINK_COMPONENTS
1 ${LLVM_TARGETS_TO_BUILD}
2 AsmPrinter
3 CodeGen
4 Core
5 IRReader
6 MC
7 ScalarOpts
8 SelectionDAG
9 Support
10 Target
11 )
112
213 add_llvm_tool(llc
314 llc.cpp
0 add_subdirectory(ChildTarget)
11
2 set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag native instrumentation)
2 set(LLVM_LINK_COMPONENTS
3 CodeGen
4 Core
5 ExecutionEngine
6 IRReader
7 Instrumentation
8 Interpreter
9 JIT
10 MCJIT
11 SelectionDAG
12 Support
13 native
14 )
315
416 if( LLVM_USE_OPROFILE )
517 set(LLVM_LINK_COMPONENTS
None set(LLVM_LINK_COMPONENTS support object bitreader)
0 set(LLVM_LINK_COMPONENTS
1 Object
2 Support
3 )
14
25 add_llvm_tool(llvm-ar
36 llvm-ar.cpp
None set(LLVM_LINK_COMPONENTS asmparser bitwriter)
0 set(LLVM_LINK_COMPONENTS
1 AsmParser
2 BitWriter
3 Core
4 Support
5 )
16
27 add_llvm_tool(llvm-as
38 llvm-as.cpp
None set(LLVM_LINK_COMPONENTS bitreader)
0 set(LLVM_LINK_COMPONENTS
1 BitReader
2 Support
3 )
14
25 add_llvm_tool(llvm-bcanalyzer
36 llvm-bcanalyzer.cpp
None set(LLVM_LINK_COMPONENTS all)
0 set(LLVM_LINK_COMPONENTS
1 ${LLVM_TARGETS_TO_BUILD}
2 BitReader
3 Core
4 MCDisassembler
5 Object
6 Target
7 )
18
29 if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
310 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wstrict-prototypes")
None set(LLVM_LINK_COMPONENTS support asmparser bitreader irreader)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 IRReader
3 Support
4 )
15
26 add_llvm_tool(llvm-diff
37 llvm-diff.cpp
None set(LLVM_LINK_COMPONENTS bitreader analysis)
0 set(LLVM_LINK_COMPONENTS
1 BitReader
2 Core
3 Support
4 )
15
26 add_llvm_tool(llvm-dis
37 llvm-dis.cpp
0 set(LLVM_LINK_COMPONENTS
11 DebugInfo
22 Object
3 Support
34 )
45
56 add_llvm_tool(llvm-dwarfdump
None set(LLVM_LINK_COMPONENTS asmparser ipo bitreader bitwriter irreader)
0 set(LLVM_LINK_COMPONENTS
1 BitWriter
2 Core
3 IPO
4 IRReader
5 Support
6 )
17
28 add_llvm_tool(llvm-extract
39 llvm-extract.cpp
None set(LLVM_LINK_COMPONENTS linker bitreader bitwriter asmparser irreader)
0 set(LLVM_LINK_COMPONENTS
1 BitWriter
2 Core
3 IRReader
4 Linker
5 Support
6 )
17
28 add_llvm_tool(llvm-link
39 llvm-link.cpp
None set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} lto support)
0 set(LLVM_LINK_COMPONENTS
1 ${LLVM_TARGETS_TO_BUILD}
2 Core
3 LTO
4 MC
5 Support
6 )
17
28 add_llvm_tool(llvm-lto
39 llvm-lto.cpp
None set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support MC MCParser MCDisassembler)
0 set(LLVM_LINK_COMPONENTS
1 ${LLVM_TARGETS_TO_BUILD}
2 MC
3 MCParser
4 Support
5 )
16
27 add_llvm_tool(llvm-mc
38 llvm-mc.cpp
None set(LLVM_LINK_COMPONENTS bitreader object)
0 set(LLVM_LINK_COMPONENTS
1 BitReader
2 Core
3 Object
4 Support
5 )
16
27 add_llvm_tool(llvm-nm
38 llvm-nm.cpp
11 ${LLVM_TARGETS_TO_BUILD}
22 DebugInfo
33 MC
4 MCParser
5 MCDisassembler
64 Object
5 Support
76 )
87
98 add_llvm_tool(llvm-objdump
0 set(LLVM_LINK_COMPONENTS
11 ${LLVM_TARGETS_TO_BUILD}
2 bitreader
3 object)
2 Object
3 Support
4 )
45
56 add_llvm_tool(llvm-readobj
67 llvm-readobj.cpp
None set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support MC object RuntimeDyld JIT debuginfo)
0 set(LLVM_LINK_COMPONENTS
1 DebugInfo
2 ExecutionEngine
3 RuntimeDyld
4 Support
5 )
16
27 add_llvm_tool(llvm-rtdyld
38 llvm-rtdyld.cpp
None set(LLVM_LINK_COMPONENTS object)
0 set(LLVM_LINK_COMPONENTS
1 Object
2 Support
3 )
14
25 add_llvm_tool(llvm-size
36 llvm-size.cpp
None set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropts ipo)
0 set(LLVM_LINK_COMPONENTS
1 Core
2 IPA
3 Support
4 )
15
26 add_llvm_tool(llvm-stress
37 llvm-stress.cpp
55 set(LLVM_LINK_COMPONENTS
66 DebugInfo
77 Object
8 Support
89 )
910
1011 add_llvm_tool(llvm-symbolizer
0 set(LLVM_LINK_COMPONENTS
11 ${LLVM_TARGETS_TO_BUILD}
2 ipo scalaropts linker bitreader bitwriter lto mcdisassembler vectorize)
2 Core
3 LTO
4 MC
5 Support
6 )
37
48 add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )
59
None set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support object)
0 set(LLVM_LINK_COMPONENTS
1 Object
2 Support
3 )
14
25 add_llvm_tool(macho-dump
36 macho-dump.cpp
None set(LLVM_LINK_COMPONENTS object)
0 set(LLVM_LINK_COMPONENTS
1 Object
2 Support
3 )
14
25 add_llvm_utility(obj2yaml
36 obj2yaml.cpp coff2yaml.cpp
None set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser bitwriter irreader instrumentation scalaropts objcarcopts ipo vectorize)
0 set(LLVM_LINK_COMPONENTS
1 ${LLVM_TARGETS_TO_BUILD}
2 Analysis
3 BitWriter
4 Core
5 IPA
6 IPO
7 IRReader
8 InstCombine
9 Instrumentation
10 MC
11 ObjCARCOpts
12 ScalarOpts
13 Support
14 Target
15 TransformUtils
16 Vectorize
17 )
118
219 add_llvm_tool(opt
320 AnalysisWrappers.cpp
None set(LLVM_LINK_COMPONENTS object)
0 set(LLVM_LINK_COMPONENTS
1 Object
2 Support
3 )
14
25 add_llvm_utility(yaml2obj
36 yaml2obj.cpp
0 set(LLVM_LINK_COMPONENTS
11 Analysis
22 AsmParser
3 Core
4 Support
35 )
46
57 add_llvm_unittest(AnalysisTests
0 set(LLVM_LINK_COMPONENTS
11 BitReader
22 BitWriter
3 Core
4 Support
35 )
46
57 add_llvm_unittest(BitcodeTests
0 set(LLVM_LINK_COMPONENTS
1 asmprinter
2 codegen
3 support
1 AsmPrinter
2 Support
43 )
54
65 set(CodeGenSources
0 set(LLVM_LINK_COMPONENTS
1 debuginfo
2 object
3 support
1 DebugInfo
42 )
53
64 set(DebugInfoSources
0 set(LLVM_LINK_COMPONENTS
1 interpreter
1 Core
2 ExecutionEngine
3 Interpreter
4 Support
25 )
36
47 add_llvm_unittest(ExecutionEngineTests
0 set(LLVM_LINK_COMPONENTS
1 asmparser
2 bitreader
3 bitwriter
4 jit
1 AsmParser
2 BitReader
3 BitWriter
4 Core
5 ExecutionEngine
6 JIT
7 Support
58 nativecodegen
69 )
710
0 set(LLVM_LINK_COMPONENTS
1 asmparser
2 bitreader
3 bitwriter
4 mcjit
1 Analysis
2 Core
3 ExecutionEngine
4 JIT
5 MCJIT
6 ScalarOpts
7 Support
8 Target
59 nativecodegen
610 )
711
0 set(LLVM_LINK_COMPONENTS
1 asmparser
2 core
3 ipa
1 Analysis
2 AsmParser
3 Core
4 IPA
5 Support
46 )
57
68 set(IRSources
0 set(LLVM_LINK_COMPONENTS
1 object
1 Object
2 Support
23 )
34
45 add_llvm_unittest(ObjectTests
0 set(LLVM_LINK_COMPONENTS
1 Core
12 Instrumentation
3 Support
24 )
35
46 add_llvm_unittest(DebugIRTests
0 set(LLVM_LINK_COMPONENTS
1 Core
2 Support
13 TransformUtils
24 )
35