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 "MachineModuleInfo.cpp",
107 "MachineModuleInfoImpls.cpp",
108 "MachineOperand.cpp",
109 "MachineOptimizationRemarkEmitter.cpp",
110 "MachineOutliner.cpp",
111 "MachinePipeliner.cpp",
112 "MachinePostDominators.cpp",
113 "MachineRegionInfo.cpp",
114 "MachineRegisterInfo.cpp",
115 "MachineSSAUpdater.cpp",
116 "MachineScheduler.cpp",
118 "MachineTraceMetrics.cpp",
119 "MachineVerifier.cpp",
121 "ModuloSchedule.cpp",
123 "PHIElimination.cpp",
124 "PHIEliminationUtils.cpp",
126 "PatchableFunction.cpp",
127 "PeepholeOptimizer.cpp",
128 "PostRAHazardRecognizer.cpp",
129 "PostRASchedulerList.cpp",
130 "PreISelIntrinsicLowering.cpp",
131 "ProcessImplicitDefs.cpp",
132 "PrologEpilogInserter.cpp",
133 "PseudoSourceValue.cpp",
134 "ReachingDefAnalysis.cpp",
138 "RegAllocGreedy.cpp",
140 "RegUsageInfoCollector.cpp",
141 "RegUsageInfoPropagate.cpp",
142 "RegisterClassInfo.cpp",
143 "RegisterCoalescer.cpp",
144 "RegisterPressure.cpp",
145 "RegisterScavenging.cpp",
146 "RegisterUsageInfo.cpp",
147 "RenameIndependentSubregs.cpp",
148 "ResetMachineFunctionPass.cpp",
150 "SafeStackColoring.cpp",
151 "SafeStackLayout.cpp",
152 "ScalarizeMaskedMemIntrin.cpp",
154 "ScheduleDAGInstrs.cpp",
155 "ScheduleDAGPrinter.cpp",
156 "ScoreboardHazardRecognizer.cpp",
157 "ShadowStackGCLowering.cpp",
161 "SpillPlacement.cpp",
164 "StackMapLivenessAnalysis.cpp",
166 "StackProtector.cpp",
167 "StackSlotColoring.cpp",
168 "SwiftErrorValueTracking.cpp",
169 "SwitchLoweringUtils.cpp",
170 "TailDuplication.cpp",
171 "TailDuplicator.cpp",
172 "TargetFrameLoweringImpl.cpp",
173 "TargetInstrInfo.cpp",
174 "TargetLoweringBase.cpp",
175 "TargetLoweringObjectFileImpl.cpp",
176 "TargetOptionsImpl.cpp",
177 "TargetPassConfig.cpp",
178 "TargetRegisterInfo.cpp",
179 "TargetSchedule.cpp",
180 "TargetSubtargetInfo.cpp",
181 "TwoAddressInstructionPass.cpp",
182 "UnreachableBlockElim.cpp",
187 "XRayInstrumentation.cpp",