[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / tools / bugpoint / CMakeLists.txt
blob031f51480cce7377accc9427e8c1eeb14c651e8d
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsAsmParsers
3   AllTargetsCodeGens
4   AllTargetsDescs
5   AllTargetsInfos
6   Analysis
7   BitWriter
8   CodeGen
9   Core
10   IPO
11   IRReader
12   AggressiveInstCombine
13   InstCombine
14   Instrumentation
15   Linker
16   ObjCARCOpts
17   ScalarOpts
18   Support
19   Target
20   TransformUtils
21   Vectorize
22   )
24 # Support plugins.
25 set(LLVM_NO_DEAD_STRIP 1)
27 add_llvm_tool(bugpoint
28   BugDriver.cpp
29   CrashDebugger.cpp
30   ExecutionDriver.cpp
31   ExtractFunction.cpp
32   FindBugs.cpp
33   Miscompilation.cpp
34   OptimizerDriver.cpp
35   ToolRunner.cpp
36   bugpoint.cpp
38   DEPENDS
39   intrinsics_gen
40   )
41 export_executable_symbols(bugpoint)
43 if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
44   target_link_libraries(bugpoint PRIVATE Polly)
45   # Ensure LLVMTarget can resolve dependences in Polly.
46   target_link_libraries(bugpoint PRIVATE LLVMTarget)
47 endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)