xref: /freebsd/lib/clang/libllvm/Makefile (revision d65cd7a57bf0600b722afc770838a5d0c1c3a8e1)
1# $FreeBSD$
2
3.include <src.opts.mk>
4.include "../llvm.pre.mk"
5
6LIB=		llvm
7INTERNALLIB=
8
9CFLAGS+=	-I${.OBJDIR}
10
11.if ${MK_LLVM_TARGET_AARCH64} == "no" && ${MK_LLVM_TARGET_ARM} == "no" && \
12    ${MK_LLVM_TARGET_BPF} == "no" && ${MK_LLVM_TARGET_MIPS} == "no" && \
13    ${MK_LLVM_TARGET_POWERPC} == "no" && ${MK_LLVM_TARGET_RISCV} == "no" && \
14    ${MK_LLVM_TARGET_X86} == "no"
15.error Please enable at least one of: MK_LLVM_TARGET_AARCH64,\
16 MK_LLVM_TARGET_ARM, MK_LLVM_TARGET_BPF, MK_LLVM_TARGET_MIPS, \
17 MK_LLVM_TARGET_POWERPC, MK_LLVM_TARGET_RISCV, or MK_LLVM_TARGET_X86
18.endif
19
20.for arch in AArch64 ARM BPF Mips PowerPC RISCV X86
21. if ${MK_LLVM_TARGET_${arch:tu}} != "no"
22CFLAGS+=	-I${LLVM_SRCS}/lib/Target/${arch}
23. endif
24.endfor
25
26SRCDIR=		llvm/lib
27
28# Explanation of different SRCS variants below:
29# SRCS_MIN:	always required, even for bootstrap
30# SRCS_MIW:	required for world stage (after cross-tools)
31# SRCS_EXT:	required for MK_CLANG_EXTRAS
32# SRCS_EXL:	required for MK_CLANG_EXTRAS and MK_LLD
33# SRCS_FUL:	required for MK_CLANG_FULL
34# SRCS_LLD:	required for MK_LLD
35# SRCS_XDB:	required for MK_CLANG_EXTRAS and MK_LLDB
36# SRCS_XDL:	required for MK_CLANG_EXTRAS, MK_LLD and MK_LLDB
37# SRCS_XDW:	required for MK_CLANG_EXTRAS and MK_LLDB in world stage
38
39SRCS_MIN+=	Analysis/AliasAnalysis.cpp
40SRCS_MIN+=	Analysis/AliasAnalysisEvaluator.cpp
41SRCS_MIN+=	Analysis/AliasAnalysisSummary.cpp
42SRCS_MIN+=	Analysis/AliasSetTracker.cpp
43SRCS_EXT+=	Analysis/Analysis.cpp
44SRCS_MIN+=	Analysis/AssumptionCache.cpp
45SRCS_MIN+=	Analysis/BasicAliasAnalysis.cpp
46SRCS_MIN+=	Analysis/BlockFrequencyInfo.cpp
47SRCS_MIN+=	Analysis/BlockFrequencyInfoImpl.cpp
48SRCS_MIN+=	Analysis/BranchProbabilityInfo.cpp
49SRCS_MIN+=	Analysis/CFG.cpp
50SRCS_MIN+=	Analysis/CFGPrinter.cpp
51SRCS_MIN+=	Analysis/CFLAndersAliasAnalysis.cpp
52SRCS_MIN+=	Analysis/CFLSteensAliasAnalysis.cpp
53SRCS_MIN+=	Analysis/CGSCCPassManager.cpp
54SRCS_MIN+=	Analysis/CallGraph.cpp
55SRCS_MIN+=	Analysis/CallGraphSCCPass.cpp
56SRCS_MIN+=	Analysis/CallPrinter.cpp
57SRCS_MIN+=	Analysis/CaptureTracking.cpp
58SRCS_MIN+=	Analysis/CmpInstAnalysis.cpp
59SRCS_MIN+=	Analysis/CodeMetrics.cpp
60SRCS_MIN+=	Analysis/ConstantFolding.cpp
61SRCS_MIN+=	Analysis/CostModel.cpp
62SRCS_MIN+=	Analysis/DDG.cpp
63SRCS_MIN+=	Analysis/Delinearization.cpp
64SRCS_MIN+=	Analysis/DemandedBits.cpp
65SRCS_MIN+=	Analysis/DependenceAnalysis.cpp
66SRCS_MIN+=	Analysis/DependenceGraphBuilder.cpp
67SRCS_MIN+=	Analysis/DivergenceAnalysis.cpp
68SRCS_MIN+=	Analysis/DomPrinter.cpp
69SRCS_MIN+=	Analysis/DomTreeUpdater.cpp
70SRCS_MIN+=	Analysis/DominanceFrontier.cpp
71SRCS_MIN+=	Analysis/EHPersonalities.cpp
72SRCS_MIN+=	Analysis/GlobalsModRef.cpp
73SRCS_MIN+=	Analysis/GuardUtils.cpp
74SRCS_MIN+=	Analysis/IVDescriptors.cpp
75SRCS_MIN+=	Analysis/IVUsers.cpp
76SRCS_MIN+=	Analysis/IndirectCallPromotionAnalysis.cpp
77SRCS_MIN+=	Analysis/InlineCost.cpp
78SRCS_MIN+=	Analysis/InstCount.cpp
79SRCS_MIN+=	Analysis/InstructionPrecedenceTracking.cpp
80SRCS_MIN+=	Analysis/InstructionSimplify.cpp
81SRCS_MIN+=	Analysis/Interval.cpp
82SRCS_MIN+=	Analysis/IntervalPartition.cpp
83SRCS_MIN+=	Analysis/LazyBlockFrequencyInfo.cpp
84SRCS_MIN+=	Analysis/LazyBranchProbabilityInfo.cpp
85SRCS_MIN+=	Analysis/LazyCallGraph.cpp
86SRCS_MIN+=	Analysis/LazyValueInfo.cpp
87SRCS_MIN+=	Analysis/LegacyDivergenceAnalysis.cpp
88SRCS_MIN+=	Analysis/Lint.cpp
89SRCS_MIN+=	Analysis/Loads.cpp
90SRCS_MIN+=	Analysis/LoopAccessAnalysis.cpp
91SRCS_MIN+=	Analysis/LoopAnalysisManager.cpp
92SRCS_MIN+=	Analysis/LoopCacheAnalysis.cpp
93SRCS_MIN+=	Analysis/LoopInfo.cpp
94SRCS_MIN+=	Analysis/LoopPass.cpp
95SRCS_MIN+=	Analysis/LoopUnrollAnalyzer.cpp
96SRCS_MIN+=	Analysis/MemDepPrinter.cpp
97SRCS_MIN+=	Analysis/MemDerefPrinter.cpp
98SRCS_MIN+=	Analysis/MemoryBuiltins.cpp
99SRCS_MIN+=	Analysis/MemoryDependenceAnalysis.cpp
100SRCS_MIN+=	Analysis/MemoryLocation.cpp
101SRCS_MIN+=	Analysis/MemorySSA.cpp
102SRCS_MIN+=	Analysis/MemorySSAUpdater.cpp
103SRCS_MIN+=	Analysis/ModuleDebugInfoPrinter.cpp
104SRCS_MIN+=	Analysis/ModuleSummaryAnalysis.cpp
105SRCS_MIN+=	Analysis/MustExecute.cpp
106SRCS_MIN+=	Analysis/ObjCARCAliasAnalysis.cpp
107SRCS_MIN+=	Analysis/ObjCARCAnalysisUtils.cpp
108SRCS_MIN+=	Analysis/ObjCARCInstKind.cpp
109SRCS_MIN+=	Analysis/OptimizationRemarkEmitter.cpp
110SRCS_MIN+=	Analysis/OrderedBasicBlock.cpp
111SRCS_MIN+=	Analysis/OrderedInstructions.cpp
112SRCS_MIN+=	Analysis/PHITransAddr.cpp
113SRCS_MIN+=	Analysis/PhiValues.cpp
114SRCS_MIN+=	Analysis/PostDominators.cpp
115SRCS_MIN+=	Analysis/ProfileSummaryInfo.cpp
116SRCS_MIN+=	Analysis/PtrUseVisitor.cpp
117SRCS_MIN+=	Analysis/RegionInfo.cpp
118SRCS_MIN+=	Analysis/RegionPass.cpp
119SRCS_MIN+=	Analysis/RegionPrinter.cpp
120SRCS_MIN+=	Analysis/ScalarEvolution.cpp
121SRCS_MIN+=	Analysis/ScalarEvolutionAliasAnalysis.cpp
122SRCS_MIN+=	Analysis/ScalarEvolutionExpander.cpp
123SRCS_MIN+=	Analysis/ScalarEvolutionNormalization.cpp
124SRCS_MIN+=	Analysis/ScopedNoAliasAA.cpp
125SRCS_MIN+=	Analysis/StackSafetyAnalysis.cpp
126SRCS_MIN+=	Analysis/SyncDependenceAnalysis.cpp
127SRCS_MIN+=	Analysis/SyntheticCountsUtils.cpp
128SRCS_MIN+=	Analysis/TargetLibraryInfo.cpp
129SRCS_MIN+=	Analysis/TargetTransformInfo.cpp
130SRCS_MIN+=	Analysis/TypeBasedAliasAnalysis.cpp
131SRCS_MIN+=	Analysis/TypeMetadataUtils.cpp
132SRCS_MIN+=	Analysis/VFABIDemangling.cpp
133SRCS_MIN+=	Analysis/ValueLattice.cpp
134SRCS_MIN+=	Analysis/ValueLatticeUtils.cpp
135SRCS_MIN+=	Analysis/ValueTracking.cpp
136SRCS_MIN+=	Analysis/VectorUtils.cpp
137SRCS_MIN+=	AsmParser/LLLexer.cpp
138SRCS_MIN+=	AsmParser/LLParser.cpp
139SRCS_MIN+=	AsmParser/Parser.cpp
140SRCS_MIN+=	BinaryFormat/Dwarf.cpp
141SRCS_MIN+=	BinaryFormat/Magic.cpp
142SRCS_MIN+=	BinaryFormat/Wasm.cpp
143SRCS_MIN+=	BinaryFormat/XCOFF.cpp
144SRCS_MIN+=	Bitcode/Reader/BitReader.cpp
145SRCS_EXT+=	Bitcode/Reader/BitcodeAnalyzer.cpp
146SRCS_MIN+=	Bitcode/Reader/BitcodeReader.cpp
147SRCS_MIN+=	Bitcode/Reader/MetadataLoader.cpp
148SRCS_MIN+=	Bitcode/Reader/ValueList.cpp
149SRCS_MIN+=	Bitcode/Writer/BitcodeWriter.cpp
150SRCS_MIN+=	Bitcode/Writer/BitcodeWriterPass.cpp
151SRCS_MIN+=	Bitcode/Writer/ValueEnumerator.cpp
152SRCS_MIN+=	Bitstream/Reader/BitstreamReader.cpp
153SRCS_MIN+=	CodeGen/AggressiveAntiDepBreaker.cpp
154SRCS_MIN+=	CodeGen/AllocationOrder.cpp
155SRCS_MIN+=	CodeGen/Analysis.cpp
156SRCS_MIN+=	CodeGen/AsmPrinter/ARMException.cpp
157SRCS_MIN+=	CodeGen/AsmPrinter/AccelTable.cpp
158SRCS_MIN+=	CodeGen/AsmPrinter/AddressPool.cpp
159SRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinter.cpp
160SRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
161SRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
162SRCS_MIN+=	CodeGen/AsmPrinter/CodeViewDebug.cpp
163SRCS_MIN+=	CodeGen/AsmPrinter/DIE.cpp
164SRCS_MIN+=	CodeGen/AsmPrinter/DIEHash.cpp
165SRCS_MIN+=	CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
166SRCS_MIN+=	CodeGen/AsmPrinter/DebugHandlerBase.cpp
167SRCS_MIN+=	CodeGen/AsmPrinter/DebugLocStream.cpp
168SRCS_MIN+=	CodeGen/AsmPrinter/DwarfCFIException.cpp
169SRCS_MIN+=	CodeGen/AsmPrinter/DwarfCompileUnit.cpp
170SRCS_MIN+=	CodeGen/AsmPrinter/DwarfDebug.cpp
171SRCS_MIN+=	CodeGen/AsmPrinter/DwarfExpression.cpp
172SRCS_MIN+=	CodeGen/AsmPrinter/DwarfFile.cpp
173SRCS_MIN+=	CodeGen/AsmPrinter/DwarfStringPool.cpp
174SRCS_MIN+=	CodeGen/AsmPrinter/DwarfUnit.cpp
175SRCS_MIN+=	CodeGen/AsmPrinter/EHStreamer.cpp
176SRCS_EXT+=	CodeGen/AsmPrinter/ErlangGCPrinter.cpp
177SRCS_MIN+=	CodeGen/AsmPrinter/OcamlGCPrinter.cpp
178SRCS_MIN+=	CodeGen/AsmPrinter/WasmException.cpp
179SRCS_MIN+=	CodeGen/AsmPrinter/WinCFGuard.cpp
180SRCS_MIN+=	CodeGen/AsmPrinter/WinException.cpp
181SRCS_MIN+=	CodeGen/AtomicExpandPass.cpp
182SRCS_MIN+=	CodeGen/BasicTargetTransformInfo.cpp
183SRCS_MIN+=	CodeGen/BranchFolding.cpp
184SRCS_MIN+=	CodeGen/BranchRelaxation.cpp
185SRCS_MIN+=	CodeGen/BreakFalseDeps.cpp
186SRCS_EXT+=	CodeGen/BuiltinGCs.cpp
187SRCS_MIN+=	CodeGen/CFGuardLongjmp.cpp
188SRCS_MIN+=	CodeGen/CFIInstrInserter.cpp
189SRCS_MIN+=	CodeGen/CalcSpillWeights.cpp
190SRCS_MIN+=	CodeGen/CallingConvLower.cpp
191SRCS_MIN+=	CodeGen/CodeGen.cpp
192SRCS_MIN+=	CodeGen/CodeGenPrepare.cpp
193SRCS_MIN+=	CodeGen/CriticalAntiDepBreaker.cpp
194SRCS_MIN+=	CodeGen/DFAPacketizer.cpp
195SRCS_MIN+=	CodeGen/DeadMachineInstructionElim.cpp
196SRCS_MIN+=	CodeGen/DetectDeadLanes.cpp
197SRCS_MIN+=	CodeGen/DwarfEHPrepare.cpp
198SRCS_MIN+=	CodeGen/EarlyIfConversion.cpp
199SRCS_MIN+=	CodeGen/EdgeBundles.cpp
200SRCS_MIN+=	CodeGen/ExecutionDomainFix.cpp
201SRCS_MIN+=	CodeGen/ExpandMemCmp.cpp
202SRCS_MIN+=	CodeGen/ExpandPostRAPseudos.cpp
203SRCS_MIN+=	CodeGen/ExpandReductions.cpp
204SRCS_MIN+=	CodeGen/FEntryInserter.cpp
205SRCS_MIN+=	CodeGen/FaultMaps.cpp
206SRCS_MIN+=	CodeGen/FinalizeISel.cpp
207SRCS_MIN+=	CodeGen/FuncletLayout.cpp
208SRCS_MIN+=	CodeGen/GCMetadata.cpp
209SRCS_MIN+=	CodeGen/GCMetadataPrinter.cpp
210SRCS_MIN+=	CodeGen/GCRootLowering.cpp
211SRCS_MIN+=	CodeGen/GCStrategy.cpp
212SRCS_MIN+=	CodeGen/GlobalISel/CSEInfo.cpp
213SRCS_MIN+=	CodeGen/GlobalISel/CSEMIRBuilder.cpp
214SRCS_MIN+=	CodeGen/GlobalISel/Combiner.cpp
215SRCS_MIN+=	CodeGen/GlobalISel/CombinerHelper.cpp
216SRCS_MIN+=	CodeGen/GlobalISel/CallLowering.cpp
217SRCS_MIN+=	CodeGen/GlobalISel/GISelChangeObserver.cpp
218SRCS_MIN+=	CodeGen/GlobalISel/GISelKnownBits.cpp
219SRCS_MIN+=	CodeGen/GlobalISel/GlobalISel.cpp
220SRCS_MIN+=	CodeGen/GlobalISel/IRTranslator.cpp
221SRCS_MIN+=	CodeGen/GlobalISel/InstructionSelect.cpp
222SRCS_MIN+=	CodeGen/GlobalISel/InstructionSelector.cpp
223SRCS_MIN+=	CodeGen/GlobalISel/LegalityPredicates.cpp
224SRCS_MIN+=	CodeGen/GlobalISel/LegalizeMutations.cpp
225SRCS_MIN+=	CodeGen/GlobalISel/Legalizer.cpp
226SRCS_MIN+=	CodeGen/GlobalISel/LegalizerHelper.cpp
227SRCS_MIN+=	CodeGen/GlobalISel/LegalizerInfo.cpp
228SRCS_MIN+=	CodeGen/GlobalISel/Localizer.cpp
229SRCS_MIN+=	CodeGen/GlobalISel/MachineIRBuilder.cpp
230SRCS_MIN+=	CodeGen/GlobalISel/RegBankSelect.cpp
231SRCS_MIN+=	CodeGen/GlobalISel/RegisterBank.cpp
232SRCS_MIN+=	CodeGen/GlobalISel/RegisterBankInfo.cpp
233SRCS_MIN+=	CodeGen/GlobalISel/Utils.cpp
234SRCS_MIN+=	CodeGen/GlobalMerge.cpp
235SRCS_MIN+=	CodeGen/HardwareLoops.cpp
236SRCS_MIN+=	CodeGen/IfConversion.cpp
237SRCS_MIN+=	CodeGen/ImplicitNullChecks.cpp
238SRCS_MIN+=	CodeGen/IndirectBrExpandPass.cpp
239SRCS_MIN+=	CodeGen/InlineSpiller.cpp
240SRCS_MIN+=	CodeGen/InterferenceCache.cpp
241SRCS_MIN+=	CodeGen/InterleavedAccessPass.cpp
242SRCS_MIN+=	CodeGen/InterleavedLoadCombinePass.cpp
243SRCS_MIN+=	CodeGen/IntrinsicLowering.cpp
244SRCS_MIN+=	CodeGen/LLVMTargetMachine.cpp
245SRCS_MIN+=	CodeGen/LatencyPriorityQueue.cpp
246SRCS_MIN+=	CodeGen/LazyMachineBlockFrequencyInfo.cpp
247SRCS_MIN+=	CodeGen/LexicalScopes.cpp
248SRCS_MIN+=	CodeGen/LiveDebugValues.cpp
249SRCS_MIN+=	CodeGen/LiveDebugVariables.cpp
250SRCS_MIN+=	CodeGen/LiveInterval.cpp
251SRCS_MIN+=	CodeGen/LiveIntervalUnion.cpp
252SRCS_MIN+=	CodeGen/LiveIntervals.cpp
253SRCS_MIN+=	CodeGen/LivePhysRegs.cpp
254SRCS_MIN+=	CodeGen/LiveRangeCalc.cpp
255SRCS_MIN+=	CodeGen/LiveRangeEdit.cpp
256SRCS_MIN+=	CodeGen/LiveRangeShrink.cpp
257SRCS_MIN+=	CodeGen/LiveRegMatrix.cpp
258SRCS_MIN+=	CodeGen/LiveRegUnits.cpp
259SRCS_MIN+=	CodeGen/LiveStacks.cpp
260SRCS_MIN+=	CodeGen/LiveVariables.cpp
261SRCS_MIN+=	CodeGen/LocalStackSlotAllocation.cpp
262SRCS_MIN+=	CodeGen/LoopTraversal.cpp
263SRCS_MIN+=	CodeGen/LowLevelType.cpp
264SRCS_MIN+=	CodeGen/LowerEmuTLS.cpp
265SRCS_MIN+=	CodeGen/MIRCanonicalizerPass.cpp
266SRCS_MIN+=	CodeGen/MIRNamerPass.cpp
267SRCS_EXT+=	CodeGen/MIRParser/MILexer.cpp
268SRCS_EXT+=	CodeGen/MIRParser/MIParser.cpp
269SRCS_EXT+=	CodeGen/MIRParser/MIRParser.cpp
270SRCS_MIN+=	CodeGen/MIRPrinter.cpp
271SRCS_MIN+=	CodeGen/MIRPrintingPass.cpp
272SRCS_MIN+=	CodeGen/MIRVRegNamerUtils.cpp
273SRCS_MIN+=	CodeGen/MachineBasicBlock.cpp
274SRCS_MIN+=	CodeGen/MachineBlockFrequencyInfo.cpp
275SRCS_MIN+=	CodeGen/MachineBlockPlacement.cpp
276SRCS_MIN+=	CodeGen/MachineBranchProbabilityInfo.cpp
277SRCS_MIN+=	CodeGen/MachineCSE.cpp
278SRCS_MIN+=	CodeGen/MachineCombiner.cpp
279SRCS_MIN+=	CodeGen/MachineCopyPropagation.cpp
280SRCS_MIN+=	CodeGen/MachineDominanceFrontier.cpp
281SRCS_MIN+=	CodeGen/MachineDominators.cpp
282SRCS_MIN+=	CodeGen/MachineFrameInfo.cpp
283SRCS_MIN+=	CodeGen/MachineFunction.cpp
284SRCS_MIN+=	CodeGen/MachineFunctionPass.cpp
285SRCS_MIN+=	CodeGen/MachineFunctionPrinterPass.cpp
286SRCS_MIN+=	CodeGen/MachineInstr.cpp
287SRCS_MIN+=	CodeGen/MachineInstrBundle.cpp
288SRCS_MIN+=	CodeGen/MachineLICM.cpp
289SRCS_MIN+=	CodeGen/MachineLoopInfo.cpp
290SRCS_MIN+=	CodeGen/MachineLoopUtils.cpp
291SRCS_MIN+=	CodeGen/MachineModuleInfo.cpp
292SRCS_MIN+=	CodeGen/MachineModuleInfoImpls.cpp
293SRCS_MIN+=	CodeGen/MachineOperand.cpp
294SRCS_MIN+=	CodeGen/MachineOptimizationRemarkEmitter.cpp
295SRCS_MIN+=	CodeGen/MachineOutliner.cpp
296SRCS_MIN+=	CodeGen/MachinePipeliner.cpp
297SRCS_MIN+=	CodeGen/MachinePostDominators.cpp
298SRCS_MIN+=	CodeGen/MachineRegionInfo.cpp
299SRCS_MIN+=	CodeGen/MachineRegisterInfo.cpp
300SRCS_MIN+=	CodeGen/MachineSSAUpdater.cpp
301SRCS_MIN+=	CodeGen/MachineScheduler.cpp
302SRCS_MIN+=	CodeGen/MachineSink.cpp
303SRCS_MIN+=	CodeGen/MachineSizeOpts.cpp
304SRCS_MIN+=	CodeGen/MachineTraceMetrics.cpp
305SRCS_MIN+=	CodeGen/MachineVerifier.cpp
306SRCS_MIN+=	CodeGen/MacroFusion.cpp
307SRCS_MIN+=	CodeGen/ModuloSchedule.cpp
308SRCS_MIN+=	CodeGen/OptimizePHIs.cpp
309SRCS_MIN+=	CodeGen/PHIElimination.cpp
310SRCS_MIN+=	CodeGen/PHIEliminationUtils.cpp
311SRCS_MIN+=	CodeGen/ParallelCG.cpp
312SRCS_MIN+=	CodeGen/PatchableFunction.cpp
313SRCS_MIN+=	CodeGen/PeepholeOptimizer.cpp
314SRCS_MIN+=	CodeGen/PostRAHazardRecognizer.cpp
315SRCS_MIN+=	CodeGen/PostRASchedulerList.cpp
316SRCS_MIN+=	CodeGen/PreISelIntrinsicLowering.cpp
317SRCS_MIN+=	CodeGen/ProcessImplicitDefs.cpp
318SRCS_MIN+=	CodeGen/PrologEpilogInserter.cpp
319SRCS_MIN+=	CodeGen/PseudoSourceValue.cpp
320SRCS_MIN+=	CodeGen/ReachingDefAnalysis.cpp
321SRCS_MIN+=	CodeGen/RegAllocBase.cpp
322SRCS_MIN+=	CodeGen/RegAllocBasic.cpp
323SRCS_MIN+=	CodeGen/RegAllocFast.cpp
324SRCS_MIN+=	CodeGen/RegAllocGreedy.cpp
325SRCS_MIN+=	CodeGen/RegAllocPBQP.cpp
326SRCS_MIN+=	CodeGen/RegUsageInfoCollector.cpp
327SRCS_MIN+=	CodeGen/RegUsageInfoPropagate.cpp
328SRCS_MIN+=	CodeGen/RegisterClassInfo.cpp
329SRCS_MIN+=	CodeGen/RegisterCoalescer.cpp
330SRCS_MIN+=	CodeGen/RegisterPressure.cpp
331SRCS_MIN+=	CodeGen/RegisterScavenging.cpp
332SRCS_MIN+=	CodeGen/RegisterUsageInfo.cpp
333SRCS_MIN+=	CodeGen/RenameIndependentSubregs.cpp
334SRCS_MIN+=	CodeGen/ResetMachineFunctionPass.cpp
335SRCS_MIN+=	CodeGen/SafeStack.cpp
336SRCS_MIN+=	CodeGen/SafeStackColoring.cpp
337SRCS_MIN+=	CodeGen/SafeStackLayout.cpp
338SRCS_MIN+=	CodeGen/ScalarizeMaskedMemIntrin.cpp
339SRCS_MIN+=	CodeGen/ScheduleDAG.cpp
340SRCS_MIN+=	CodeGen/ScheduleDAGInstrs.cpp
341SRCS_MIN+=	CodeGen/ScheduleDAGPrinter.cpp
342SRCS_MIN+=	CodeGen/ScoreboardHazardRecognizer.cpp
343SRCS_MIN+=	CodeGen/SelectionDAG/DAGCombiner.cpp
344SRCS_MIN+=	CodeGen/SelectionDAG/FastISel.cpp
345SRCS_MIN+=	CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
346SRCS_MIN+=	CodeGen/SelectionDAG/InstrEmitter.cpp
347SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeDAG.cpp
348SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
349SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
350SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypes.cpp
351SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
352SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorOps.cpp
353SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
354SRCS_MIN+=	CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
355SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGFast.cpp
356SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
357SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
358SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
359SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAG.cpp
360SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
361SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
362SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGDumper.cpp
363SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGISel.cpp
364SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
365SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
366SRCS_MIN+=	CodeGen/SelectionDAG/StatepointLowering.cpp
367SRCS_MIN+=	CodeGen/SelectionDAG/TargetLowering.cpp
368SRCS_MIN+=	CodeGen/ShadowStackGCLowering.cpp
369SRCS_MIN+=	CodeGen/ShrinkWrap.cpp
370SRCS_MIN+=	CodeGen/SjLjEHPrepare.cpp
371SRCS_MIN+=	CodeGen/SlotIndexes.cpp
372SRCS_MIN+=	CodeGen/SpillPlacement.cpp
373SRCS_MIN+=	CodeGen/SplitKit.cpp
374SRCS_MIN+=	CodeGen/StackColoring.cpp
375SRCS_MIN+=	CodeGen/StackMapLivenessAnalysis.cpp
376SRCS_MIN+=	CodeGen/StackMaps.cpp
377SRCS_MIN+=	CodeGen/StackProtector.cpp
378SRCS_MIN+=	CodeGen/StackSlotColoring.cpp
379SRCS_MIN+=	CodeGen/SwiftErrorValueTracking.cpp
380SRCS_MIN+=	CodeGen/SwitchLoweringUtils.cpp
381SRCS_MIN+=	CodeGen/TailDuplication.cpp
382SRCS_MIN+=	CodeGen/TailDuplicator.cpp
383SRCS_MIN+=	CodeGen/TargetFrameLoweringImpl.cpp
384SRCS_MIN+=	CodeGen/TargetInstrInfo.cpp
385SRCS_MIN+=	CodeGen/TargetLoweringBase.cpp
386SRCS_MIN+=	CodeGen/TargetLoweringObjectFileImpl.cpp
387SRCS_MIN+=	CodeGen/TargetOptionsImpl.cpp
388SRCS_MIN+=	CodeGen/TargetPassConfig.cpp
389SRCS_MIN+=	CodeGen/TargetRegisterInfo.cpp
390SRCS_MIN+=	CodeGen/TargetSchedule.cpp
391SRCS_MIN+=	CodeGen/TargetSubtargetInfo.cpp
392SRCS_MIN+=	CodeGen/TwoAddressInstructionPass.cpp
393SRCS_MIN+=	CodeGen/TypePromotion.cpp
394SRCS_MIN+=	CodeGen/UnreachableBlockElim.cpp
395SRCS_MIN+=	CodeGen/ValueTypes.cpp
396SRCS_MIN+=	CodeGen/VirtRegMap.cpp
397SRCS_MIN+=	CodeGen/WasmEHPrepare.cpp
398SRCS_MIN+=	CodeGen/WinEHPrepare.cpp
399SRCS_MIN+=	CodeGen/XRayInstrumentation.cpp
400SRCS_EXT+=	DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
401SRCS_MIN+=	DebugInfo/CodeView/CVSymbolVisitor.cpp
402SRCS_MIN+=	DebugInfo/CodeView/CVTypeVisitor.cpp
403SRCS_MIN+=	DebugInfo/CodeView/CodeViewError.cpp
404SRCS_MIN+=	DebugInfo/CodeView/CodeViewRecordIO.cpp
405SRCS_MIN+=	DebugInfo/CodeView/ContinuationRecordBuilder.cpp
406SRCS_EXT+=	DebugInfo/CodeView/DebugChecksumsSubsection.cpp
407SRCS_EXT+=	DebugInfo/CodeView/DebugCrossExSubsection.cpp
408SRCS_EXT+=	DebugInfo/CodeView/DebugCrossImpSubsection.cpp
409SRCS_EXT+=	DebugInfo/CodeView/DebugFrameDataSubsection.cpp
410SRCS_EXT+=	DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
411SRCS_EXT+=	DebugInfo/CodeView/DebugLinesSubsection.cpp
412SRCS_EXT+=	DebugInfo/CodeView/DebugStringTableSubsection.cpp
413SRCS_EXT+=	DebugInfo/CodeView/DebugSubsection.cpp
414SRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionRecord.cpp
415SRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionVisitor.cpp
416SRCS_EXT+=	DebugInfo/CodeView/DebugSymbolRVASubsection.cpp
417SRCS_EXT+=	DebugInfo/CodeView/DebugSymbolsSubsection.cpp
418SRCS_MIN+=	DebugInfo/CodeView/EnumTables.cpp
419SRCS_MIN+=	DebugInfo/CodeView/Formatters.cpp
420SRCS_MIN+=	DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
421SRCS_EXT+=	DebugInfo/CodeView/LazyRandomTypeCollection.cpp
422SRCS_MIN+=	DebugInfo/CodeView/Line.cpp
423SRCS_EXT+=	DebugInfo/CodeView/MergingTypeTableBuilder.cpp
424SRCS_MIN+=	DebugInfo/CodeView/RecordName.cpp
425SRCS_MIN+=	DebugInfo/CodeView/RecordSerialization.cpp
426SRCS_MIN+=	DebugInfo/CodeView/SimpleTypeSerializer.cpp
427SRCS_EXT+=	DebugInfo/CodeView/StringsAndChecksums.cpp
428SRCS_MIN+=	DebugInfo/CodeView/SymbolDumper.cpp
429SRCS_MIN+=	DebugInfo/CodeView/SymbolRecordMapping.cpp
430SRCS_EXT+=	DebugInfo/CodeView/SymbolSerializer.cpp
431SRCS_MIN+=	DebugInfo/CodeView/TypeDumpVisitor.cpp
432SRCS_MIN+=	DebugInfo/CodeView/TypeHashing.cpp
433SRCS_MIN+=	DebugInfo/CodeView/TypeIndex.cpp
434SRCS_MIN+=	DebugInfo/CodeView/TypeIndexDiscovery.cpp
435SRCS_EXT+=	DebugInfo/CodeView/TypeRecordHelpers.cpp
436SRCS_MIN+=	DebugInfo/CodeView/TypeRecordMapping.cpp
437SRCS_MIN+=	DebugInfo/CodeView/TypeStreamMerger.cpp
438SRCS_MIN+=	DebugInfo/CodeView/TypeTableCollection.cpp
439SRCS_MIW+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
440SRCS_MIW+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
441SRCS_MIW+=	DebugInfo/DWARF/DWARFAddressRange.cpp
442SRCS_MIW+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
443SRCS_MIW+=	DebugInfo/DWARF/DWARFContext.cpp
444SRCS_MIW+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
445SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
446SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAddr.cpp
447SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
448SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
449SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
450SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
451SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLine.cpp
452SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
453SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
454SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
455SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
456SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRnglists.cpp
457SRCS_MIW+=	DebugInfo/DWARF/DWARFDie.cpp
458SRCS_MIN+=	DebugInfo/DWARF/DWARFExpression.cpp
459SRCS_MIW+=	DebugInfo/DWARF/DWARFFormValue.cpp
460SRCS_MIW+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
461SRCS_MIW+=	DebugInfo/DWARF/DWARFListTable.cpp
462SRCS_MIW+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
463SRCS_MIW+=	DebugInfo/DWARF/DWARFUnit.cpp
464SRCS_MIW+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
465SRCS_MIW+=	DebugInfo/DWARF/DWARFVerifier.cpp
466SRCS_MIN+=	DebugInfo/MSF/MSFBuilder.cpp
467SRCS_MIN+=	DebugInfo/MSF/MSFCommon.cpp
468SRCS_EXT+=	DebugInfo/MSF/MSFError.cpp
469SRCS_MIN+=	DebugInfo/MSF/MappedBlockStream.cpp
470SRCS_EXT+=	DebugInfo/PDB/GenericError.cpp
471SRCS_EXT+=	DebugInfo/PDB/IPDBSourceFile.cpp
472SRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
473SRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
474SRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleList.cpp
475SRCS_EXT+=	DebugInfo/PDB/Native/DbiStream.cpp
476SRCS_EXT+=	DebugInfo/PDB/Native/DbiStreamBuilder.cpp
477SRCS_EXT+=	DebugInfo/PDB/Native/EnumTables.cpp
478SRCS_EXT+=	DebugInfo/PDB/Native/GSIStreamBuilder.cpp
479SRCS_EXT+=	DebugInfo/PDB/Native/GlobalsStream.cpp
480SRCS_EXT+=	DebugInfo/PDB/Native/Hash.cpp
481SRCS_EXT+=	DebugInfo/PDB/Native/HashTable.cpp
482SRCS_EXT+=	DebugInfo/PDB/Native/InfoStream.cpp
483SRCS_EXT+=	DebugInfo/PDB/Native/InfoStreamBuilder.cpp
484SRCS_EXT+=	DebugInfo/PDB/Native/InjectedSourceStream.cpp
485SRCS_EXT+=	DebugInfo/PDB/Native/ModuleDebugStream.cpp
486SRCS_EXT+=	DebugInfo/PDB/Native/NamedStreamMap.cpp
487SRCS_EXT+=	DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
488SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumGlobals.cpp
489SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp
490SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumModules.cpp
491SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumTypes.cpp
492SRCS_EXT+=	DebugInfo/PDB/Native/NativeExeSymbol.cpp
493SRCS_EXT+=	DebugInfo/PDB/Native/NativeRawSymbol.cpp
494SRCS_EXT+=	DebugInfo/PDB/Native/NativeSession.cpp
495SRCS_EXT+=	DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp
496SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeArray.cpp
497SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeBuiltin.cpp
498SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeEnum.cpp
499SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeFunctionSig.cpp
500SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypePointer.cpp
501SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeTypedef.cpp
502SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeUDT.cpp
503SRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeVTShape.cpp
504SRCS_EXT+=	DebugInfo/PDB/Native/PDBFile.cpp
505SRCS_EXT+=	DebugInfo/PDB/Native/PDBFileBuilder.cpp
506SRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTable.cpp
507SRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
508SRCS_EXT+=	DebugInfo/PDB/Native/PublicsStream.cpp
509SRCS_EXT+=	DebugInfo/PDB/Native/RawError.cpp
510SRCS_EXT+=	DebugInfo/PDB/Native/SymbolCache.cpp
511SRCS_EXT+=	DebugInfo/PDB/Native/SymbolStream.cpp
512SRCS_EXT+=	DebugInfo/PDB/Native/TpiHashing.cpp
513SRCS_EXT+=	DebugInfo/PDB/Native/TpiStream.cpp
514SRCS_EXT+=	DebugInfo/PDB/Native/TpiStreamBuilder.cpp
515SRCS_EXT+=	DebugInfo/PDB/PDB.cpp
516SRCS_EXT+=	DebugInfo/PDB/PDBContext.cpp
517SRCS_EXT+=	DebugInfo/PDB/PDBExtras.cpp
518SRCS_EXT+=	DebugInfo/PDB/PDBInterfaceAnchors.cpp
519SRCS_EXT+=	DebugInfo/PDB/PDBSymDumper.cpp
520SRCS_EXT+=	DebugInfo/PDB/PDBSymbol.cpp
521SRCS_EXT+=	DebugInfo/PDB/PDBSymbolAnnotation.cpp
522SRCS_EXT+=	DebugInfo/PDB/PDBSymbolBlock.cpp
523SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompiland.cpp
524SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandDetails.cpp
525SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandEnv.cpp
526SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCustom.cpp
527SRCS_EXT+=	DebugInfo/PDB/PDBSymbolData.cpp
528SRCS_EXT+=	DebugInfo/PDB/PDBSymbolExe.cpp
529SRCS_EXT+=	DebugInfo/PDB/PDBSymbolFunc.cpp
530SRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp
531SRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp
532SRCS_EXT+=	DebugInfo/PDB/PDBSymbolLabel.cpp
533SRCS_EXT+=	DebugInfo/PDB/PDBSymbolPublicSymbol.cpp
534SRCS_EXT+=	DebugInfo/PDB/PDBSymbolThunk.cpp
535SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeArray.cpp
536SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp
537SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp
538SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeCustom.cpp
539SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeDimension.cpp
540SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeEnum.cpp
541SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFriend.cpp
542SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp
543SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
544SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeManaged.cpp
545SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypePointer.cpp
546SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeTypedef.cpp
547SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeUDT.cpp
548SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTable.cpp
549SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp
550SRCS_EXT+=	DebugInfo/PDB/PDBSymbolUnknown.cpp
551SRCS_EXT+=	DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
552SRCS_EXT+=	DebugInfo/PDB/UDTLayout.cpp
553SRCS_MIW+=	DebugInfo/Symbolize/DIPrinter.cpp
554SRCS_MIW+=	DebugInfo/Symbolize/SymbolizableObjectFile.cpp
555SRCS_MIW+=	DebugInfo/Symbolize/Symbolize.cpp
556SRCS_MIW+=	Demangle/Demangle.cpp
557SRCS_MIN+=	Demangle/ItaniumDemangle.cpp
558SRCS_MIW+=	Demangle/MicrosoftDemangle.cpp
559SRCS_MIW+=	Demangle/MicrosoftDemangleNodes.cpp
560SRCS_XDB+=	ExecutionEngine/ExecutionEngine.cpp
561SRCS_XDB+=	ExecutionEngine/ExecutionEngineBindings.cpp
562SRCS_XDB+=	ExecutionEngine/GDBRegistrationListener.cpp
563SRCS_XDB+=	ExecutionEngine/Interpreter/Execution.cpp
564SRCS_XDB+=	ExecutionEngine/Interpreter/ExternalFunctions.cpp
565SRCS_XDB+=	ExecutionEngine/Interpreter/Interpreter.cpp
566SRCS_EXT+=	ExecutionEngine/JITLink/EHFrameSupport.cpp
567SRCS_EXT+=	ExecutionEngine/JITLink/JITLink.cpp
568SRCS_EXT+=	ExecutionEngine/JITLink/JITLinkGeneric.cpp
569SRCS_EXT+=	ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
570SRCS_EXT+=	ExecutionEngine/JITLink/MachO.cpp
571SRCS_EXT+=	ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
572SRCS_EXT+=	ExecutionEngine/JITLink/MachO_arm64.cpp
573SRCS_EXT+=	ExecutionEngine/JITLink/MachO_x86_64.cpp
574SRCS_XDB+=	ExecutionEngine/MCJIT/MCJIT.cpp
575SRCS_EXT+=	ExecutionEngine/Orc/CompileOnDemandLayer.cpp
576SRCS_EXT+=	ExecutionEngine/Orc/CompileUtils.cpp
577SRCS_EXT+=	ExecutionEngine/Orc/Core.cpp
578SRCS_EXT+=	ExecutionEngine/Orc/ExecutionUtils.cpp
579SRCS_EXT+=	ExecutionEngine/Orc/IRCompileLayer.cpp
580SRCS_EXT+=	ExecutionEngine/Orc/IRTransformLayer.cpp
581SRCS_EXT+=	ExecutionEngine/Orc/IndirectionUtils.cpp
582SRCS_EXT+=	ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
583SRCS_EXT+=	ExecutionEngine/Orc/LLJIT.cpp
584SRCS_EXT+=	ExecutionEngine/Orc/Layer.cpp
585SRCS_EXT+=	ExecutionEngine/Orc/LazyReexports.cpp
586SRCS_EXT+=	ExecutionEngine/Orc/Legacy.cpp
587SRCS_EXT+=	ExecutionEngine/Orc/NullResolver.cpp
588SRCS_EXT+=	ExecutionEngine/Orc/ObjectLinkingLayer.cpp
589SRCS_EXT+=	ExecutionEngine/Orc/ObjectTransformLayer.cpp
590SRCS_EXT+=	ExecutionEngine/Orc/OrcABISupport.cpp
591SRCS_EXT+=	ExecutionEngine/Orc/OrcCBindings.cpp
592SRCS_EXT+=	ExecutionEngine/Orc/OrcMCJITReplacement.cpp
593SRCS_EXT+=	ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
594SRCS_EXT+=	ExecutionEngine/Orc/Speculation.cpp
595SRCS_EXT+=	ExecutionEngine/Orc/ThreadSafeModule.cpp
596SRCS_EXT+=	ExecutionEngine/OrcError/OrcError.cpp
597SRCS_EXT+=	ExecutionEngine/OrcError/RPCError.cpp
598SRCS_XDB+=	ExecutionEngine/RuntimeDyld/JITSymbol.cpp
599SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
600SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
601SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
602SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
603SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
604SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
605SRCS_XDB+=	ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
606SRCS_XDB+=	ExecutionEngine/SectionMemoryManager.cpp
607SRCS_XDB+=	ExecutionEngine/TargetSelect.cpp
608SRCS_MIN+=	Frontend/OpenMP/OMPConstants.cpp
609SRCS_MIN+=	Frontend/OpenMP/OMPIRBuilder.cpp
610SRCS_MIN+=	IR/AbstractCallSite.cpp
611SRCS_MIN+=	IR/AsmWriter.cpp
612SRCS_MIN+=	IR/Attributes.cpp
613SRCS_MIN+=	IR/AutoUpgrade.cpp
614SRCS_MIN+=	IR/BasicBlock.cpp
615SRCS_MIN+=	IR/Comdat.cpp
616SRCS_MIN+=	IR/ConstantFold.cpp
617SRCS_MIN+=	IR/ConstantRange.cpp
618SRCS_MIN+=	IR/Constants.cpp
619SRCS_MIN+=	IR/Core.cpp
620SRCS_MIN+=	IR/DIBuilder.cpp
621SRCS_MIN+=	IR/DataLayout.cpp
622SRCS_MIN+=	IR/DebugInfo.cpp
623SRCS_MIN+=	IR/DebugInfoMetadata.cpp
624SRCS_MIN+=	IR/DebugLoc.cpp
625SRCS_MIN+=	IR/DiagnosticHandler.cpp
626SRCS_MIN+=	IR/DiagnosticInfo.cpp
627SRCS_MIN+=	IR/DiagnosticPrinter.cpp
628SRCS_MIN+=	IR/Dominators.cpp
629SRCS_MIN+=	IR/FPEnv.cpp
630SRCS_MIN+=	IR/Function.cpp
631SRCS_MIN+=	IR/GVMaterializer.cpp
632SRCS_MIN+=	IR/Globals.cpp
633SRCS_MIN+=	IR/IRBuilder.cpp
634SRCS_MIN+=	IR/IRPrintingPasses.cpp
635SRCS_MIN+=	IR/InlineAsm.cpp
636SRCS_MIN+=	IR/Instruction.cpp
637SRCS_MIN+=	IR/Instructions.cpp
638SRCS_MIN+=	IR/IntrinsicInst.cpp
639SRCS_MIN+=	IR/LLVMContext.cpp
640SRCS_MIN+=	IR/LLVMContextImpl.cpp
641SRCS_MIN+=	IR/LegacyPassManager.cpp
642SRCS_MIN+=	IR/MDBuilder.cpp
643SRCS_MIN+=	IR/Mangler.cpp
644SRCS_MIN+=	IR/Metadata.cpp
645SRCS_MIN+=	IR/Module.cpp
646SRCS_MIN+=	IR/ModuleSummaryIndex.cpp
647SRCS_MIN+=	IR/Operator.cpp
648SRCS_MIN+=	IR/OptBisect.cpp
649SRCS_MIN+=	IR/Pass.cpp
650SRCS_MIN+=	IR/PassInstrumentation.cpp
651SRCS_MIN+=	IR/PassManager.cpp
652SRCS_MIN+=	IR/PassRegistry.cpp
653SRCS_MIN+=	IR/PassTimingInfo.cpp
654SRCS_MIN+=	IR/ProfileSummary.cpp
655SRCS_MIN+=	IR/RemarkStreamer.cpp
656SRCS_MIN+=	IR/SafepointIRVerifier.cpp
657SRCS_MIN+=	IR/Statepoint.cpp
658SRCS_MIN+=	IR/Type.cpp
659SRCS_MIN+=	IR/TypeFinder.cpp
660SRCS_MIN+=	IR/Use.cpp
661SRCS_MIN+=	IR/User.cpp
662SRCS_MIN+=	IR/Value.cpp
663SRCS_MIN+=	IR/ValueSymbolTable.cpp
664SRCS_MIN+=	IR/Verifier.cpp
665SRCS_MIN+=	IRReader/IRReader.cpp
666SRCS_EXL+=	LTO/Caching.cpp
667SRCS_MIN+=	LTO/LTO.cpp
668SRCS_MIN+=	LTO/LTOBackend.cpp
669SRCS_EXL+=	LTO/LTOCodeGenerator.cpp
670SRCS_EXL+=	LTO/LTOModule.cpp
671SRCS_EXL+=	LTO/SummaryBasedOptimizations.cpp
672SRCS_EXL+=	LTO/ThinLTOCodeGenerator.cpp
673SRCS_MIN+=	LTO/UpdateCompilerUsed.cpp
674SRCS_MIN+=	LineEditor/LineEditor.cpp
675SRCS_MIN+=	Linker/IRMover.cpp
676SRCS_MIN+=	Linker/LinkModules.cpp
677SRCS_MIN+=	MC/ConstantPools.cpp
678SRCS_MIN+=	MC/ELFObjectWriter.cpp
679SRCS_MIN+=	MC/MCAsmBackend.cpp
680SRCS_MIN+=	MC/MCAsmInfo.cpp
681SRCS_MIN+=	MC/MCAsmInfoCOFF.cpp
682SRCS_MIN+=	MC/MCAsmInfoDarwin.cpp
683SRCS_MIN+=	MC/MCAsmInfoELF.cpp
684SRCS_MIN+=	MC/MCAsmInfoXCOFF.cpp
685SRCS_MIN+=	MC/MCAsmMacro.cpp
686SRCS_MIN+=	MC/MCAsmStreamer.cpp
687SRCS_MIN+=	MC/MCAssembler.cpp
688SRCS_MIN+=	MC/MCCodeEmitter.cpp
689SRCS_MIN+=	MC/MCCodeView.cpp
690SRCS_MIN+=	MC/MCContext.cpp
691SRCS_XDL+=	MC/MCDisassembler/Disassembler.cpp
692SRCS_XDW+=	MC/MCDisassembler/MCDisassembler.cpp
693SRCS_XDW+=	MC/MCDisassembler/MCExternalSymbolizer.cpp
694SRCS_MIN+=	MC/MCDisassembler/MCRelocationInfo.cpp
695SRCS_XDW+=	MC/MCDisassembler/MCSymbolizer.cpp
696SRCS_MIN+=	MC/MCDwarf.cpp
697SRCS_MIN+=	MC/MCELFObjectTargetWriter.cpp
698SRCS_MIN+=	MC/MCELFStreamer.cpp
699SRCS_MIN+=	MC/MCExpr.cpp
700SRCS_MIN+=	MC/MCFragment.cpp
701SRCS_MIN+=	MC/MCInst.cpp
702SRCS_MIN+=	MC/MCInstPrinter.cpp
703SRCS_MIN+=	MC/MCInstrAnalysis.cpp
704SRCS_MIN+=	MC/MCInstrDesc.cpp
705SRCS_MIN+=	MC/MCLinkerOptimizationHint.cpp
706SRCS_MIN+=	MC/MCMachOStreamer.cpp
707SRCS_MIN+=	MC/MCMachObjectTargetWriter.cpp
708SRCS_MIN+=	MC/MCNullStreamer.cpp
709SRCS_MIN+=	MC/MCObjectFileInfo.cpp
710SRCS_MIN+=	MC/MCObjectStreamer.cpp
711SRCS_MIN+=	MC/MCObjectWriter.cpp
712SRCS_MIN+=	MC/MCParser/AsmLexer.cpp
713SRCS_MIN+=	MC/MCParser/AsmParser.cpp
714SRCS_MIN+=	MC/MCParser/COFFAsmParser.cpp
715SRCS_MIN+=	MC/MCParser/DarwinAsmParser.cpp
716SRCS_MIN+=	MC/MCParser/ELFAsmParser.cpp
717SRCS_MIN+=	MC/MCParser/MCAsmLexer.cpp
718SRCS_MIN+=	MC/MCParser/MCAsmParser.cpp
719SRCS_MIN+=	MC/MCParser/MCAsmParserExtension.cpp
720SRCS_MIN+=	MC/MCParser/MCTargetAsmParser.cpp
721SRCS_MIN+=	MC/MCParser/WasmAsmParser.cpp
722SRCS_MIN+=	MC/MCRegisterInfo.cpp
723SRCS_MIN+=	MC/MCSchedule.cpp
724SRCS_MIN+=	MC/MCSection.cpp
725SRCS_MIN+=	MC/MCSectionCOFF.cpp
726SRCS_MIN+=	MC/MCSectionELF.cpp
727SRCS_MIN+=	MC/MCSectionMachO.cpp
728SRCS_MIN+=	MC/MCSectionWasm.cpp
729SRCS_MIN+=	MC/MCSectionXCOFF.cpp
730SRCS_MIN+=	MC/MCStreamer.cpp
731SRCS_MIN+=	MC/MCSubtargetInfo.cpp
732SRCS_MIN+=	MC/MCSymbol.cpp
733SRCS_MIN+=	MC/MCSymbolELF.cpp
734SRCS_MIN+=	MC/MCTargetOptions.cpp
735SRCS_MIN+=	MC/MCValue.cpp
736SRCS_MIN+=	MC/MCWasmStreamer.cpp
737SRCS_MIN+=	MC/MCWin64EH.cpp
738SRCS_MIN+=	MC/MCWinCOFFStreamer.cpp
739SRCS_MIN+=	MC/MCWinEH.cpp
740SRCS_MIN+=	MC/MCXCOFFStreamer.cpp
741SRCS_MIN+=	MC/MCXCOFFObjectTargetWriter.cpp
742SRCS_MIN+=	MC/MachObjectWriter.cpp
743SRCS_MIN+=	MC/StringTableBuilder.cpp
744SRCS_MIN+=	MC/SubtargetFeature.cpp
745SRCS_MIN+=	MC/WasmObjectWriter.cpp
746SRCS_MIN+=	MC/WinCOFFObjectWriter.cpp
747SRCS_MIN+=	MC/XCOFFObjectWriter.cpp
748SRCS_EXT+=	MCA/CodeEmitter.cpp
749SRCS_EXT+=	MCA/Context.cpp
750SRCS_EXT+=	MCA/HWEventListener.cpp
751SRCS_EXT+=	MCA/HardwareUnits/HardwareUnit.cpp
752SRCS_EXT+=	MCA/HardwareUnits/LSUnit.cpp
753SRCS_EXT+=	MCA/HardwareUnits/RegisterFile.cpp
754SRCS_EXT+=	MCA/HardwareUnits/ResourceManager.cpp
755SRCS_EXT+=	MCA/HardwareUnits/RetireControlUnit.cpp
756SRCS_EXT+=	MCA/HardwareUnits/Scheduler.cpp
757SRCS_EXT+=	MCA/InstrBuilder.cpp
758SRCS_EXT+=	MCA/Instruction.cpp
759SRCS_EXT+=	MCA/Pipeline.cpp
760SRCS_EXT+=	MCA/Stages/DispatchStage.cpp
761SRCS_EXT+=	MCA/Stages/EntryStage.cpp
762SRCS_EXT+=	MCA/Stages/ExecuteStage.cpp
763SRCS_EXT+=	MCA/Stages/InstructionTables.cpp
764SRCS_EXT+=	MCA/Stages/MicroOpQueueStage.cpp
765SRCS_EXT+=	MCA/Stages/RetireStage.cpp
766SRCS_EXT+=	MCA/Stages/Stage.cpp
767SRCS_EXT+=	MCA/Support.cpp
768SRCS_MIN+=	Object/Archive.cpp
769SRCS_MIN+=	Object/ArchiveWriter.cpp
770SRCS_MIN+=	Object/Binary.cpp
771SRCS_MIN+=	Object/COFFImportFile.cpp
772SRCS_MIW+=	Object/COFFModuleDefinition.cpp
773SRCS_MIN+=	Object/COFFObjectFile.cpp
774SRCS_MIN+=	Object/Decompressor.cpp
775SRCS_MIN+=	Object/ELF.cpp
776SRCS_MIN+=	Object/ELFObjectFile.cpp
777SRCS_MIN+=	Object/Error.cpp
778SRCS_MIN+=	Object/IRObjectFile.cpp
779SRCS_MIN+=	Object/IRSymtab.cpp
780SRCS_MIN+=	Object/MachOObjectFile.cpp
781SRCS_MIW+=	Object/MachOUniversal.cpp
782SRCS_MIW+=	Object/Minidump.cpp
783SRCS_MIN+=	Object/ModuleSymbolTable.cpp
784SRCS_EXT+=	Object/Object.cpp
785SRCS_MIN+=	Object/ObjectFile.cpp
786SRCS_MIN+=	Object/RecordStreamer.cpp
787SRCS_MIW+=	Object/RelocationResolver.cpp
788SRCS_MIW+=	Object/SymbolSize.cpp
789SRCS_MIN+=	Object/SymbolicFile.cpp
790SRCS_MIW+=	Object/TapiUniversal.cpp
791SRCS_MIN+=	Object/WasmObjectFile.cpp
792SRCS_MIW+=	Object/WindowsMachineFlag.cpp
793SRCS_MIN+=	Object/WindowsResource.cpp
794SRCS_MIN+=	Object/XCOFFObjectFile.cpp
795SRCS_MIN+=	ObjectYAML/COFFYAML.cpp
796SRCS_EXT+=	ObjectYAML/CodeViewYAMLDebugSections.cpp
797SRCS_EXT+=	ObjectYAML/CodeViewYAMLSymbols.cpp
798SRCS_EXT+=	ObjectYAML/CodeViewYAMLTypes.cpp
799SRCS_MIN+=	ObjectYAML/DWARFYAML.cpp
800SRCS_MIN+=	ObjectYAML/ELFYAML.cpp
801SRCS_MIN+=	ObjectYAML/MachOYAML.cpp
802SRCS_EXT+=	ObjectYAML/YAML.cpp
803SRCS_MIN+=	Option/Arg.cpp
804SRCS_MIN+=	Option/ArgList.cpp
805SRCS_MIN+=	Option/OptTable.cpp
806SRCS_MIN+=	Option/Option.cpp
807SRCS_MIN+=	Passes/PassBuilder.cpp
808SRCS_MIN+=	Passes/PassPlugin.cpp
809SRCS_MIN+=	Passes/StandardInstrumentations.cpp
810SRCS_MIN+=	ProfileData/Coverage/CoverageMapping.cpp
811SRCS_MIN+=	ProfileData/Coverage/CoverageMappingReader.cpp
812SRCS_MIN+=	ProfileData/Coverage/CoverageMappingWriter.cpp
813SRCS_MIN+=	ProfileData/GCOV.cpp
814SRCS_MIN+=	ProfileData/InstrProf.cpp
815SRCS_MIN+=	ProfileData/InstrProfReader.cpp
816SRCS_MIN+=	ProfileData/InstrProfWriter.cpp
817SRCS_MIN+=	ProfileData/ProfileSummaryBuilder.cpp
818SRCS_MIN+=	ProfileData/SampleProf.cpp
819SRCS_MIN+=	ProfileData/SampleProfReader.cpp
820SRCS_MIN+=	ProfileData/SampleProfWriter.cpp
821SRCS_MIN+=	Remarks/BitstreamRemarkSerializer.cpp
822SRCS_MIN+=	Remarks/RemarkFormat.cpp
823SRCS_MIN+=	Remarks/RemarkSerializer.cpp
824SRCS_MIN+=	Remarks/RemarkStringTable.cpp
825SRCS_MIN+=	Remarks/YAMLRemarkSerializer.cpp
826SRCS_MIN+=	Support/AArch64TargetParser.cpp
827SRCS_MIN+=	Support/ABIBreak.cpp
828SRCS_MIN+=	Support/APFloat.cpp
829SRCS_MIN+=	Support/APInt.cpp
830SRCS_MIN+=	Support/APSInt.cpp
831SRCS_MIN+=	Support/ARMAttributeParser.cpp
832SRCS_MIN+=	Support/ARMBuildAttrs.cpp
833SRCS_MIN+=	Support/ARMTargetParser.cpp
834SRCS_MIN+=	Support/Allocator.cpp
835SRCS_MIN+=	Support/BinaryStreamError.cpp
836SRCS_MIN+=	Support/BinaryStreamReader.cpp
837SRCS_MIN+=	Support/BinaryStreamRef.cpp
838SRCS_MIN+=	Support/BinaryStreamWriter.cpp
839SRCS_MIN+=	Support/BlockFrequency.cpp
840SRCS_MIN+=	Support/BranchProbability.cpp
841SRCS_MIN+=	Support/BuryPointer.cpp
842SRCS_MIN+=	Support/CachePruning.cpp
843SRCS_MIW+=	Support/COM.cpp
844SRCS_MIN+=	Support/CRC.cpp
845SRCS_MIN+=	Support/Chrono.cpp
846SRCS_MIN+=	Support/CodeGenCoverage.cpp
847SRCS_MIN+=	Support/CommandLine.cpp
848SRCS_MIN+=	Support/Compression.cpp
849SRCS_MIN+=	Support/ConvertUTF.cpp
850SRCS_MIN+=	Support/ConvertUTFWrapper.cpp
851SRCS_MIN+=	Support/CrashRecoveryContext.cpp
852SRCS_MIN+=	Support/DAGDeltaAlgorithm.cpp
853SRCS_MIN+=	Support/DJB.cpp
854SRCS_MIN+=	Support/DataExtractor.cpp
855SRCS_MIN+=	Support/Debug.cpp
856SRCS_MIN+=	Support/DebugCounter.cpp
857SRCS_MIN+=	Support/DeltaAlgorithm.cpp
858SRCS_MIN+=	Support/DynamicLibrary.cpp
859SRCS_MIN+=	Support/Errno.cpp
860SRCS_MIN+=	Support/Error.cpp
861SRCS_MIN+=	Support/ErrorHandling.cpp
862SRCS_XDB+=	Support/FileCollector.cpp
863SRCS_EXL+=	Support/FileOutputBuffer.cpp
864SRCS_MIN+=	Support/FileUtilities.cpp
865SRCS_MIN+=	Support/FoldingSet.cpp
866SRCS_MIN+=	Support/FormatVariadic.cpp
867SRCS_MIN+=	Support/FormattedStream.cpp
868SRCS_MIN+=	Support/GlobPattern.cpp
869SRCS_MIN+=	Support/GraphWriter.cpp
870SRCS_MIN+=	Support/Hashing.cpp
871SRCS_MIN+=	Support/Host.cpp
872SRCS_MIN+=	Support/InitLLVM.cpp
873SRCS_MIN+=	Support/IntEqClasses.cpp
874SRCS_MIN+=	Support/IntervalMap.cpp
875SRCS_MIN+=	Support/ItaniumManglingCanonicalizer.cpp
876SRCS_MIN+=	Support/JSON.cpp
877SRCS_MIN+=	Support/KnownBits.cpp
878SRCS_MIN+=	Support/LEB128.cpp
879SRCS_MIN+=	Support/LineIterator.cpp
880SRCS_MIN+=	Support/Locale.cpp
881SRCS_MIN+=	Support/LockFileManager.cpp
882SRCS_MIN+=	Support/LowLevelType.cpp
883SRCS_MIN+=	Support/MD5.cpp
884SRCS_MIN+=	Support/ManagedStatic.cpp
885SRCS_MIN+=	Support/MathExtras.cpp
886SRCS_XDL+=	Support/Memory.cpp
887SRCS_MIN+=	Support/MemoryBuffer.cpp
888SRCS_MIN+=	Support/NativeFormatting.cpp
889SRCS_MIN+=	Support/Optional.cpp
890SRCS_LLD+=	Support/Parallel.cpp
891SRCS_MIN+=	Support/Path.cpp
892SRCS_MIN+=	Support/PluginLoader.cpp
893SRCS_MIN+=	Support/PrettyStackTrace.cpp
894SRCS_MIN+=	Support/Process.cpp
895SRCS_MIN+=	Support/Program.cpp
896SRCS_MIN+=	Support/RWMutex.cpp
897SRCS_MIN+=	Support/RandomNumberGenerator.cpp
898SRCS_MIN+=	Support/Regex.cpp
899SRCS_MIN+=	Support/SHA1.cpp
900SRCS_MIN+=	Support/ScaledNumber.cpp
901SRCS_MIN+=	Support/ScopedPrinter.cpp
902SRCS_MIN+=	Support/Signals.cpp
903SRCS_MIN+=	Support/Signposts.cpp
904SRCS_MIN+=	Support/SmallPtrSet.cpp
905SRCS_MIN+=	Support/SmallVector.cpp
906SRCS_MIN+=	Support/SourceMgr.cpp
907SRCS_MIN+=	Support/SpecialCaseList.cpp
908SRCS_MIN+=	Support/Statistic.cpp
909SRCS_MIN+=	Support/StringExtras.cpp
910SRCS_MIN+=	Support/StringMap.cpp
911SRCS_MIN+=	Support/StringRef.cpp
912SRCS_MIN+=	Support/StringSaver.cpp
913SRCS_MIN+=	Support/SymbolRemappingReader.cpp
914SRCS_EXT+=	Support/SystemUtils.cpp
915SRCS_LLD+=	Support/TarWriter.cpp
916SRCS_MIN+=	Support/TargetParser.cpp
917SRCS_MIN+=	Support/TargetRegistry.cpp
918SRCS_MIN+=	Support/ThreadLocal.cpp
919SRCS_MIW+=	Support/ThreadPool.cpp
920SRCS_MIN+=	Support/Threading.cpp
921SRCS_MIN+=	Support/TimeProfiler.cpp
922SRCS_MIN+=	Support/Timer.cpp
923SRCS_MIN+=	Support/ToolOutputFile.cpp
924SRCS_MIN+=	Support/TrigramIndex.cpp
925SRCS_MIN+=	Support/Triple.cpp
926SRCS_MIN+=	Support/Twine.cpp
927SRCS_MIN+=	Support/Unicode.cpp
928SRCS_MIN+=	Support/UnicodeCaseFold.cpp
929SRCS_MIN+=	Support/Valgrind.cpp
930SRCS_MIN+=	Support/VirtualFileSystem.cpp
931SRCS_MIN+=	Support/VersionTuple.cpp
932SRCS_MIN+=	Support/Watchdog.cpp
933SRCS_MIN+=	Support/WithColor.cpp
934SRCS_MIN+=	Support/YAMLParser.cpp
935SRCS_MIN+=	Support/YAMLTraits.cpp
936SRCS_FUL+=	Support/Z3Solver.cpp
937SRCS_MIN+=	Support/circular_raw_ostream.cpp
938SRCS_MIN+=	Support/raw_os_ostream.cpp
939SRCS_MIN+=	Support/raw_ostream.cpp
940SRCS_MIN+=	Support/regcomp.c
941SRCS_MIN+=	Support/regerror.c
942SRCS_MIN+=	Support/regexec.c
943SRCS_MIN+=	Support/regfree.c
944SRCS_MIN+=	Support/regstrlcpy.c
945SRCS_MIN+=	Support/xxhash.cpp
946SRCS_MIN+=	TableGen/Error.cpp
947SRCS_MIN+=	TableGen/JSONBackend.cpp
948SRCS_MIN+=	TableGen/Main.cpp
949SRCS_MIN+=	TableGen/Record.cpp
950SRCS_MIN+=	TableGen/SetTheory.cpp
951SRCS_MIN+=	TableGen/StringMatcher.cpp
952SRCS_MIN+=	TableGen/TGLexer.cpp
953SRCS_MIN+=	TableGen/TGParser.cpp
954SRCS_MIN+=	TableGen/TableGenBackend.cpp
955.if ${MK_LLVM_TARGET_AARCH64} != "no"
956SRCS_MIN+=	Target/AArch64/AArch64A53Fix835769.cpp
957SRCS_MIN+=	Target/AArch64/AArch64A57FPLoadBalancing.cpp
958SRCS_MIN+=	Target/AArch64/AArch64AdvSIMDScalarPass.cpp
959SRCS_MIN+=	Target/AArch64/AArch64AsmPrinter.cpp
960SRCS_MIN+=	Target/AArch64/AArch64BranchTargets.cpp
961SRCS_MIN+=	Target/AArch64/AArch64CallLowering.cpp
962SRCS_MIN+=	Target/AArch64/AArch64CallingConvention.cpp
963SRCS_MIN+=	Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
964SRCS_MIN+=	Target/AArch64/AArch64CollectLOH.cpp
965SRCS_MIN+=	Target/AArch64/AArch64CompressJumpTables.cpp
966SRCS_MIN+=	Target/AArch64/AArch64CondBrTuning.cpp
967SRCS_MIN+=	Target/AArch64/AArch64ConditionOptimizer.cpp
968SRCS_MIN+=	Target/AArch64/AArch64ConditionalCompares.cpp
969SRCS_MIN+=	Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
970SRCS_MIN+=	Target/AArch64/AArch64ExpandImm.cpp
971SRCS_MIN+=	Target/AArch64/AArch64ExpandPseudoInsts.cpp
972SRCS_MIN+=	Target/AArch64/AArch64FalkorHWPFFix.cpp
973SRCS_MIN+=	Target/AArch64/AArch64FastISel.cpp
974SRCS_MIN+=	Target/AArch64/AArch64FrameLowering.cpp
975SRCS_MIN+=	Target/AArch64/AArch64ISelDAGToDAG.cpp
976SRCS_MIN+=	Target/AArch64/AArch64ISelLowering.cpp
977SRCS_MIN+=	Target/AArch64/AArch64InstrInfo.cpp
978SRCS_MIN+=	Target/AArch64/AArch64InstructionSelector.cpp
979SRCS_MIN+=	Target/AArch64/AArch64LegalizerInfo.cpp
980SRCS_MIN+=	Target/AArch64/AArch64LoadStoreOptimizer.cpp
981SRCS_MIN+=	Target/AArch64/AArch64MCInstLower.cpp
982SRCS_MIN+=	Target/AArch64/AArch64MacroFusion.cpp
983SRCS_MIN+=	Target/AArch64/AArch64PBQPRegAlloc.cpp
984SRCS_MIN+=	Target/AArch64/AArch64PreLegalizerCombiner.cpp
985SRCS_MIN+=	Target/AArch64/AArch64PromoteConstant.cpp
986SRCS_MIN+=	Target/AArch64/AArch64RedundantCopyElimination.cpp
987SRCS_MIN+=	Target/AArch64/AArch64RegisterBankInfo.cpp
988SRCS_MIN+=	Target/AArch64/AArch64RegisterInfo.cpp
989SRCS_MIN+=	Target/AArch64/AArch64SIMDInstrOpt.cpp
990SRCS_MIN+=	Target/AArch64/AArch64SelectionDAGInfo.cpp
991SRCS_MIN+=	Target/AArch64/AArch64SpeculationHardening.cpp
992SRCS_MIN+=	Target/AArch64/AArch64StackTagging.cpp
993SRCS_MIN+=	Target/AArch64/AArch64StackTaggingPreRA.cpp
994SRCS_MIN+=	Target/AArch64/AArch64StorePairSuppress.cpp
995SRCS_MIN+=	Target/AArch64/AArch64Subtarget.cpp
996SRCS_MIN+=	Target/AArch64/AArch64TargetMachine.cpp
997SRCS_MIN+=	Target/AArch64/AArch64TargetObjectFile.cpp
998SRCS_MIN+=	Target/AArch64/AArch64TargetTransformInfo.cpp
999SRCS_MIN+=	Target/AArch64/AsmParser/AArch64AsmParser.cpp
1000SRCS_XDW+=	Target/AArch64/Disassembler/AArch64Disassembler.cpp
1001SRCS_XDW+=	Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
1002SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
1003SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
1004SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
1005SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
1006SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
1007SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
1008SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
1009SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
1010SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
1011SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
1012SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
1013SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
1014SRCS_MIN+=	Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
1015SRCS_MIN+=	Target/AArch64/Utils/AArch64BaseInfo.cpp
1016.endif # MK_LLVM_TARGET_AARCH64
1017.if ${MK_LLVM_TARGET_ARM} != "no"
1018SRCS_MIN+=	Target/ARM/A15SDOptimizer.cpp
1019SRCS_MIN+=	Target/ARM/ARMAsmPrinter.cpp
1020SRCS_MIN+=	Target/ARM/ARMBaseInstrInfo.cpp
1021SRCS_MIN+=	Target/ARM/ARMBaseRegisterInfo.cpp
1022SRCS_MIN+=	Target/ARM/ARMBasicBlockInfo.cpp
1023SRCS_MIN+=	Target/ARM/ARMCallLowering.cpp
1024SRCS_MIN+=	Target/ARM/ARMCallingConv.cpp
1025SRCS_MIN+=	Target/ARM/ARMConstantIslandPass.cpp
1026SRCS_MIN+=	Target/ARM/ARMConstantPoolValue.cpp
1027SRCS_MIN+=	Target/ARM/ARMExpandPseudoInsts.cpp
1028SRCS_MIN+=	Target/ARM/ARMFastISel.cpp
1029SRCS_MIN+=	Target/ARM/ARMFrameLowering.cpp
1030SRCS_MIN+=	Target/ARM/ARMHazardRecognizer.cpp
1031SRCS_MIN+=	Target/ARM/ARMISelDAGToDAG.cpp
1032SRCS_MIN+=	Target/ARM/ARMISelLowering.cpp
1033SRCS_MIN+=	Target/ARM/ARMInstrInfo.cpp
1034SRCS_MIN+=	Target/ARM/ARMInstructionSelector.cpp
1035SRCS_MIN+=	Target/ARM/ARMLegalizerInfo.cpp
1036SRCS_MIN+=	Target/ARM/ARMLoadStoreOptimizer.cpp
1037SRCS_MIN+=	Target/ARM/ARMLowOverheadLoops.cpp
1038SRCS_MIN+=	Target/ARM/ARMMCInstLower.cpp
1039SRCS_MIN+=	Target/ARM/ARMMachineFunctionInfo.cpp
1040SRCS_MIN+=	Target/ARM/ARMMacroFusion.cpp
1041SRCS_MIN+=	Target/ARM/ARMOptimizeBarriersPass.cpp
1042SRCS_MIN+=	Target/ARM/ARMParallelDSP.cpp
1043SRCS_MIN+=	Target/ARM/ARMRegisterBankInfo.cpp
1044SRCS_MIN+=	Target/ARM/ARMRegisterInfo.cpp
1045SRCS_MIN+=	Target/ARM/ARMSelectionDAGInfo.cpp
1046SRCS_MIN+=	Target/ARM/ARMSubtarget.cpp
1047SRCS_MIN+=	Target/ARM/ARMTargetMachine.cpp
1048SRCS_MIN+=	Target/ARM/ARMTargetObjectFile.cpp
1049SRCS_MIN+=	Target/ARM/ARMTargetTransformInfo.cpp
1050SRCS_MIN+=	Target/ARM/AsmParser/ARMAsmParser.cpp
1051SRCS_MIN+=	Target/ARM/Disassembler/ARMDisassembler.cpp
1052SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
1053SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
1054SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
1055SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
1056SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
1057SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
1058SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCExpr.cpp
1059SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
1060SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
1061SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
1062SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
1063SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
1064SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
1065SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
1066SRCS_MIN+=	Target/ARM/MLxExpansionPass.cpp
1067SRCS_MIN+=	Target/ARM/MVEGatherScatterLowering.cpp
1068SRCS_MIN+=	Target/ARM/MVETailPredication.cpp
1069SRCS_MIN+=	Target/ARM/MVEVPTBlockPass.cpp
1070SRCS_MIN+=	Target/ARM/TargetInfo/ARMTargetInfo.cpp
1071SRCS_MIN+=	Target/ARM/Thumb1FrameLowering.cpp
1072SRCS_MIN+=	Target/ARM/Thumb1InstrInfo.cpp
1073SRCS_MIN+=	Target/ARM/Thumb2ITBlockPass.cpp
1074SRCS_MIN+=	Target/ARM/Thumb2InstrInfo.cpp
1075SRCS_MIN+=	Target/ARM/Thumb2SizeReduction.cpp
1076SRCS_MIN+=	Target/ARM/ThumbRegisterInfo.cpp
1077SRCS_MIN+=	Target/ARM/Utils/ARMBaseInfo.cpp
1078.endif # MK_LLVM_TARGET_ARM
1079.if ${MK_LLVM_TARGET_BPF} != "no"
1080SRCS_MIN+=	Target/BPF/AsmParser/BPFAsmParser.cpp
1081SRCS_MIN+=	Target/BPF/BPFAbstractMemberAccess.cpp
1082SRCS_MIN+=	Target/BPF/BPFAsmPrinter.cpp
1083SRCS_MIN+=	Target/BPF/BPFFrameLowering.cpp
1084SRCS_MIN+=	Target/BPF/BPFISelDAGToDAG.cpp
1085SRCS_MIN+=	Target/BPF/BPFISelLowering.cpp
1086SRCS_MIN+=	Target/BPF/BPFInstrInfo.cpp
1087SRCS_MIN+=	Target/BPF/BPFMCInstLower.cpp
1088SRCS_MIN+=	Target/BPF/BPFMIChecking.cpp
1089SRCS_MIN+=	Target/BPF/BPFMIPeephole.cpp
1090SRCS_MIN+=	Target/BPF/BPFMISimplifyPatchable.cpp
1091SRCS_MIN+=	Target/BPF/BPFRegisterInfo.cpp
1092SRCS_MIN+=	Target/BPF/BPFSelectionDAGInfo.cpp
1093SRCS_MIN+=	Target/BPF/BPFSubtarget.cpp
1094SRCS_MIN+=	Target/BPF/BPFTargetMachine.cpp
1095SRCS_MIN+=	Target/BPF/BTFDebug.cpp
1096SRCS_MIN+=	Target/BPF/Disassembler/BPFDisassembler.cpp
1097SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
1098SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
1099SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
1100SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
1101SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
1102SRCS_MIN+=	Target/BPF/TargetInfo/BPFTargetInfo.cpp
1103.endif # MK_LLVM_TARGET_BPF
1104.if ${MK_LLVM_TARGET_MIPS} != "no"
1105SRCS_MIN+=	Target/Mips/AsmParser/MipsAsmParser.cpp
1106SRCS_XDW+=	Target/Mips/Disassembler/MipsDisassembler.cpp
1107SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
1108SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIInfo.cpp
1109SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
1110SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
1111SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
1112SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
1113SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
1114SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
1115SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCExpr.cpp
1116SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
1117SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
1118SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
1119SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
1120SRCS_MIN+=	Target/Mips/MicroMipsSizeReduction.cpp
1121SRCS_MIN+=	Target/Mips/Mips16FrameLowering.cpp
1122SRCS_MIN+=	Target/Mips/Mips16HardFloat.cpp
1123SRCS_MIN+=	Target/Mips/Mips16HardFloatInfo.cpp
1124SRCS_MIN+=	Target/Mips/Mips16ISelDAGToDAG.cpp
1125SRCS_MIN+=	Target/Mips/Mips16ISelLowering.cpp
1126SRCS_MIN+=	Target/Mips/Mips16InstrInfo.cpp
1127SRCS_MIN+=	Target/Mips/Mips16RegisterInfo.cpp
1128SRCS_MIN+=	Target/Mips/MipsAnalyzeImmediate.cpp
1129SRCS_MIN+=	Target/Mips/MipsAsmPrinter.cpp
1130SRCS_MIN+=	Target/Mips/MipsBranchExpansion.cpp
1131SRCS_MIN+=	Target/Mips/MipsCCState.cpp
1132SRCS_MIN+=	Target/Mips/MipsCallLowering.cpp
1133SRCS_MIN+=	Target/Mips/MipsConstantIslandPass.cpp
1134SRCS_MIN+=	Target/Mips/MipsDelaySlotFiller.cpp
1135SRCS_MIN+=	Target/Mips/MipsExpandPseudo.cpp
1136SRCS_MIN+=	Target/Mips/MipsFastISel.cpp
1137SRCS_MIN+=	Target/Mips/MipsFrameLowering.cpp
1138SRCS_MIN+=	Target/Mips/MipsISelDAGToDAG.cpp
1139SRCS_MIN+=	Target/Mips/MipsISelLowering.cpp
1140SRCS_MIN+=	Target/Mips/MipsInstrInfo.cpp
1141SRCS_MIN+=	Target/Mips/MipsInstructionSelector.cpp
1142SRCS_MIN+=	Target/Mips/MipsLegalizerInfo.cpp
1143SRCS_MIN+=	Target/Mips/MipsMCInstLower.cpp
1144SRCS_MIN+=	Target/Mips/MipsMachineFunction.cpp
1145SRCS_MIN+=	Target/Mips/MipsModuleISelDAGToDAG.cpp
1146SRCS_MIN+=	Target/Mips/MipsOptimizePICCall.cpp
1147SRCS_MIN+=	Target/Mips/MipsOs16.cpp
1148SRCS_MIN+=	Target/Mips/MipsPreLegalizerCombiner.cpp
1149SRCS_MIN+=	Target/Mips/MipsRegisterBankInfo.cpp
1150SRCS_MIN+=	Target/Mips/MipsRegisterInfo.cpp
1151SRCS_MIN+=	Target/Mips/MipsSEFrameLowering.cpp
1152SRCS_MIN+=	Target/Mips/MipsSEISelDAGToDAG.cpp
1153SRCS_MIN+=	Target/Mips/MipsSEISelLowering.cpp
1154SRCS_MIN+=	Target/Mips/MipsSEInstrInfo.cpp
1155SRCS_MIN+=	Target/Mips/MipsSERegisterInfo.cpp
1156SRCS_MIN+=	Target/Mips/MipsSubtarget.cpp
1157SRCS_MIN+=	Target/Mips/MipsTargetMachine.cpp
1158SRCS_MIN+=	Target/Mips/MipsTargetObjectFile.cpp
1159SRCS_MIN+=	Target/Mips/TargetInfo/MipsTargetInfo.cpp
1160.endif # MK_LLVM_TARGET_MIPS
1161.if ${MK_LLVM_TARGET_POWERPC} != "no"
1162SRCS_MIN+=	Target/PowerPC/AsmParser/PPCAsmParser.cpp
1163SRCS_MIN+=	Target/PowerPC/Disassembler/PPCDisassembler.cpp
1164SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
1165SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
1166SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
1167SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
1168SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
1169SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
1170SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
1171SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
1172SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCPredicates.cpp
1173SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
1174SRCS_MIN+=	Target/PowerPC/PPCAsmPrinter.cpp
1175SRCS_MIN+=	Target/PowerPC/PPCBoolRetToInt.cpp
1176SRCS_MIN+=	Target/PowerPC/PPCBranchCoalescing.cpp
1177SRCS_MIN+=	Target/PowerPC/PPCBranchSelector.cpp
1178SRCS_MIN+=	Target/PowerPC/PPCCCState.cpp
1179SRCS_MIN+=	Target/PowerPC/PPCCTRLoops.cpp
1180SRCS_MIN+=	Target/PowerPC/PPCCallingConv.cpp
1181SRCS_MIN+=	Target/PowerPC/PPCEarlyReturn.cpp
1182SRCS_MIN+=	Target/PowerPC/PPCExpandISEL.cpp
1183SRCS_MIN+=	Target/PowerPC/PPCFastISel.cpp
1184SRCS_MIN+=	Target/PowerPC/PPCFrameLowering.cpp
1185SRCS_MIN+=	Target/PowerPC/PPCHazardRecognizers.cpp
1186SRCS_MIN+=	Target/PowerPC/PPCISelDAGToDAG.cpp
1187SRCS_MIN+=	Target/PowerPC/PPCISelLowering.cpp
1188SRCS_MIN+=	Target/PowerPC/PPCInstrInfo.cpp
1189SRCS_MIN+=	Target/PowerPC/PPCLoopInstrFormPrep.cpp
1190SRCS_MIN+=	Target/PowerPC/PPCLowerMASSVEntries.cpp
1191SRCS_MIN+=	Target/PowerPC/PPCMCInstLower.cpp
1192SRCS_MIN+=	Target/PowerPC/PPCMIPeephole.cpp
1193SRCS_MIN+=	Target/PowerPC/PPCMachineFunctionInfo.cpp
1194SRCS_MIN+=	Target/PowerPC/PPCMachineScheduler.cpp
1195SRCS_MIN+=	Target/PowerPC/PPCPreEmitPeephole.cpp
1196SRCS_MIN+=	Target/PowerPC/PPCQPXLoadSplat.cpp
1197SRCS_MIN+=	Target/PowerPC/PPCReduceCRLogicals.cpp
1198SRCS_MIN+=	Target/PowerPC/PPCRegisterInfo.cpp
1199SRCS_MIN+=	Target/PowerPC/PPCSubtarget.cpp
1200SRCS_MIN+=	Target/PowerPC/PPCTLSDynamicCall.cpp
1201SRCS_MIN+=	Target/PowerPC/PPCTOCRegDeps.cpp
1202SRCS_MIN+=	Target/PowerPC/PPCTargetMachine.cpp
1203SRCS_MIN+=	Target/PowerPC/PPCTargetObjectFile.cpp
1204SRCS_MIN+=	Target/PowerPC/PPCTargetTransformInfo.cpp
1205SRCS_MIN+=	Target/PowerPC/PPCVSXCopy.cpp
1206SRCS_MIN+=	Target/PowerPC/PPCVSXFMAMutate.cpp
1207SRCS_MIN+=	Target/PowerPC/PPCVSXSwapRemoval.cpp
1208SRCS_MIN+=	Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
1209.endif # MK_LLVM_TARGET_POWERPC
1210.if ${MK_LLVM_TARGET_RISCV} != "no"
1211SRCS_MIN+=	Target/RISCV/AsmParser/RISCVAsmParser.cpp
1212SRCS_MIN+=	Target/RISCV/Disassembler/RISCVDisassembler.cpp
1213SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
1214SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
1215SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
1216SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
1217SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
1218SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
1219SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
1220SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
1221SRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
1222SRCS_MIN+=	Target/RISCV/RISCVAsmPrinter.cpp
1223SRCS_MIN+=	Target/RISCV/RISCVCallLowering.cpp
1224SRCS_MIN+=	Target/RISCV/RISCVExpandPseudoInsts.cpp
1225SRCS_MIN+=	Target/RISCV/RISCVFrameLowering.cpp
1226SRCS_MIN+=	Target/RISCV/RISCVInstrInfo.cpp
1227SRCS_MIN+=	Target/RISCV/RISCVInstructionSelector.cpp
1228SRCS_MIN+=	Target/RISCV/RISCVISelDAGToDAG.cpp
1229SRCS_MIN+=	Target/RISCV/RISCVISelLowering.cpp
1230SRCS_MIN+=	Target/RISCV/RISCVLegalizerInfo.cpp
1231SRCS_MIN+=	Target/RISCV/RISCVMCInstLower.cpp
1232SRCS_MIN+=	Target/RISCV/RISCVMergeBaseOffset.cpp
1233SRCS_MIN+=	Target/RISCV/RISCVRegisterBankInfo.cpp
1234SRCS_MIN+=	Target/RISCV/RISCVRegisterInfo.cpp
1235SRCS_MIN+=	Target/RISCV/RISCVSubtarget.cpp
1236SRCS_MIN+=	Target/RISCV/RISCVTargetMachine.cpp
1237SRCS_MIN+=	Target/RISCV/RISCVTargetObjectFile.cpp
1238SRCS_MIN+=	Target/RISCV/RISCVTargetTransformInfo.cpp
1239SRCS_MIN+=	Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
1240SRCS_MIN+=	Target/RISCV/Utils/RISCVBaseInfo.cpp
1241SRCS_MIN+=	Target/RISCV/Utils/RISCVMatInt.cpp
1242.endif # MK_LLVM_TARGET_RISCV
1243SRCS_MIN+=	Target/Target.cpp
1244SRCS_MIN+=	Target/TargetLoweringObjectFile.cpp
1245SRCS_MIN+=	Target/TargetMachine.cpp
1246SRCS_MIN+=	Target/TargetMachineC.cpp
1247.if ${MK_LLVM_TARGET_X86} != "no"
1248SRCS_MIN+=	Target/X86/AsmParser/X86AsmParser.cpp
1249SRCS_XDW+=	Target/X86/Disassembler/X86Disassembler.cpp
1250SRCS_MIN+=	Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
1251SRCS_MIN+=	Target/X86/MCTargetDesc/X86AsmBackend.cpp
1252SRCS_MIN+=	Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
1253SRCS_MIN+=	Target/X86/MCTargetDesc/X86InstComments.cpp
1254SRCS_MIN+=	Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
1255SRCS_MIN+=	Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
1256SRCS_MIN+=	Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
1257SRCS_MIN+=	Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
1258SRCS_MIN+=	Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
1259SRCS_MIN+=	Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
1260SRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
1261SRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
1262SRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
1263SRCS_MIN+=	Target/X86/TargetInfo/X86TargetInfo.cpp
1264SRCS_MIN+=	Target/X86/Utils/X86ShuffleDecode.cpp
1265SRCS_MIN+=	Target/X86/X86AsmPrinter.cpp
1266SRCS_MIN+=	Target/X86/X86AvoidStoreForwardingBlocks.cpp
1267SRCS_MIN+=	Target/X86/X86AvoidTrailingCall.cpp
1268SRCS_MIN+=	Target/X86/X86CallFrameOptimization.cpp
1269SRCS_MIN+=	Target/X86/X86CallLowering.cpp
1270SRCS_MIN+=	Target/X86/X86CallingConv.cpp
1271SRCS_MIN+=	Target/X86/X86CmovConversion.cpp
1272SRCS_MIN+=	Target/X86/X86CondBrFolding.cpp
1273SRCS_MIN+=	Target/X86/X86DiscriminateMemOps.cpp
1274SRCS_MIN+=	Target/X86/X86DomainReassignment.cpp
1275SRCS_MIN+=	Target/X86/X86EvexToVex.cpp
1276SRCS_MIN+=	Target/X86/X86ExpandPseudo.cpp
1277SRCS_MIN+=	Target/X86/X86FastISel.cpp
1278SRCS_MIN+=	Target/X86/X86FixupBWInsts.cpp
1279SRCS_MIN+=	Target/X86/X86FixupLEAs.cpp
1280SRCS_MIN+=	Target/X86/X86FixupSetCC.cpp
1281SRCS_MIN+=	Target/X86/X86FlagsCopyLowering.cpp
1282SRCS_MIN+=	Target/X86/X86FloatingPoint.cpp
1283SRCS_MIN+=	Target/X86/X86FrameLowering.cpp
1284SRCS_MIN+=	Target/X86/X86ISelDAGToDAG.cpp
1285SRCS_MIN+=	Target/X86/X86ISelLowering.cpp
1286SRCS_MIN+=	Target/X86/X86IndirectBranchTracking.cpp
1287SRCS_MIN+=	Target/X86/X86InsertPrefetch.cpp
1288SRCS_MIN+=	Target/X86/X86InstrFMA3Info.cpp
1289SRCS_MIN+=	Target/X86/X86InstrFoldTables.cpp
1290SRCS_MIN+=	Target/X86/X86InstrInfo.cpp
1291SRCS_MIN+=	Target/X86/X86InstructionSelector.cpp
1292SRCS_MIN+=	Target/X86/X86InterleavedAccess.cpp
1293SRCS_MIN+=	Target/X86/X86LegalizerInfo.cpp
1294SRCS_MIN+=	Target/X86/X86MCInstLower.cpp
1295SRCS_MIN+=	Target/X86/X86MachineFunctionInfo.cpp
1296SRCS_MIN+=	Target/X86/X86MacroFusion.cpp
1297SRCS_MIN+=	Target/X86/X86OptimizeLEAs.cpp
1298SRCS_MIN+=	Target/X86/X86PadShortFunction.cpp
1299SRCS_MIN+=	Target/X86/X86RegisterBankInfo.cpp
1300SRCS_MIN+=	Target/X86/X86RegisterInfo.cpp
1301SRCS_MIN+=	Target/X86/X86RetpolineThunks.cpp
1302SRCS_MIN+=	Target/X86/X86SelectionDAGInfo.cpp
1303SRCS_MIN+=	Target/X86/X86ShuffleDecodeConstantPool.cpp
1304SRCS_MIN+=	Target/X86/X86SpeculativeLoadHardening.cpp
1305SRCS_MIN+=	Target/X86/X86Subtarget.cpp
1306SRCS_MIN+=	Target/X86/X86TargetMachine.cpp
1307SRCS_MIN+=	Target/X86/X86TargetObjectFile.cpp
1308SRCS_MIN+=	Target/X86/X86TargetTransformInfo.cpp
1309SRCS_MIN+=	Target/X86/X86VZeroUpper.cpp
1310SRCS_MIN+=	Target/X86/X86WinAllocaExpander.cpp
1311SRCS_MIN+=	Target/X86/X86WinEHState.cpp
1312.endif # MK_LLVM_TARGET_X86
1313SRCS_MIW+=	TextAPI/MachO/Architecture.cpp
1314SRCS_MIW+=	TextAPI/MachO/ArchitectureSet.cpp
1315SRCS_MIW+=	TextAPI/MachO/InterfaceFile.cpp
1316SRCS_MIW+=	TextAPI/MachO/PackedVersion.cpp
1317SRCS_MIW+=	TextAPI/MachO/Platform.cpp
1318SRCS_MIW+=	TextAPI/MachO/Target.cpp
1319SRCS_MIW+=	TextAPI/MachO/TextStub.cpp
1320SRCS_MIW+=	TextAPI/MachO/TextStubCommon.cpp
1321SRCS_MIN+=	ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
1322SRCS_MIW+=	ToolDrivers/llvm-lib/LibDriver.cpp
1323SRCS_MIN+=	Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
1324SRCS_MIN+=	Transforms/AggressiveInstCombine/TruncInstCombine.cpp
1325SRCS_MIN+=	Transforms/CFGuard/CFGuard.cpp
1326SRCS_MIN+=	Transforms/Coroutines/CoroCleanup.cpp
1327SRCS_MIN+=	Transforms/Coroutines/CoroEarly.cpp
1328SRCS_MIN+=	Transforms/Coroutines/CoroElide.cpp
1329SRCS_MIN+=	Transforms/Coroutines/CoroFrame.cpp
1330SRCS_MIN+=	Transforms/Coroutines/CoroSplit.cpp
1331SRCS_MIN+=	Transforms/Coroutines/Coroutines.cpp
1332SRCS_MIN+=	Transforms/IPO/AlwaysInliner.cpp
1333SRCS_MIN+=	Transforms/IPO/ArgumentPromotion.cpp
1334SRCS_MIN+=	Transforms/IPO/Attributor.cpp
1335SRCS_MIN+=	Transforms/IPO/BarrierNoopPass.cpp
1336SRCS_EXT+=	Transforms/IPO/BlockExtractor.cpp
1337SRCS_MIN+=	Transforms/IPO/CalledValuePropagation.cpp
1338SRCS_MIN+=	Transforms/IPO/ConstantMerge.cpp
1339SRCS_MIN+=	Transforms/IPO/CrossDSOCFI.cpp
1340SRCS_MIN+=	Transforms/IPO/DeadArgumentElimination.cpp
1341SRCS_MIN+=	Transforms/IPO/ElimAvailExtern.cpp
1342SRCS_MIN+=	Transforms/IPO/ExtractGV.cpp
1343SRCS_MIN+=	Transforms/IPO/ForceFunctionAttrs.cpp
1344SRCS_MIN+=	Transforms/IPO/FunctionAttrs.cpp
1345SRCS_MIN+=	Transforms/IPO/FunctionImport.cpp
1346SRCS_MIN+=	Transforms/IPO/GlobalDCE.cpp
1347SRCS_MIN+=	Transforms/IPO/GlobalOpt.cpp
1348SRCS_MIN+=	Transforms/IPO/GlobalSplit.cpp
1349SRCS_MIN+=	Transforms/IPO/HotColdSplitting.cpp
1350SRCS_MIN+=	Transforms/IPO/IPConstantPropagation.cpp
1351SRCS_EXT+=	Transforms/IPO/IPO.cpp
1352SRCS_MIN+=	Transforms/IPO/InferFunctionAttrs.cpp
1353SRCS_MIN+=	Transforms/IPO/InlineSimple.cpp
1354SRCS_MIN+=	Transforms/IPO/Inliner.cpp
1355SRCS_MIN+=	Transforms/IPO/Internalize.cpp
1356SRCS_MIN+=	Transforms/IPO/LoopExtractor.cpp
1357SRCS_MIN+=	Transforms/IPO/LowerTypeTests.cpp
1358SRCS_MIN+=	Transforms/IPO/MergeFunctions.cpp
1359SRCS_MIN+=	Transforms/IPO/PartialInlining.cpp
1360SRCS_MIN+=	Transforms/IPO/PassManagerBuilder.cpp
1361SRCS_MIN+=	Transforms/IPO/PruneEH.cpp
1362SRCS_MIN+=	Transforms/IPO/SCCP.cpp
1363SRCS_MIN+=	Transforms/IPO/SampleProfile.cpp
1364SRCS_MIN+=	Transforms/IPO/StripDeadPrototypes.cpp
1365SRCS_MIN+=	Transforms/IPO/StripSymbols.cpp
1366SRCS_MIN+=	Transforms/IPO/SyntheticCountsPropagation.cpp
1367SRCS_MIN+=	Transforms/IPO/ThinLTOBitcodeWriter.cpp
1368SRCS_MIN+=	Transforms/IPO/WholeProgramDevirt.cpp
1369SRCS_MIN+=	Transforms/InstCombine/InstCombineAddSub.cpp
1370SRCS_MIN+=	Transforms/InstCombine/InstCombineAndOrXor.cpp
1371SRCS_MIN+=	Transforms/InstCombine/InstCombineAtomicRMW.cpp
1372SRCS_MIN+=	Transforms/InstCombine/InstCombineCalls.cpp
1373SRCS_MIN+=	Transforms/InstCombine/InstCombineCasts.cpp
1374SRCS_MIN+=	Transforms/InstCombine/InstCombineCompares.cpp
1375SRCS_MIN+=	Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
1376SRCS_MIN+=	Transforms/InstCombine/InstCombineMulDivRem.cpp
1377SRCS_MIN+=	Transforms/InstCombine/InstCombinePHI.cpp
1378SRCS_MIN+=	Transforms/InstCombine/InstCombineSelect.cpp
1379SRCS_MIN+=	Transforms/InstCombine/InstCombineShifts.cpp
1380SRCS_MIN+=	Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
1381SRCS_MIN+=	Transforms/InstCombine/InstCombineVectorOps.cpp
1382SRCS_MIN+=	Transforms/InstCombine/InstructionCombining.cpp
1383SRCS_MIN+=	Transforms/Instrumentation/AddressSanitizer.cpp
1384SRCS_MIN+=	Transforms/Instrumentation/BoundsChecking.cpp
1385SRCS_MIN+=	Transforms/Instrumentation/CGProfile.cpp
1386SRCS_MIN+=	Transforms/Instrumentation/ControlHeightReduction.cpp
1387SRCS_MIN+=	Transforms/Instrumentation/DataFlowSanitizer.cpp
1388SRCS_MIN+=	Transforms/Instrumentation/GCOVProfiling.cpp
1389SRCS_MIN+=	Transforms/Instrumentation/HWAddressSanitizer.cpp
1390SRCS_MIN+=	Transforms/Instrumentation/IndirectCallPromotion.cpp
1391SRCS_MIN+=	Transforms/Instrumentation/InstrOrderFile.cpp
1392SRCS_MIN+=	Transforms/Instrumentation/InstrProfiling.cpp
1393SRCS_MIN+=	Transforms/Instrumentation/Instrumentation.cpp
1394SRCS_MIN+=	Transforms/Instrumentation/MemorySanitizer.cpp
1395SRCS_MIN+=	Transforms/Instrumentation/PGOInstrumentation.cpp
1396SRCS_MIN+=	Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
1397SRCS_MIN+=	Transforms/Instrumentation/PoisonChecking.cpp
1398SRCS_MIN+=	Transforms/Instrumentation/SanitizerCoverage.cpp
1399SRCS_MIN+=	Transforms/Instrumentation/ThreadSanitizer.cpp
1400SRCS_MIN+=	Transforms/Instrumentation/ValueProfileCollector.cpp
1401SRCS_MIN+=	Transforms/ObjCARC/DependencyAnalysis.cpp
1402SRCS_EXT+=	Transforms/ObjCARC/ObjCARC.cpp
1403SRCS_MIN+=	Transforms/ObjCARC/ObjCARCAPElim.cpp
1404SRCS_MIN+=	Transforms/ObjCARC/ObjCARCContract.cpp
1405SRCS_MIN+=	Transforms/ObjCARC/ObjCARCExpand.cpp
1406SRCS_MIN+=	Transforms/ObjCARC/ObjCARCOpts.cpp
1407SRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysis.cpp
1408SRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
1409SRCS_MIN+=	Transforms/ObjCARC/PtrState.cpp
1410SRCS_MIN+=	Transforms/Scalar/ADCE.cpp
1411SRCS_MIN+=	Transforms/Scalar/AlignmentFromAssumptions.cpp
1412SRCS_MIN+=	Transforms/Scalar/BDCE.cpp
1413SRCS_MIN+=	Transforms/Scalar/CallSiteSplitting.cpp
1414SRCS_MIN+=	Transforms/Scalar/ConstantHoisting.cpp
1415SRCS_MIN+=	Transforms/Scalar/ConstantProp.cpp
1416SRCS_MIN+=	Transforms/Scalar/CorrelatedValuePropagation.cpp
1417SRCS_MIN+=	Transforms/Scalar/DCE.cpp
1418SRCS_MIN+=	Transforms/Scalar/DeadStoreElimination.cpp
1419SRCS_MIN+=	Transforms/Scalar/DivRemPairs.cpp
1420SRCS_MIN+=	Transforms/Scalar/EarlyCSE.cpp
1421SRCS_MIN+=	Transforms/Scalar/FlattenCFGPass.cpp
1422SRCS_MIN+=	Transforms/Scalar/Float2Int.cpp
1423SRCS_MIN+=	Transforms/Scalar/GVN.cpp
1424SRCS_MIN+=	Transforms/Scalar/GVNHoist.cpp
1425SRCS_MIN+=	Transforms/Scalar/GVNSink.cpp
1426SRCS_MIN+=	Transforms/Scalar/GuardWidening.cpp
1427SRCS_MIN+=	Transforms/Scalar/IVUsersPrinter.cpp
1428SRCS_MIN+=	Transforms/Scalar/IndVarSimplify.cpp
1429SRCS_MIN+=	Transforms/Scalar/InductiveRangeCheckElimination.cpp
1430SRCS_EXT+=	Transforms/Scalar/InferAddressSpaces.cpp
1431SRCS_MIN+=	Transforms/Scalar/InstSimplifyPass.cpp
1432SRCS_MIN+=	Transforms/Scalar/JumpThreading.cpp
1433SRCS_MIN+=	Transforms/Scalar/LICM.cpp
1434SRCS_MIN+=	Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
1435SRCS_MIN+=	Transforms/Scalar/LoopDataPrefetch.cpp
1436SRCS_MIN+=	Transforms/Scalar/LoopDeletion.cpp
1437SRCS_MIN+=	Transforms/Scalar/LoopDistribute.cpp
1438SRCS_MIN+=	Transforms/Scalar/LoopFuse.cpp
1439SRCS_MIN+=	Transforms/Scalar/LoopIdiomRecognize.cpp
1440SRCS_MIN+=	Transforms/Scalar/LoopInstSimplify.cpp
1441SRCS_MIN+=	Transforms/Scalar/LoopInterchange.cpp
1442SRCS_MIN+=	Transforms/Scalar/LoopLoadElimination.cpp
1443SRCS_MIN+=	Transforms/Scalar/LoopPassManager.cpp
1444SRCS_MIN+=	Transforms/Scalar/LoopPredication.cpp
1445SRCS_MIN+=	Transforms/Scalar/LoopRerollPass.cpp
1446SRCS_MIN+=	Transforms/Scalar/LoopRotation.cpp
1447SRCS_MIN+=	Transforms/Scalar/LoopSimplifyCFG.cpp
1448SRCS_MIN+=	Transforms/Scalar/LoopSink.cpp
1449SRCS_MIN+=	Transforms/Scalar/LoopStrengthReduce.cpp
1450SRCS_MIN+=	Transforms/Scalar/LoopUnrollPass.cpp
1451SRCS_MIN+=	Transforms/Scalar/LoopUnrollAndJamPass.cpp
1452SRCS_MIN+=	Transforms/Scalar/LoopUnswitch.cpp
1453SRCS_MIN+=	Transforms/Scalar/LoopVersioningLICM.cpp
1454SRCS_MIN+=	Transforms/Scalar/LowerAtomic.cpp
1455SRCS_MIN+=	Transforms/Scalar/LowerConstantIntrinsics.cpp
1456SRCS_MIN+=	Transforms/Scalar/LowerExpectIntrinsic.cpp
1457SRCS_MIN+=	Transforms/Scalar/LowerGuardIntrinsic.cpp
1458SRCS_MIN+=	Transforms/Scalar/LowerMatrixIntrinsics.cpp
1459SRCS_MIN+=	Transforms/Scalar/LowerWidenableCondition.cpp
1460SRCS_MIN+=	Transforms/Scalar/MakeGuardsExplicit.cpp
1461SRCS_MIN+=	Transforms/Scalar/MemCpyOptimizer.cpp
1462SRCS_MIN+=	Transforms/Scalar/MergeICmps.cpp
1463SRCS_MIN+=	Transforms/Scalar/MergedLoadStoreMotion.cpp
1464SRCS_MIN+=	Transforms/Scalar/NaryReassociate.cpp
1465SRCS_MIN+=	Transforms/Scalar/NewGVN.cpp
1466SRCS_MIN+=	Transforms/Scalar/PartiallyInlineLibCalls.cpp
1467SRCS_MIN+=	Transforms/Scalar/PlaceSafepoints.cpp
1468SRCS_MIN+=	Transforms/Scalar/Reassociate.cpp
1469SRCS_MIN+=	Transforms/Scalar/Reg2Mem.cpp
1470SRCS_MIN+=	Transforms/Scalar/RewriteStatepointsForGC.cpp
1471SRCS_MIN+=	Transforms/Scalar/SCCP.cpp
1472SRCS_MIN+=	Transforms/Scalar/SROA.cpp
1473SRCS_EXT+=	Transforms/Scalar/Scalar.cpp
1474SRCS_MIN+=	Transforms/Scalar/Scalarizer.cpp
1475SRCS_MIN+=	Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
1476SRCS_MIN+=	Transforms/Scalar/SimpleLoopUnswitch.cpp
1477SRCS_MIN+=	Transforms/Scalar/SimplifyCFGPass.cpp
1478SRCS_MIN+=	Transforms/Scalar/Sink.cpp
1479SRCS_MIN+=	Transforms/Scalar/SpeculateAroundPHIs.cpp
1480SRCS_MIN+=	Transforms/Scalar/SpeculativeExecution.cpp
1481SRCS_MIN+=	Transforms/Scalar/StraightLineStrengthReduce.cpp
1482SRCS_MIN+=	Transforms/Scalar/StructurizeCFG.cpp
1483SRCS_MIN+=	Transforms/Scalar/TailRecursionElimination.cpp
1484SRCS_MIN+=	Transforms/Scalar/WarnMissedTransforms.cpp
1485SRCS_MIN+=	Transforms/Utils/ASanStackFrameLayout.cpp
1486SRCS_MIN+=	Transforms/Utils/AddDiscriminators.cpp
1487SRCS_MIN+=	Transforms/Utils/BasicBlockUtils.cpp
1488SRCS_MIN+=	Transforms/Utils/BreakCriticalEdges.cpp
1489SRCS_MIN+=	Transforms/Utils/BuildLibCalls.cpp
1490SRCS_MIN+=	Transforms/Utils/BypassSlowDivision.cpp
1491SRCS_MIN+=	Transforms/Utils/CallPromotionUtils.cpp
1492SRCS_MIN+=	Transforms/Utils/CanonicalizeAliases.cpp
1493SRCS_MIN+=	Transforms/Utils/CloneFunction.cpp
1494SRCS_MIN+=	Transforms/Utils/CloneModule.cpp
1495SRCS_MIN+=	Transforms/Utils/CodeExtractor.cpp
1496SRCS_MIN+=	Transforms/Utils/CodeMoverUtils.cpp
1497SRCS_MIN+=	Transforms/Utils/CtorUtils.cpp
1498SRCS_EXT+=	Transforms/Utils/Debugify.cpp
1499SRCS_MIN+=	Transforms/Utils/DemoteRegToStack.cpp
1500SRCS_MIN+=	Transforms/Utils/EntryExitInstrumenter.cpp
1501SRCS_MIN+=	Transforms/Utils/EscapeEnumerator.cpp
1502SRCS_MIN+=	Transforms/Utils/Evaluator.cpp
1503SRCS_MIN+=	Transforms/Utils/FlattenCFG.cpp
1504SRCS_MIN+=	Transforms/Utils/FunctionComparator.cpp
1505SRCS_MIN+=	Transforms/Utils/FunctionImportUtils.cpp
1506SRCS_MIN+=	Transforms/Utils/GlobalStatus.cpp
1507SRCS_MIN+=	Transforms/Utils/GuardUtils.cpp
1508SRCS_MIN+=	Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
1509SRCS_MIN+=	Transforms/Utils/InjectTLIMappings.cpp
1510SRCS_MIN+=	Transforms/Utils/InlineFunction.cpp
1511SRCS_MIN+=	Transforms/Utils/InstructionNamer.cpp
1512SRCS_MIN+=	Transforms/Utils/IntegerDivision.cpp
1513SRCS_MIN+=	Transforms/Utils/LCSSA.cpp
1514SRCS_MIN+=	Transforms/Utils/LibCallsShrinkWrap.cpp
1515SRCS_MIN+=	Transforms/Utils/Local.cpp
1516SRCS_MIN+=	Transforms/Utils/LoopSimplify.cpp
1517SRCS_MIN+=	Transforms/Utils/LoopRotationUtils.cpp
1518SRCS_MIN+=	Transforms/Utils/LoopUnroll.cpp
1519SRCS_MIN+=	Transforms/Utils/LoopUnrollAndJam.cpp
1520SRCS_MIN+=	Transforms/Utils/LoopUnrollPeel.cpp
1521SRCS_MIN+=	Transforms/Utils/LoopUnrollRuntime.cpp
1522SRCS_MIN+=	Transforms/Utils/LoopUtils.cpp
1523SRCS_MIN+=	Transforms/Utils/LoopVersioning.cpp
1524SRCS_MIN+=	Transforms/Utils/LowerInvoke.cpp
1525SRCS_MIN+=	Transforms/Utils/LowerSwitch.cpp
1526SRCS_MIN+=	Transforms/Utils/Mem2Reg.cpp
1527SRCS_MIN+=	Transforms/Utils/MetaRenamer.cpp
1528SRCS_MIN+=	Transforms/Utils/MisExpect.cpp
1529SRCS_MIN+=	Transforms/Utils/ModuleUtils.cpp
1530SRCS_MIN+=	Transforms/Utils/NameAnonGlobals.cpp
1531SRCS_MIN+=	Transforms/Utils/PredicateInfo.cpp
1532SRCS_MIN+=	Transforms/Utils/PromoteMemoryToRegister.cpp
1533SRCS_MIN+=	Transforms/Utils/SSAUpdater.cpp
1534SRCS_MIN+=	Transforms/Utils/SanitizerStats.cpp
1535SRCS_MIN+=	Transforms/Utils/SimplifyCFG.cpp
1536SRCS_MIN+=	Transforms/Utils/SimplifyIndVar.cpp
1537SRCS_MIN+=	Transforms/Utils/SimplifyLibCalls.cpp
1538SRCS_MIN+=	Transforms/Utils/SizeOpts.cpp
1539SRCS_MIN+=	Transforms/Utils/SplitModule.cpp
1540SRCS_MIN+=	Transforms/Utils/StripGCRelocates.cpp
1541SRCS_MIN+=	Transforms/Utils/StripNonLineTableDebugInfo.cpp
1542SRCS_MIN+=	Transforms/Utils/SymbolRewriter.cpp
1543SRCS_MIN+=	Transforms/Utils/UnifyFunctionExitNodes.cpp
1544SRCS_EXT+=	Transforms/Utils/Utils.cpp
1545SRCS_MIN+=	Transforms/Utils/VNCoercion.cpp
1546SRCS_MIN+=	Transforms/Utils/ValueMapper.cpp
1547SRCS_MIN+=	Transforms/Vectorize/LoadStoreVectorizer.cpp
1548SRCS_MIN+=	Transforms/Vectorize/LoopVectorizationLegality.cpp
1549SRCS_MIN+=	Transforms/Vectorize/LoopVectorize.cpp
1550SRCS_MIN+=	Transforms/Vectorize/SLPVectorizer.cpp
1551SRCS_MIN+=	Transforms/Vectorize/VPlan.cpp
1552SRCS_MIN+=	Transforms/Vectorize/VPlanHCFGBuilder.cpp
1553SRCS_MIN+=	Transforms/Vectorize/VPlanPredicator.cpp
1554SRCS_MIN+=	Transforms/Vectorize/VPlanTransforms.cpp
1555SRCS_MIN+=	Transforms/Vectorize/VPlanVerifier.cpp
1556SRCS_EXT+=	Transforms/Vectorize/Vectorize.cpp
1557SRCS_EXT+=	XRay/BlockIndexer.cpp
1558SRCS_EXT+=	XRay/BlockVerifier.cpp
1559SRCS_EXT+=	XRay/FDRRecordProducer.cpp
1560SRCS_EXT+=	XRay/FDRRecords.cpp
1561SRCS_EXT+=	XRay/FDRTraceExpander.cpp
1562SRCS_EXT+=	XRay/FileHeaderReader.cpp
1563SRCS_EXT+=	XRay/InstrumentationMap.cpp
1564SRCS_EXT+=	XRay/LogBuilderConsumer.cpp
1565SRCS_EXT+=	XRay/RecordInitializer.cpp
1566SRCS_EXT+=	XRay/Trace.cpp
1567
1568SRCS_ALL+=	${SRCS_MIN}
1569.if !defined(TOOLS_PREFIX) || ${MK_LLD_BOOTSTRAP} != "no"
1570SRCS_ALL+=	${SRCS_MIW}
1571.endif
1572.if ${MK_CLANG_EXTRAS} != "no"
1573SRCS_ALL+=	${SRCS_EXT}
1574.endif
1575.if ${MK_CLANG_FULL} != "no"
1576SRCS_ALL+=	${SRCS_FUL}
1577.endif
1578.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLD} != "no" || \
1579    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
1580SRCS_ALL+=	${SRCS_EXL}
1581.endif
1582.if ${MK_LLD} != "no" || \
1583    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
1584SRCS_ALL+=	${SRCS_LLD}
1585.endif
1586.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
1587SRCS_ALL+=	${SRCS_XDB}
1588.endif
1589.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || ${MK_LLD} != "no" || \
1590    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
1591SRCS_ALL+=	${SRCS_XDL}
1592.endif
1593.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || !defined(TOOLS_PREFIX)
1594SRCS_ALL+=	${SRCS_XDW}
1595.endif
1596SRCS+=		${SRCS_ALL:O}
1597
1598llvm/IR/Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1599	${LLVM_TBLGEN} -gen-attrs \
1600	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1601	    ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1602TGHDRS+=	llvm/IR/Attributes.inc
1603
1604llvm/IR/IntrinsicEnums.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1605	${LLVM_TBLGEN} -gen-intrinsic-enums \
1606	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1607	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1608TGHDRS+=	llvm/IR/IntrinsicEnums.inc
1609
1610llvm/IR/IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1611	${LLVM_TBLGEN} -gen-intrinsic-impl \
1612	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1613	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1614TGHDRS+=	llvm/IR/IntrinsicImpl.inc
1615
1616.for arch in \
1617	AArch64/aarch64 AMDGPU/amdgcn ARM/arm BPF/bpf Hexagon/hexagon \
1618	Mips/mips NVPTX/nvvm PowerPC/ppc R600/r600 RISCV/riscv S390/s390 \
1619	WebAssembly/wasm X86/x86 XCore/xcore
1620llvm/IR/Intrinsics${arch:H}.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1621	${LLVM_TBLGEN} -gen-intrinsic-enums -intrinsic-prefix=${arch:T} \
1622	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1623	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1624TGHDRS+=	llvm/IR/Intrinsics${arch:H}.h
1625.endfor
1626
1627AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1628	${LLVM_TBLGEN} -gen-attrs \
1629	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1630	    ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1631TGHDRS+=	AttributesCompatFunc.inc
1632
1633InstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
1634	${LLVM_TBLGEN} -gen-searchable-tables \
1635	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1636	    ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
1637TGHDRS+=	InstCombineTables.inc
1638
1639llvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1640	${LLVM_TBLGEN} -gen-opt-parser-defs \
1641	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1642	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1643TGHDRS+=	llvm-lib/Options.inc
1644CFLAGS.LibDriver.cpp+=	-I${.OBJDIR}/llvm-lib
1645
1646llvm-dlltool/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1647	${LLVM_TBLGEN} -gen-opt-parser-defs \
1648	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1649	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1650TGHDRS+=	llvm-dlltool/Options.inc
1651CFLAGS.DlltoolDriver.cpp+=	-I${.OBJDIR}/llvm-dlltool
1652
1653beforebuild:
1654# 20170724 remove stale Options.inc file, of which there are two different
1655# versions after upstream r308421, one for llvm-lib, one for llvm-dlltool
1656.for f in Options.inc
1657.if exists(${f}) || exists(${f}.d)
1658	@echo Removing stale generated ${f} files
1659	@rm -f ${f} ${f}.d
1660.endif
1661.endfor
1662
1663# Note: some rules are superfluous, not every combination is valid.
1664.for arch in \
1665	AArch64/AArch64 ARM/ARM BPF/BPF Mips/Mips PowerPC/PPC RISCV/RISCV \
1666	X86/X86
1667. for hdr in \
1668	AsmMatcher/-gen-asm-matcher \
1669	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
1670	AsmWriter/-gen-asm-writer \
1671	CallingConv/-gen-callingconv \
1672	CodeEmitter/-gen-emitter \
1673	CompressInstEmitter/-gen-compress-inst-emitter \
1674	DAGISel/-gen-dag-isel \
1675	DisassemblerTables/-gen-disassembler \
1676	EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \
1677	FastISel/-gen-fast-isel \
1678	GICombiner/-gen-global-isel-combiner,-combiners=${arch:H}PreLegalizerCombinerHelper \
1679	GlobalISel/-gen-global-isel \
1680	InstrInfo/-gen-instr-info \
1681	MCCodeEmitter/-gen-emitter \
1682	MCPseudoLowering/-gen-pseudo-lowering \
1683	RegisterBank/-gen-register-bank \
1684	RegisterInfo/-gen-register-info \
1685	SubtargetInfo/-gen-subtarget \
1686	SystemOperands/-gen-searchable-tables \
1687	SystemRegister/-gen-searchable-tables
1688${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1689	${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
1690	    -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
1691	    -d ${.TARGET}.d -o ${.TARGET} \
1692	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1693. endfor
1694.endfor
1695.if ${MK_LLVM_TARGET_AARCH64} != "no"
1696TGHDRS+=	AArch64GenAsmMatcher.inc
1697TGHDRS+=	AArch64GenAsmWriter.inc
1698TGHDRS+=	AArch64GenAsmWriter1.inc
1699TGHDRS+=	AArch64GenCallingConv.inc
1700TGHDRS+=	AArch64GenDAGISel.inc
1701TGHDRS+=	AArch64GenDisassemblerTables.inc
1702TGHDRS+=	AArch64GenFastISel.inc
1703TGHDRS+=	AArch64GenGICombiner.inc
1704TGHDRS+=	AArch64GenGlobalISel.inc
1705TGHDRS+=	AArch64GenInstrInfo.inc
1706TGHDRS+=	AArch64GenMCCodeEmitter.inc
1707TGHDRS+=	AArch64GenMCPseudoLowering.inc
1708TGHDRS+=	AArch64GenRegisterBank.inc
1709TGHDRS+=	AArch64GenRegisterInfo.inc
1710TGHDRS+=	AArch64GenSubtargetInfo.inc
1711TGHDRS+=	AArch64GenSystemOperands.inc
1712.endif # MK_LLVM_TARGET_AARCH64
1713.if ${MK_LLVM_TARGET_ARM} != "no"
1714TGHDRS+=	ARMGenAsmMatcher.inc
1715TGHDRS+=	ARMGenAsmWriter.inc
1716TGHDRS+=	ARMGenCallingConv.inc
1717TGHDRS+=	ARMGenDAGISel.inc
1718TGHDRS+=	ARMGenDisassemblerTables.inc
1719TGHDRS+=	ARMGenFastISel.inc
1720TGHDRS+=	ARMGenGlobalISel.inc
1721TGHDRS+=	ARMGenInstrInfo.inc
1722TGHDRS+=	ARMGenMCCodeEmitter.inc
1723TGHDRS+=	ARMGenMCPseudoLowering.inc
1724TGHDRS+=	ARMGenRegisterBank.inc
1725TGHDRS+=	ARMGenRegisterInfo.inc
1726TGHDRS+=	ARMGenSubtargetInfo.inc
1727TGHDRS+=	ARMGenSystemRegister.inc
1728.endif # MK_LLVM_TARGET_ARM
1729.if ${MK_LLVM_TARGET_BPF} != "no"
1730TGHDRS+=	BPFGenAsmMatcher.inc
1731TGHDRS+=	BPFGenAsmWriter.inc
1732TGHDRS+=	BPFGenCallingConv.inc
1733TGHDRS+=	BPFGenDAGISel.inc
1734TGHDRS+=	BPFGenDisassemblerTables.inc
1735TGHDRS+=	BPFGenInstrInfo.inc
1736TGHDRS+=	BPFGenMCCodeEmitter.inc
1737TGHDRS+=	BPFGenRegisterInfo.inc
1738TGHDRS+=	BPFGenSubtargetInfo.inc
1739.endif # MK_LLVM_TARGET_BPF
1740.if ${MK_LLVM_TARGET_MIPS} != "no"
1741TGHDRS+=	MipsGenAsmMatcher.inc
1742TGHDRS+=	MipsGenAsmWriter.inc
1743TGHDRS+=	MipsGenCallingConv.inc
1744TGHDRS+=	MipsGenDAGISel.inc
1745TGHDRS+=	MipsGenDisassemblerTables.inc
1746TGHDRS+=	MipsGenFastISel.inc
1747TGHDRS+=	MipsGenGlobalISel.inc
1748TGHDRS+=	MipsGenInstrInfo.inc
1749TGHDRS+=	MipsGenMCCodeEmitter.inc
1750TGHDRS+=	MipsGenMCPseudoLowering.inc
1751TGHDRS+=	MipsGenRegisterBank.inc
1752TGHDRS+=	MipsGenRegisterInfo.inc
1753TGHDRS+=	MipsGenSubtargetInfo.inc
1754.endif # MK_LLVM_TARGET_MIPS
1755.if ${MK_LLVM_TARGET_POWERPC} != "no"
1756TGHDRS+=	PPCGenAsmMatcher.inc
1757TGHDRS+=	PPCGenAsmWriter.inc
1758TGHDRS+=	PPCGenCallingConv.inc
1759TGHDRS+=	PPCGenDAGISel.inc
1760TGHDRS+=	PPCGenDisassemblerTables.inc
1761TGHDRS+=	PPCGenFastISel.inc
1762TGHDRS+=	PPCGenInstrInfo.inc
1763TGHDRS+=	PPCGenMCCodeEmitter.inc
1764TGHDRS+=	PPCGenRegisterInfo.inc
1765TGHDRS+=	PPCGenSubtargetInfo.inc
1766.endif # MK_LLVM_TARGET_POWERPC
1767.if ${MK_LLVM_TARGET_RISCV} != "no"
1768TGHDRS+=	RISCVGenAsmMatcher.inc
1769TGHDRS+=	RISCVGenAsmWriter.inc
1770TGHDRS+=	RISCVGenCallingConv.inc
1771TGHDRS+=	RISCVGenCompressInstEmitter.inc
1772TGHDRS+=	RISCVGenDAGISel.inc
1773TGHDRS+=	RISCVGenDisassemblerTables.inc
1774TGHDRS+=	RISCVGenDAGISel.inc
1775TGHDRS+=	RISCVGenGlobalISel.inc
1776TGHDRS+=	RISCVGenInstrInfo.inc
1777TGHDRS+=	RISCVGenMCCodeEmitter.inc
1778TGHDRS+=	RISCVGenMCPseudoLowering.inc
1779TGHDRS+=	RISCVGenRegisterBank.inc
1780TGHDRS+=	RISCVGenRegisterInfo.inc
1781TGHDRS+=	RISCVGenSubtargetInfo.inc
1782TGHDRS+=	RISCVGenSystemOperands.inc
1783.endif # MK_LLVM_TARGET_RISCV
1784.if ${MK_LLVM_TARGET_X86} != "no"
1785TGHDRS+=	X86GenAsmMatcher.inc
1786TGHDRS+=	X86GenAsmWriter.inc
1787TGHDRS+=	X86GenAsmWriter1.inc
1788TGHDRS+=	X86GenCallingConv.inc
1789TGHDRS+=	X86GenDAGISel.inc
1790TGHDRS+=	X86GenDisassemblerTables.inc
1791TGHDRS+=	X86GenEVEX2VEXTables.inc
1792TGHDRS+=	X86GenFastISel.inc
1793TGHDRS+=	X86GenGlobalISel.inc
1794TGHDRS+=	X86GenInstrInfo.inc
1795TGHDRS+=	X86GenRegisterBank.inc
1796TGHDRS+=	X86GenRegisterInfo.inc
1797TGHDRS+=	X86GenSubtargetInfo.inc
1798.endif # MK_LLVM_TARGET_X86
1799
1800DEPENDFILES+=	${TGHDRS:C/$/.d/}
1801DPSRCS+=	${TGHDRS}
1802CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1803
1804.include "../llvm.build.mk"
1805.include <bsd.lib.mk>
1806