[SimplifyCFG] FoldTwoEntryPHINode(): consider *total* speculation cost, not per-BB...
[llvm-complete.git] / lib / CodeGen / CMakeLists.txt
blob3cf0c60108efad7b36ffdffad7874bda844ad80e
1 add_llvm_library(LLVMCodeGen
2   AggressiveAntiDepBreaker.cpp
3   AllocationOrder.cpp
4   Analysis.cpp
5   AtomicExpandPass.cpp
6   BasicTargetTransformInfo.cpp
7   BranchFolding.cpp
8   BranchRelaxation.cpp
9   BreakFalseDeps.cpp
10   BuiltinGCs.cpp
11   CalcSpillWeights.cpp
12   CallingConvLower.cpp
13   CFIInstrInserter.cpp
14   CodeGen.cpp
15   CodeGenPrepare.cpp
16   CriticalAntiDepBreaker.cpp
17   DeadMachineInstructionElim.cpp
18   DetectDeadLanes.cpp
19   DFAPacketizer.cpp
20   DwarfEHPrepare.cpp
21   EarlyIfConversion.cpp
22   EdgeBundles.cpp
23   ExecutionDomainFix.cpp
24   ExpandMemCmp.cpp
25   ExpandPostRAPseudos.cpp
26   ExpandReductions.cpp
27   FaultMaps.cpp
28   FEntryInserter.cpp
29   FinalizeISel.cpp
30   FuncletLayout.cpp
31   GCMetadata.cpp
32   GCMetadataPrinter.cpp
33   GCRootLowering.cpp
34   GCStrategy.cpp
35   GlobalMerge.cpp
36   HardwareLoops.cpp
37   IfConversion.cpp
38   ImplicitNullChecks.cpp
39   IndirectBrExpandPass.cpp
40   InlineSpiller.cpp
41   InterferenceCache.cpp
42   InterleavedAccessPass.cpp
43   InterleavedLoadCombinePass.cpp
44   IntrinsicLowering.cpp
45   LatencyPriorityQueue.cpp
46   LazyMachineBlockFrequencyInfo.cpp
47   LexicalScopes.cpp
48   LiveDebugValues.cpp
49   LiveDebugVariables.cpp
50   LiveIntervals.cpp
51   LiveInterval.cpp
52   LiveIntervalUnion.cpp
53   LivePhysRegs.cpp
54   LiveRangeCalc.cpp
55   LiveRangeEdit.cpp
56   LiveRangeShrink.cpp
57   LiveRegMatrix.cpp
58   LiveRegUnits.cpp
59   LiveStacks.cpp
60   LiveVariables.cpp
61   LLVMTargetMachine.cpp
62   LocalStackSlotAllocation.cpp
63   LoopTraversal.cpp
64   LowLevelType.cpp
65   LowerEmuTLS.cpp
66   MachineBasicBlock.cpp
67   MachineBlockFrequencyInfo.cpp
68   MachineBlockPlacement.cpp
69   MachineBranchProbabilityInfo.cpp
70   MachineCombiner.cpp
71   MachineCopyPropagation.cpp
72   MachineCSE.cpp
73   MachineDominanceFrontier.cpp
74   MachineDominators.cpp
75   MachineFrameInfo.cpp
76   MachineFunction.cpp
77   MachineFunctionPass.cpp
78   MachineFunctionPrinterPass.cpp
79   MachineInstrBundle.cpp
80   MachineInstr.cpp
81   MachineLICM.cpp
82   MachineLoopInfo.cpp
83   MachineModuleInfo.cpp
84   MachineModuleInfoImpls.cpp
85   MachineOperand.cpp
86   MachineOptimizationRemarkEmitter.cpp
87   MachineOutliner.cpp
88   MachinePipeliner.cpp
89   MachinePostDominators.cpp
90   MachineRegionInfo.cpp
91   MachineRegisterInfo.cpp
92   MachineScheduler.cpp
93   MachineSink.cpp
94   MachineSSAUpdater.cpp
95   MachineTraceMetrics.cpp
96   MachineVerifier.cpp
97   ModuloSchedule.cpp
98   PatchableFunction.cpp
99   MIRPrinter.cpp
100   MIRPrintingPass.cpp
101   MacroFusion.cpp
102   OptimizePHIs.cpp
103   ParallelCG.cpp
104   PeepholeOptimizer.cpp
105   PHIElimination.cpp
106   PHIEliminationUtils.cpp
107   PostRAHazardRecognizer.cpp
108   PostRASchedulerList.cpp
109   PreISelIntrinsicLowering.cpp
110   ProcessImplicitDefs.cpp
111   PrologEpilogInserter.cpp
112   PseudoSourceValue.cpp
113   ReachingDefAnalysis.cpp
114   RegAllocBase.cpp
115   RegAllocBasic.cpp
116   RegAllocFast.cpp
117   RegAllocGreedy.cpp
118   RegAllocPBQP.cpp
119   RegisterClassInfo.cpp
120   RegisterCoalescer.cpp
121   RegisterPressure.cpp
122   RegisterScavenging.cpp
123   RenameIndependentSubregs.cpp
124   MIRVRegNamerUtils.cpp
125   MIRNamerPass.cpp
126   MIRCanonicalizerPass.cpp
127   RegisterUsageInfo.cpp
128   RegUsageInfoCollector.cpp
129   RegUsageInfoPropagate.cpp
130   ResetMachineFunctionPass.cpp
131   SafeStack.cpp
132   SafeStackColoring.cpp
133   SafeStackLayout.cpp
134   ScalarizeMaskedMemIntrin.cpp
135   ScheduleDAG.cpp
136   ScheduleDAGInstrs.cpp
137   ScheduleDAGPrinter.cpp
138   ScoreboardHazardRecognizer.cpp
139   ShadowStackGCLowering.cpp
140   ShrinkWrap.cpp
141   SjLjEHPrepare.cpp
142   SlotIndexes.cpp
143   SpillPlacement.cpp
144   SplitKit.cpp
145   StackColoring.cpp
146   StackMapLivenessAnalysis.cpp
147   StackMaps.cpp
148   StackProtector.cpp
149   StackSlotColoring.cpp
150   SwiftErrorValueTracking.cpp
151   SwitchLoweringUtils.cpp
152   TailDuplication.cpp
153   TailDuplicator.cpp
154   TargetFrameLoweringImpl.cpp
155   TargetInstrInfo.cpp
156   TargetLoweringBase.cpp
157   TargetLoweringObjectFileImpl.cpp
158   TargetOptionsImpl.cpp
159   TargetPassConfig.cpp
160   TargetRegisterInfo.cpp
161   TargetSchedule.cpp
162   TargetSubtargetInfo.cpp
163   TwoAddressInstructionPass.cpp
164   UnreachableBlockElim.cpp
165   ValueTypes.cpp
166   VirtRegMap.cpp
167   WasmEHPrepare.cpp
168   WinEHPrepare.cpp
169   XRayInstrumentation.cpp
171   ADDITIONAL_HEADER_DIRS
172   ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen
173   ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/PBQP
175   LINK_LIBS ${LLVM_PTHREAD_LIB}
177   DEPENDS
178   intrinsics_gen
179   )
181 add_subdirectory(SelectionDAG)
182 add_subdirectory(AsmPrinter)
183 add_subdirectory(MIRParser)
184 add_subdirectory(GlobalISel)