| NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 1 | set(LLVM_LINK_COMPONENTS |
| 2 | ${LLVM_TARGETS_TO_BUILD} | ||||
| 3 | Analysis | ||||
| 4 | BitWriter | ||||
| Quentin Colombet | a349084 | 2014-02-22 00:07:45 +0000 | [diff] [blame] | 5 | CodeGen |
| NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 6 | Core |
| David Majnemer | 3d32b7e | 2016-07-28 21:04:31 +0000 | [diff] [blame] | 7 | Coroutines |
| NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 8 | IPO |
| 9 | IRReader | ||||
| 10 | InstCombine | ||||
| 11 | Instrumentation | ||||
| 12 | MC | ||||
| 13 | ObjCARCOpts | ||||
| 14 | ScalarOpts | ||||
| 15 | Support | ||||
| 16 | Target | ||||
| 17 | TransformUtils | ||||
| 18 | Vectorize | ||||
| Chandler Carruth | 1ff7724 | 2015-03-07 09:02:36 +0000 | [diff] [blame] | 19 | Passes |
| NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 20 | ) |
| Michael J. Spencer | 93c9b2e | 2010-09-13 23:59:48 +0000 | [diff] [blame] | 21 | |
| Nico Weber | 62588e1 | 2013-12-30 03:36:05 +0000 | [diff] [blame] | 22 | # Support plugins. |
| 23 | set(LLVM_NO_DEAD_STRIP 1) | ||||
| 24 | |||||
| Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 25 | add_llvm_tool(opt |
| 26 | AnalysisWrappers.cpp | ||||
| Eli Bendersky | 54dc283 | 2014-02-12 16:48:02 +0000 | [diff] [blame] | 27 | BreakpointPrinter.cpp |
| Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 28 | GraphPrinters.cpp |
| Chandler Carruth | 6644538 | 2014-01-11 08:16:35 +0000 | [diff] [blame] | 29 | NewPMDriver.cpp |
| Eli Bendersky | b60f838 | 2014-02-10 23:34:23 +0000 | [diff] [blame] | 30 | PassPrinters.cpp |
| Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 31 | PrintSCC.cpp |
| 32 | opt.cpp | ||||
| Chris Bieneman | 367cf3c | 2016-11-19 03:18:50 +0000 | [diff] [blame] | 33 | |
| 34 | DEPENDS | ||||
| 35 | intrinsics_gen | ||||
| Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 36 | ) |
| Reid Kleckner | 3e8c445 | 2015-03-18 20:09:13 +0000 | [diff] [blame] | 37 | export_executable_symbols(opt) |
| Sebastian Pop | a59005b | 2014-03-14 04:04:14 +0000 | [diff] [blame] | 38 | |
| 39 | if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) | ||||
| 40 | target_link_libraries(opt Polly) | ||||
| Sebastian Pop | a59005b | 2014-03-14 04:04:14 +0000 | [diff] [blame] | 41 | endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) |