Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / lib / Passes / CMakeLists.txt
blobb8bbe59a64480c98e870283612be061cb54f930d
1 add_llvm_library(LLVMBOLTPasses
2   ADRRelaxationPass.cpp
3   Aligner.cpp
4   AllocCombiner.cpp
5   AsmDump.cpp
6   BinaryPasses.cpp
7   BinaryFunctionCallGraph.cpp
8   CMOVConversion.cpp
9   CacheMetrics.cpp
10   CallGraph.cpp
11   CallGraphWalker.cpp
12   DataflowAnalysis.cpp
13   DataflowInfoManager.cpp
14   FrameAnalysis.cpp
15   FrameOptimizer.cpp
16   FixRelaxationPass.cpp
17   FixRISCVCallsPass.cpp
18   HFSort.cpp
19   HFSortPlus.cpp
20   Hugify.cpp
21   IdenticalCodeFolding.cpp
22   IndirectCallPromotion.cpp
23   Inliner.cpp
24   Instrumentation.cpp
25   JTFootprintReduction.cpp
26   LongJmp.cpp
27   LoopInversionPass.cpp
28   LivenessAnalysis.cpp
29   MCF.cpp
30   PatchEntries.cpp
31   PettisAndHansen.cpp
32   PLTCall.cpp
33   RegAnalysis.cpp
34   RegReAssign.cpp
35   ReorderAlgorithm.cpp
36   ReorderFunctions.cpp
37   ReorderData.cpp
38   ShrinkWrapping.cpp
39   SplitFunctions.cpp
40   StackAllocationAnalysis.cpp
41   StackAvailableExpressions.cpp
42   StackPointerTracking.cpp
43   StackReachingUses.cpp
44   StokeInfo.cpp
45   TailDuplication.cpp
46   ThreeWayBranch.cpp
47   ValidateInternalCalls.cpp
48   ValidateMemRefs.cpp
49   VeneerElimination.cpp
50   RetpolineInsertion.cpp
52   DISABLE_LLVM_LINK_LLVM_DYLIB
54   LINK_LIBS
55   ${LLVM_PTHREAD_LIB}
57   LINK_COMPONENTS
58   AsmPrinter
59   MC
60   Support
61   TargetParser
62   TransformUtils
63   )
65 target_link_libraries(LLVMBOLTPasses
66   PRIVATE
67   LLVMBOLTCore
68   LLVMBOLTUtils
69   )