[gn build] Port 080dd10f7df
[lldb.git] / llvm / utils / gn / secondary / llvm / lib / CodeGen / BUILD.gn
1 static_library("CodeGen") {
2   output_name = "LLVMCodeGen"
3   public_deps = [
4     # Must be a public_dep because CodeGen's headers include llvm-config.h.
5     "//llvm/include/llvm/Config:llvm-config",
6   ]
7   deps = [
8     "//llvm/lib/Analysis",
9     "//llvm/lib/Bitcode/Reader",
10     "//llvm/lib/Bitcode/Writer",
11     "//llvm/lib/IR",
12     "//llvm/lib/MC",
13     "//llvm/lib/ProfileData",
14     "//llvm/lib/Support",
15     "//llvm/lib/Target",
16     "//llvm/lib/Transforms/Scalar",
17     "//llvm/lib/Transforms/Utils",
18   ]
19   sources = [
20     "AggressiveAntiDepBreaker.cpp",
21     "AllocationOrder.cpp",
22     "Analysis.cpp",
23     "AtomicExpandPass.cpp",
24     "BBSectionsPrepare.cpp",
25     "BasicTargetTransformInfo.cpp",
26     "BranchFolding.cpp",
27     "BranchRelaxation.cpp",
28     "BreakFalseDeps.cpp",
29     "BuiltinGCs.cpp",
30     "CFGuardLongjmp.cpp",
31     "CFIInstrInserter.cpp",
32     "CalcSpillWeights.cpp",
33     "CallingConvLower.cpp",
34     "CodeGen.cpp",
35     "CodeGenPrepare.cpp",
36     "CommandFlags.cpp",
37     "CriticalAntiDepBreaker.cpp",
38     "DFAPacketizer.cpp",
39     "DeadMachineInstructionElim.cpp",
40     "DetectDeadLanes.cpp",
41     "DwarfEHPrepare.cpp",
42     "EarlyIfConversion.cpp",
43     "EdgeBundles.cpp",
44     "ExecutionDomainFix.cpp",
45     "ExpandMemCmp.cpp",
46     "ExpandPostRAPseudos.cpp",
47     "ExpandReductions.cpp",
48     "FEntryInserter.cpp",
49     "FaultMaps.cpp",
50     "FinalizeISel.cpp",
51     "FuncletLayout.cpp",
52     "GCMetadata.cpp",
53     "GCMetadataPrinter.cpp",
54     "GCRootLowering.cpp",
55     "GCStrategy.cpp",
56     "GlobalMerge.cpp",
57     "HardwareLoops.cpp",
58     "IfConversion.cpp",
59     "ImplicitNullChecks.cpp",
60     "IndirectBrExpandPass.cpp",
61     "InlineSpiller.cpp",
62     "InterferenceCache.cpp",
63     "InterleavedAccessPass.cpp",
64     "InterleavedLoadCombinePass.cpp",
65     "IntrinsicLowering.cpp",
66     "LLVMTargetMachine.cpp",
67     "LatencyPriorityQueue.cpp",
68     "LazyMachineBlockFrequencyInfo.cpp",
69     "LexicalScopes.cpp",
70     "LiveDebugValues.cpp",
71     "LiveDebugVariables.cpp",
72     "LiveInterval.cpp",
73     "LiveIntervalUnion.cpp",
74     "LiveIntervals.cpp",
75     "LivePhysRegs.cpp",
76     "LiveRangeCalc.cpp",
77     "LiveRangeEdit.cpp",
78     "LiveRangeShrink.cpp",
79     "LiveRegMatrix.cpp",
80     "LiveRegUnits.cpp",
81     "LiveStacks.cpp",
82     "LiveVariables.cpp",
83     "LocalStackSlotAllocation.cpp",
84     "LoopTraversal.cpp",
85     "LowLevelType.cpp",
86     "LowerEmuTLS.cpp",
87     "MBFIWrapper.cpp",
88     "MIRCanonicalizerPass.cpp",
89     "MIRNamerPass.cpp",
90     "MIRPrinter.cpp",
91     "MIRPrintingPass.cpp",
92     "MIRVRegNamerUtils.cpp",
93     "MachineBasicBlock.cpp",
94     "MachineBlockFrequencyInfo.cpp",
95     "MachineBlockPlacement.cpp",
96     "MachineBranchProbabilityInfo.cpp",
97     "MachineCSE.cpp",
98     "MachineCombiner.cpp",
99     "MachineCopyPropagation.cpp",
100     "MachineDominanceFrontier.cpp",
101     "MachineDominators.cpp",
102     "MachineFrameInfo.cpp",
103     "MachineFunction.cpp",
104     "MachineFunctionPass.cpp",
105     "MachineFunctionPrinterPass.cpp",
106     "MachineInstr.cpp",
107     "MachineInstrBundle.cpp",
108     "MachineLICM.cpp",
109     "MachineLoopInfo.cpp",
110     "MachineLoopUtils.cpp",
111     "MachineModuleInfo.cpp",
112     "MachineModuleInfoImpls.cpp",
113     "MachineOperand.cpp",
114     "MachineOptimizationRemarkEmitter.cpp",
115     "MachineOutliner.cpp",
116     "MachinePipeliner.cpp",
117     "MachinePostDominators.cpp",
118     "MachineRegionInfo.cpp",
119     "MachineRegisterInfo.cpp",
120     "MachineSSAUpdater.cpp",
121     "MachineScheduler.cpp",
122     "MachineSink.cpp",
123     "MachineSizeOpts.cpp",
124     "MachineTraceMetrics.cpp",
125     "MachineVerifier.cpp",
126     "MacroFusion.cpp",
127     "ModuloSchedule.cpp",
128     "NonRelocatableStringpool.cpp",
129     "OptimizePHIs.cpp",
130     "PHIElimination.cpp",
131     "PHIEliminationUtils.cpp",
132     "ParallelCG.cpp",
133     "PatchableFunction.cpp",
134     "PeepholeOptimizer.cpp",
135     "PostRAHazardRecognizer.cpp",
136     "PostRASchedulerList.cpp",
137     "PreISelIntrinsicLowering.cpp",
138     "ProcessImplicitDefs.cpp",
139     "PrologEpilogInserter.cpp",
140     "PseudoSourceValue.cpp",
141     "RDFGraph.cpp",
142     "RDFLiveness.cpp",
143     "RDFRegisters.cpp",
144     "ReachingDefAnalysis.cpp",
145     "RegAllocBase.cpp",
146     "RegAllocBasic.cpp",
147     "RegAllocFast.cpp",
148     "RegAllocGreedy.cpp",
149     "RegAllocPBQP.cpp",
150     "RegUsageInfoCollector.cpp",
151     "RegUsageInfoPropagate.cpp",
152     "RegisterClassInfo.cpp",
153     "RegisterCoalescer.cpp",
154     "RegisterPressure.cpp",
155     "RegisterScavenging.cpp",
156     "RegisterUsageInfo.cpp",
157     "RenameIndependentSubregs.cpp",
158     "ResetMachineFunctionPass.cpp",
159     "SafeStack.cpp",
160     "SafeStackColoring.cpp",
161     "SafeStackLayout.cpp",
162     "ScalarizeMaskedMemIntrin.cpp",
163     "ScheduleDAG.cpp",
164     "ScheduleDAGInstrs.cpp",
165     "ScheduleDAGPrinter.cpp",
166     "ScoreboardHazardRecognizer.cpp",
167     "ShadowStackGCLowering.cpp",
168     "ShrinkWrap.cpp",
169     "SjLjEHPrepare.cpp",
170     "SlotIndexes.cpp",
171     "SpillPlacement.cpp",
172     "SplitKit.cpp",
173     "StackColoring.cpp",
174     "StackMapLivenessAnalysis.cpp",
175     "StackMaps.cpp",
176     "StackProtector.cpp",
177     "StackSlotColoring.cpp",
178     "SwiftErrorValueTracking.cpp",
179     "SwitchLoweringUtils.cpp",
180     "TailDuplication.cpp",
181     "TailDuplicator.cpp",
182     "TargetFrameLoweringImpl.cpp",
183     "TargetInstrInfo.cpp",
184     "TargetLoweringBase.cpp",
185     "TargetLoweringObjectFileImpl.cpp",
186     "TargetOptionsImpl.cpp",
187     "TargetPassConfig.cpp",
188     "TargetRegisterInfo.cpp",
189     "TargetSchedule.cpp",
190     "TargetSubtargetInfo.cpp",
191     "TwoAddressInstructionPass.cpp",
192     "TypePromotion.cpp",
193     "UnreachableBlockElim.cpp",
194     "ValueTypes.cpp",
195     "VirtRegMap.cpp",
196     "WasmEHPrepare.cpp",
197     "WinEHPrepare.cpp",
198     "XRayInstrumentation.cpp",
199   ]
200 }