1 static_library("CodeGen") {
2 output_name = "LLVMCodeGen"
4 # Must be a public_dep because CodeGen's headers include llvm-config.h.
5 "//llvm/include/llvm/Config:llvm-config",
9 "//llvm/lib/Bitcode/Reader",
10 "//llvm/lib/Bitcode/Writer",
13 "//llvm/lib/ProfileData",
16 "//llvm/lib/Transforms/Scalar",
17 "//llvm/lib/Transforms/Utils",
20 "AggressiveAntiDepBreaker.cpp",
21 "AllocationOrder.cpp",
23 "AtomicExpandPass.cpp",
24 "BasicTargetTransformInfo.cpp",
26 "BranchRelaxation.cpp",
29 "CFIInstrInserter.cpp",
30 "CalcSpillWeights.cpp",
31 "CallingConvLower.cpp",
34 "CriticalAntiDepBreaker.cpp",
36 "DeadMachineInstructionElim.cpp",
37 "DetectDeadLanes.cpp",
39 "EarlyIfConversion.cpp",
41 "ExecutionDomainFix.cpp",
43 "ExpandPostRAPseudos.cpp",
44 "ExpandReductions.cpp",
50 "GCMetadataPrinter.cpp",
56 "ImplicitNullChecks.cpp",
57 "IndirectBrExpandPass.cpp",
59 "InterferenceCache.cpp",
60 "InterleavedAccessPass.cpp",
61 "InterleavedLoadCombinePass.cpp",
62 "IntrinsicLowering.cpp",
63 "LLVMTargetMachine.cpp",
64 "LatencyPriorityQueue.cpp",
65 "LazyMachineBlockFrequencyInfo.cpp",
67 "LiveDebugValues.cpp",
68 "LiveDebugVariables.cpp",
70 "LiveIntervalUnion.cpp",
75 "LiveRangeShrink.cpp",
80 "LocalStackSlotAllocation.cpp",
84 "MIRCanonicalizerPass.cpp",
87 "MIRPrintingPass.cpp",
88 "MIRVRegNamerUtils.cpp",
89 "MachineBasicBlock.cpp",
90 "MachineBlockFrequencyInfo.cpp",
91 "MachineBlockPlacement.cpp",
92 "MachineBranchProbabilityInfo.cpp",
94 "MachineCombiner.cpp",
95 "MachineCopyPropagation.cpp",
96 "MachineDominanceFrontier.cpp",
97 "MachineDominators.cpp",
98 "MachineFrameInfo.cpp",
99 "MachineFunction.cpp",
100 "MachineFunctionPass.cpp",
101 "MachineFunctionPrinterPass.cpp",
103 "MachineInstrBundle.cpp",
105 "MachineLoopInfo.cpp",
106 "MachineLoopUtils.cpp",
107 "MachineModuleInfo.cpp",
108 "MachineModuleInfoImpls.cpp",
109 "MachineOperand.cpp",
110 "MachineOptimizationRemarkEmitter.cpp",
111 "MachineOutliner.cpp",
112 "MachinePipeliner.cpp",
113 "MachinePostDominators.cpp",
114 "MachineRegionInfo.cpp",
115 "MachineRegisterInfo.cpp",
116 "MachineSSAUpdater.cpp",
117 "MachineScheduler.cpp",
119 "MachineTraceMetrics.cpp",
120 "MachineVerifier.cpp",
122 "ModuloSchedule.cpp",
124 "PHIElimination.cpp",
125 "PHIEliminationUtils.cpp",
127 "PatchableFunction.cpp",
128 "PeepholeOptimizer.cpp",
129 "PostRAHazardRecognizer.cpp",
130 "PostRASchedulerList.cpp",
131 "PreISelIntrinsicLowering.cpp",
132 "ProcessImplicitDefs.cpp",
133 "PrologEpilogInserter.cpp",
134 "PseudoSourceValue.cpp",
135 "ReachingDefAnalysis.cpp",
139 "RegAllocGreedy.cpp",
141 "RegUsageInfoCollector.cpp",
142 "RegUsageInfoPropagate.cpp",
143 "RegisterClassInfo.cpp",
144 "RegisterCoalescer.cpp",
145 "RegisterPressure.cpp",
146 "RegisterScavenging.cpp",
147 "RegisterUsageInfo.cpp",
148 "RenameIndependentSubregs.cpp",
149 "ResetMachineFunctionPass.cpp",
151 "SafeStackColoring.cpp",
152 "SafeStackLayout.cpp",
153 "ScalarizeMaskedMemIntrin.cpp",
155 "ScheduleDAGInstrs.cpp",
156 "ScheduleDAGPrinter.cpp",
157 "ScoreboardHazardRecognizer.cpp",
158 "ShadowStackGCLowering.cpp",
162 "SpillPlacement.cpp",
165 "StackMapLivenessAnalysis.cpp",
167 "StackProtector.cpp",
168 "StackSlotColoring.cpp",
169 "SwiftErrorValueTracking.cpp",
170 "SwitchLoweringUtils.cpp",
171 "TailDuplication.cpp",
172 "TailDuplicator.cpp",
173 "TargetFrameLoweringImpl.cpp",
174 "TargetInstrInfo.cpp",
175 "TargetLoweringBase.cpp",
176 "TargetLoweringObjectFileImpl.cpp",
177 "TargetOptionsImpl.cpp",
178 "TargetPassConfig.cpp",
179 "TargetRegisterInfo.cpp",
180 "TargetSchedule.cpp",
181 "TargetSubtargetInfo.cpp",
182 "TwoAddressInstructionPass.cpp",
183 "UnreachableBlockElim.cpp",
188 "XRayInstrumentation.cpp",