[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / llvm / lib / CodeGen / BUILD.gn
blob8f7c27ebf0b64fce9088f87a76501c38c5e6da8d
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     "BasicTargetTransformInfo.cpp",
25     "BranchFolding.cpp",
26     "BranchRelaxation.cpp",
27     "BreakFalseDeps.cpp",
28     "BuiltinGCs.cpp",
29     "CFIInstrInserter.cpp",
30     "CalcSpillWeights.cpp",
31     "CallingConvLower.cpp",
32     "CodeGen.cpp",
33     "CodeGenPrepare.cpp",
34     "CriticalAntiDepBreaker.cpp",
35     "DFAPacketizer.cpp",
36     "DeadMachineInstructionElim.cpp",
37     "DetectDeadLanes.cpp",
38     "DwarfEHPrepare.cpp",
39     "EarlyIfConversion.cpp",
40     "EdgeBundles.cpp",
41     "ExecutionDomainFix.cpp",
42     "ExpandMemCmp.cpp",
43     "ExpandPostRAPseudos.cpp",
44     "ExpandReductions.cpp",
45     "FEntryInserter.cpp",
46     "FaultMaps.cpp",
47     "FinalizeISel.cpp",
48     "FuncletLayout.cpp",
49     "GCMetadata.cpp",
50     "GCMetadataPrinter.cpp",
51     "GCRootLowering.cpp",
52     "GCStrategy.cpp",
53     "GlobalMerge.cpp",
54     "HardwareLoops.cpp",
55     "IfConversion.cpp",
56     "ImplicitNullChecks.cpp",
57     "IndirectBrExpandPass.cpp",
58     "InlineSpiller.cpp",
59     "InterferenceCache.cpp",
60     "InterleavedAccessPass.cpp",
61     "InterleavedLoadCombinePass.cpp",
62     "IntrinsicLowering.cpp",
63     "LLVMTargetMachine.cpp",
64     "LatencyPriorityQueue.cpp",
65     "LazyMachineBlockFrequencyInfo.cpp",
66     "LexicalScopes.cpp",
67     "LiveDebugValues.cpp",
68     "LiveDebugVariables.cpp",
69     "LiveInterval.cpp",
70     "LiveIntervalUnion.cpp",
71     "LiveIntervals.cpp",
72     "LivePhysRegs.cpp",
73     "LiveRangeCalc.cpp",
74     "LiveRangeEdit.cpp",
75     "LiveRangeShrink.cpp",
76     "LiveRegMatrix.cpp",
77     "LiveRegUnits.cpp",
78     "LiveStacks.cpp",
79     "LiveVariables.cpp",
80     "LocalStackSlotAllocation.cpp",
81     "LoopTraversal.cpp",
82     "LowLevelType.cpp",
83     "LowerEmuTLS.cpp",
84     "MIRCanonicalizerPass.cpp",
85     "MIRNamerPass.cpp",
86     "MIRPrinter.cpp",
87     "MIRPrintingPass.cpp",
88     "MIRVRegNamerUtils.cpp",
89     "MachineBasicBlock.cpp",
90     "MachineBlockFrequencyInfo.cpp",
91     "MachineBlockPlacement.cpp",
92     "MachineBranchProbabilityInfo.cpp",
93     "MachineCSE.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",
102     "MachineInstr.cpp",
103     "MachineInstrBundle.cpp",
104     "MachineLICM.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",
118     "MachineSink.cpp",
119     "MachineTraceMetrics.cpp",
120     "MachineVerifier.cpp",
121     "MacroFusion.cpp",
122     "ModuloSchedule.cpp",
123     "OptimizePHIs.cpp",
124     "PHIElimination.cpp",
125     "PHIEliminationUtils.cpp",
126     "ParallelCG.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",
136     "RegAllocBase.cpp",
137     "RegAllocBasic.cpp",
138     "RegAllocFast.cpp",
139     "RegAllocGreedy.cpp",
140     "RegAllocPBQP.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",
150     "SafeStack.cpp",
151     "SafeStackColoring.cpp",
152     "SafeStackLayout.cpp",
153     "ScalarizeMaskedMemIntrin.cpp",
154     "ScheduleDAG.cpp",
155     "ScheduleDAGInstrs.cpp",
156     "ScheduleDAGPrinter.cpp",
157     "ScoreboardHazardRecognizer.cpp",
158     "ShadowStackGCLowering.cpp",
159     "ShrinkWrap.cpp",
160     "SjLjEHPrepare.cpp",
161     "SlotIndexes.cpp",
162     "SpillPlacement.cpp",
163     "SplitKit.cpp",
164     "StackColoring.cpp",
165     "StackMapLivenessAnalysis.cpp",
166     "StackMaps.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",
184     "ValueTypes.cpp",
185     "VirtRegMap.cpp",
186     "WasmEHPrepare.cpp",
187     "WinEHPrepare.cpp",
188     "XRayInstrumentation.cpp",
189   ]