Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / tools / opt / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   Analysis
4   BitWriter
5   CodeGen
6   Core
7   IPO
8   IRReader
9   InstCombine
10   Instrumentation
11   MC
12   ObjCARCOpts
13   ScalarOpts
14   Support
15   Target
16   TransformUtils
17   Vectorize
18   Passes
19   )
20
21 # Support plugins.
22 set(LLVM_NO_DEAD_STRIP 1)
23
24 add_llvm_tool(opt
25   AnalysisWrappers.cpp
26   BreakpointPrinter.cpp
27   GraphPrinters.cpp
28   NewPMDriver.cpp
29   PassPrinters.cpp
30   PrintSCC.cpp
31   opt.cpp
32   )
33 export_executable_symbols(opt)
34
35 if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
36   target_link_libraries(opt Polly)
37   if(POLLY_LINK_LIBS)
38     foreach(lib ${POLLY_LINK_LIBS})
39       target_link_libraries(opt ${lib})
40     endforeach(lib)
41   endif(POLLY_LINK_LIBS)
42 endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)