xref: /freebsd/lib/clang/libllvm/Makefile (revision 0db9a49e8434243aaecff8708eae89ff0bb29036)
1986e05bcSDimitry Andric# $FreeBSD$
2986e05bcSDimitry Andric
3986e05bcSDimitry Andric.include <src.opts.mk>
4986e05bcSDimitry Andric.include "../llvm.pre.mk"
5986e05bcSDimitry Andric
6986e05bcSDimitry AndricLIB=		llvm
7986e05bcSDimitry AndricINTERNALLIB=
8986e05bcSDimitry Andric
9986e05bcSDimitry AndricCFLAGS+=	-I${.OBJDIR}
10cbafd263SDimitry Andric
11cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} == "no" && ${MK_LLVM_TARGET_ARM} == "no" && \
1289edb881SDimitry Andric    ${MK_LLVM_TARGET_BPF} == "no" && ${MK_LLVM_TARGET_MIPS} == "no" && \
13b2689b12SMitchell Horne    ${MK_LLVM_TARGET_POWERPC} == "no" && ${MK_LLVM_TARGET_RISCV} == "no" && \
14b2689b12SMitchell Horne    ${MK_LLVM_TARGET_SPARC} == "no" && ${MK_LLVM_TARGET_X86} == "no"
15cbafd263SDimitry Andric.error Please enable at least one of: MK_LLVM_TARGET_AARCH64,\
1689edb881SDimitry Andric MK_LLVM_TARGET_ARM, MK_LLVM_TARGET_BPF, MK_LLVM_TARGET_MIPS, \
17b2689b12SMitchell Horne MK_LLVM_TARGET_POWERPC, MK_LLVM_TARGET_RISCV, MK_LLVM_TARGET_SPARC, \
18b2689b12SMitchell Horne or MK_LLVM_TARGET_X86
19cbafd263SDimitry Andric.endif
20cbafd263SDimitry Andric
21b2689b12SMitchell Horne.for arch in AArch64 ARM BPF Mips PowerPC RISCV Sparc X86
22cbafd263SDimitry Andric. if ${MK_LLVM_TARGET_${arch:tu}} != "no"
23986e05bcSDimitry AndricCFLAGS+=	-I${LLVM_SRCS}/lib/Target/${arch}
24cbafd263SDimitry Andric. endif
25986e05bcSDimitry Andric.endfor
26986e05bcSDimitry Andric
27986e05bcSDimitry AndricSRCDIR=		lib
28986e05bcSDimitry Andric
29986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasAnalysis.cpp
30986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasAnalysisEvaluator.cpp
31986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasAnalysisSummary.cpp
32986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasSetTracker.cpp
33986e05bcSDimitry AndricSRCS_EXT+=	Analysis/Analysis.cpp
34986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AssumptionCache.cpp
35986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BasicAliasAnalysis.cpp
36986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BlockFrequencyInfo.cpp
37986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BlockFrequencyInfoImpl.cpp
38986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BranchProbabilityInfo.cpp
39986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFG.cpp
40986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFGPrinter.cpp
41986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFLAndersAliasAnalysis.cpp
42986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFLSteensAliasAnalysis.cpp
43986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CGSCCPassManager.cpp
44986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CallGraph.cpp
45986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CallGraphSCCPass.cpp
46986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CallPrinter.cpp
47986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CaptureTracking.cpp
4836cb3905SDimitry AndricSRCS_MIN+=	Analysis/CmpInstAnalysis.cpp
49986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CodeMetrics.cpp
50986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ConstantFolding.cpp
51986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CostModel.cpp
52986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Delinearization.cpp
53986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DemandedBits.cpp
54986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DependenceAnalysis.cpp
55986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DivergenceAnalysis.cpp
56986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DomPrinter.cpp
574014a71fSDimitry AndricSRCS_MIN+=	Analysis/DomTreeUpdater.cpp
58986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DominanceFrontier.cpp
59986e05bcSDimitry AndricSRCS_MIN+=	Analysis/EHPersonalities.cpp
60986e05bcSDimitry AndricSRCS_MIN+=	Analysis/GlobalsModRef.cpp
615e86819cSDimitry AndricSRCS_MIN+=	Analysis/GuardUtils.cpp
625e86819cSDimitry AndricSRCS_MIN+=	Analysis/IVDescriptors.cpp
63986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IVUsers.cpp
64986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IndirectCallPromotionAnalysis.cpp
65986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InlineCost.cpp
66986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InstCount.cpp
675e86819cSDimitry AndricSRCS_MIN+=	Analysis/InstructionPrecedenceTracking.cpp
68986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InstructionSimplify.cpp
69986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Interval.cpp
70986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IntervalPartition.cpp
71986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LazyBlockFrequencyInfo.cpp
7209bfd043SDimitry AndricSRCS_MIN+=	Analysis/LazyBranchProbabilityInfo.cpp
73986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LazyCallGraph.cpp
74986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LazyValueInfo.cpp
755e86819cSDimitry AndricSRCS_MIN+=	Analysis/LegacyDivergenceAnalysis.cpp
76986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Lint.cpp
77986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Loads.cpp
78986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopAccessAnalysis.cpp
79f1a29dd3SDimitry AndricSRCS_MIN+=	Analysis/LoopAnalysisManager.cpp
80986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopInfo.cpp
81986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopPass.cpp
82986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopUnrollAnalyzer.cpp
83986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemDepPrinter.cpp
84986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemDerefPrinter.cpp
85986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemoryBuiltins.cpp
86986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemoryDependenceAnalysis.cpp
87986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemoryLocation.cpp
885897d2f0SDimitry AndricSRCS_MIN+=	Analysis/MemorySSA.cpp
895897d2f0SDimitry AndricSRCS_MIN+=	Analysis/MemorySSAUpdater.cpp
90986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ModuleDebugInfoPrinter.cpp
91986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ModuleSummaryAnalysis.cpp
929f6e9a9fSDimitry AndricSRCS_MIN+=	Analysis/MustExecute.cpp
93986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ObjCARCAliasAnalysis.cpp
94986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ObjCARCAnalysisUtils.cpp
95986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ObjCARCInstKind.cpp
9636cb3905SDimitry AndricSRCS_MIN+=	Analysis/OptimizationRemarkEmitter.cpp
97986e05bcSDimitry AndricSRCS_MIN+=	Analysis/OrderedBasicBlock.cpp
985e86819cSDimitry AndricSRCS_MIN+=	Analysis/OrderedInstructions.cpp
99986e05bcSDimitry AndricSRCS_MIN+=	Analysis/PHITransAddr.cpp
1009f6e9a9fSDimitry AndricSRCS_MIN+=	Analysis/PhiValues.cpp
101986e05bcSDimitry AndricSRCS_MIN+=	Analysis/PostDominators.cpp
102986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ProfileSummaryInfo.cpp
103986e05bcSDimitry AndricSRCS_MIN+=	Analysis/PtrUseVisitor.cpp
104986e05bcSDimitry AndricSRCS_MIN+=	Analysis/RegionInfo.cpp
105986e05bcSDimitry AndricSRCS_MIN+=	Analysis/RegionPass.cpp
106986e05bcSDimitry AndricSRCS_MIN+=	Analysis/RegionPrinter.cpp
107986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolution.cpp
108986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolutionAliasAnalysis.cpp
109986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolutionExpander.cpp
110986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolutionNormalization.cpp
111986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScopedNoAliasAA.cpp
1125e86819cSDimitry AndricSRCS_MIN+=	Analysis/StackSafetyAnalysis.cpp
1135e86819cSDimitry AndricSRCS_MIN+=	Analysis/SyncDependenceAnalysis.cpp
1149f6e9a9fSDimitry AndricSRCS_MIN+=	Analysis/SyntheticCountsUtils.cpp
115986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TargetLibraryInfo.cpp
116986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TargetTransformInfo.cpp
117986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TypeBasedAliasAnalysis.cpp
118986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TypeMetadataUtils.cpp
11936cb3905SDimitry AndricSRCS_MIN+=	Analysis/ValueLattice.cpp
12036cb3905SDimitry AndricSRCS_MIN+=	Analysis/ValueLatticeUtils.cpp
121986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ValueTracking.cpp
122986e05bcSDimitry AndricSRCS_MIN+=	Analysis/VectorUtils.cpp
123986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/LLLexer.cpp
124986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/LLParser.cpp
125986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/Parser.cpp
12644389c28SDimitry AndricSRCS_MIN+=	BinaryFormat/Dwarf.cpp
12744389c28SDimitry AndricSRCS_MIN+=	BinaryFormat/Magic.cpp
1289f6e9a9fSDimitry AndricSRCS_MIN+=	BinaryFormat/Wasm.cpp
12909bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitReader.cpp
130986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitcodeReader.cpp
13109bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/MetadataLoader.cpp
13209bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/ValueList.cpp
133986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitcodeWriter.cpp
134986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitcodeWriterPass.cpp
135986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/ValueEnumerator.cpp
1364014a71fSDimitry AndricSRCS_MIN+=	Bitstream/Reader/BitstreamReader.cpp
137986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AggressiveAntiDepBreaker.cpp
138986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AllocationOrder.cpp
139986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/Analysis.cpp
140986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/ARMException.cpp
1419f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AccelTable.cpp
142986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AddressPool.cpp
143986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinter.cpp
144986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
145986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
146986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/CodeViewDebug.cpp
147986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DIE.cpp
148986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DIEHash.cpp
1495e86819cSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
150986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DebugHandlerBase.cpp
151986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DebugLocStream.cpp
152986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfCFIException.cpp
153986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfCompileUnit.cpp
154986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfDebug.cpp
155986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfExpression.cpp
156986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfFile.cpp
157986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfStringPool.cpp
158986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfUnit.cpp
159986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/EHStreamer.cpp
160986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/OcamlGCPrinter.cpp
1615e86819cSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WasmException.cpp
1629f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WinCFGuard.cpp
163986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WinException.cpp
164986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AtomicExpandPass.cpp
165986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BasicTargetTransformInfo.cpp
166986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BranchFolding.cpp
16709bfd043SDimitry AndricSRCS_MIN+=	CodeGen/BranchRelaxation.cpp
1689f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/BreakFalseDeps.cpp
1699f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/CFIInstrInserter.cpp
170986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CalcSpillWeights.cpp
171986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CallingConvLower.cpp
172986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CodeGen.cpp
173986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CodeGenPrepare.cpp
174986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CriticalAntiDepBreaker.cpp
175986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DFAPacketizer.cpp
176986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DeadMachineInstructionElim.cpp
177986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DetectDeadLanes.cpp
178986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DwarfEHPrepare.cpp
179986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/EarlyIfConversion.cpp
180986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/EdgeBundles.cpp
1819f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/ExecutionDomainFix.cpp
18236cb3905SDimitry AndricSRCS_MIN+=	CodeGen/ExpandMemCmp.cpp
183986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ExpandPostRAPseudos.cpp
1845517e702SDimitry AndricSRCS_MIN+=	CodeGen/ExpandReductions.cpp
1855897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/FEntryInserter.cpp
186986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/FaultMaps.cpp
1874014a71fSDimitry AndricSRCS_MIN+=	CodeGen/FinalizeISel.cpp
188986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/FuncletLayout.cpp
189986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GCMetadata.cpp
19009bfd043SDimitry AndricSRCS_MIN+=	CodeGen/GCMetadataPrinter.cpp
191986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GCRootLowering.cpp
19209bfd043SDimitry AndricSRCS_MIN+=	CodeGen/GCStrategy.cpp
1935e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CSEInfo.cpp
1945e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CSEMIRBuilder.cpp
1955e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Combiner.cpp
1965e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CombinerHelper.cpp
1973d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CallLowering.cpp
1985e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/GISelChangeObserver.cpp
199986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/GlobalISel.cpp
2003d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/IRTranslator.cpp
2013d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/InstructionSelect.cpp
2023d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/InstructionSelector.cpp
2039f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalityPredicates.cpp
2049f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizeMutations.cpp
2053d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Legalizer.cpp
2063d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizerHelper.cpp
2073d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizerInfo.cpp
208302affcbSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Localizer.cpp
2093d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/MachineIRBuilder.cpp
2103d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegBankSelect.cpp
2113d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegisterBank.cpp
2123d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegisterBankInfo.cpp
2133d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Utils.cpp
214986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GlobalMerge.cpp
2154014a71fSDimitry AndricSRCS_MIN+=	CodeGen/HardwareLoops.cpp
216986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/IfConversion.cpp
217986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ImplicitNullChecks.cpp
21807577dfeSDimitry AndricSRCS_MIN+=	CodeGen/IndirectBrExpandPass.cpp
219986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InlineSpiller.cpp
220986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InterferenceCache.cpp
221986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InterleavedAccessPass.cpp
2225e86819cSDimitry AndricSRCS_MIN+=	CodeGen/InterleavedLoadCombinePass.cpp
223986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/IntrinsicLowering.cpp
224986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LLVMTargetMachine.cpp
225986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LatencyPriorityQueue.cpp
2265897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/LazyMachineBlockFrequencyInfo.cpp
227986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LexicalScopes.cpp
228986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveDebugValues.cpp
229986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveDebugVariables.cpp
230986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveInterval.cpp
231986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveIntervalUnion.cpp
23244389c28SDimitry AndricSRCS_MIN+=	CodeGen/LiveIntervals.cpp
233986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LivePhysRegs.cpp
234986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeCalc.cpp
235986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeEdit.cpp
236f9448bf3SDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeShrink.cpp
237986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRegMatrix.cpp
2385897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/LiveRegUnits.cpp
2392757ff7eSDimitry AndricSRCS_MIN+=	CodeGen/LiveStacks.cpp
240986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveVariables.cpp
241986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LocalStackSlotAllocation.cpp
2429f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/LoopTraversal.cpp
24309bfd043SDimitry AndricSRCS_MIN+=	CodeGen/LowLevelType.cpp
244986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LowerEmuTLS.cpp
24536cb3905SDimitry AndricSRCS_MIN+=	CodeGen/MIRCanonicalizerPass.cpp
246986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MILexer.cpp
247986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MIParser.cpp
248986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MIRParser.cpp
249986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MIRPrinter.cpp
250986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MIRPrintingPass.cpp
251986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBasicBlock.cpp
252986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBlockFrequencyInfo.cpp
253986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBlockPlacement.cpp
254986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBranchProbabilityInfo.cpp
255986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCSE.cpp
256986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCombiner.cpp
257986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCopyPropagation.cpp
258986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineDominanceFrontier.cpp
259986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineDominators.cpp
260f37b6182SDimitry AndricSRCS_MIN+=	CodeGen/MachineFrameInfo.cpp
261986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunction.cpp
262986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunctionPass.cpp
263986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunctionPrinterPass.cpp
264986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineInstr.cpp
265986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineInstrBundle.cpp
266986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineLICM.cpp
267986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineLoopInfo.cpp
268986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineModuleInfo.cpp
269986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineModuleInfoImpls.cpp
27036cb3905SDimitry AndricSRCS_MIN+=	CodeGen/MachineOperand.cpp
2715897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/MachineOptimizationRemarkEmitter.cpp
2725897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/MachineOutliner.cpp
27309bfd043SDimitry AndricSRCS_MIN+=	CodeGen/MachinePipeliner.cpp
274986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachinePostDominators.cpp
275986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineRegionInfo.cpp
276986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineRegisterInfo.cpp
277986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineSSAUpdater.cpp
278986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineScheduler.cpp
279986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineSink.cpp
280986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineTraceMetrics.cpp
281986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineVerifier.cpp
282edd7eaddSDimitry AndricSRCS_MIN+=	CodeGen/MacroFusion.cpp
283986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/OptimizePHIs.cpp
284986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PHIElimination.cpp
285986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PHIEliminationUtils.cpp
286986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ParallelCG.cpp
287986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PatchableFunction.cpp
288986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PeepholeOptimizer.cpp
289986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PostRAHazardRecognizer.cpp
290986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PostRASchedulerList.cpp
291986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PreISelIntrinsicLowering.cpp
292986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ProcessImplicitDefs.cpp
293986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PrologEpilogInserter.cpp
294986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PseudoSourceValue.cpp
2959f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/ReachingDefAnalysis.cpp
296986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocBase.cpp
297986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocBasic.cpp
298986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocFast.cpp
299986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocGreedy.cpp
300986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocPBQP.cpp
301986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegUsageInfoCollector.cpp
302986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegUsageInfoPropagate.cpp
303986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterClassInfo.cpp
304986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterCoalescer.cpp
305986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterPressure.cpp
306986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterScavenging.cpp
307986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterUsageInfo.cpp
308986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RenameIndependentSubregs.cpp
30909bfd043SDimitry AndricSRCS_MIN+=	CodeGen/ResetMachineFunctionPass.cpp
310986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStack.cpp
311986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStackColoring.cpp
312986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStackLayout.cpp
3135517e702SDimitry AndricSRCS_MIN+=	CodeGen/ScalarizeMaskedMemIntrin.cpp
314986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAG.cpp
315986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAGInstrs.cpp
316986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAGPrinter.cpp
317986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScoreboardHazardRecognizer.cpp
318986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/DAGCombiner.cpp
319986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/FastISel.cpp
320986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
321986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/InstrEmitter.cpp
322986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeDAG.cpp
323986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
324986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
325986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypes.cpp
326986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
327986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorOps.cpp
328986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
329986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
330986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGFast.cpp
331986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
332986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
333986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
334986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAG.cpp
33544389c28SDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
336986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
337986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGDumper.cpp
338986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGISel.cpp
339986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
340986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
341986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/StatepointLowering.cpp
342986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/TargetLowering.cpp
343986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ShadowStackGCLowering.cpp
344986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ShrinkWrap.cpp
345986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SjLjEHPrepare.cpp
346986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SlotIndexes.cpp
347986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SpillPlacement.cpp
348986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SplitKit.cpp
349986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackColoring.cpp
350986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackMapLivenessAnalysis.cpp
351986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackMaps.cpp
352986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackProtector.cpp
353986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackSlotColoring.cpp
3544014a71fSDimitry AndricSRCS_MIN+=	CodeGen/SwiftErrorValueTracking.cpp
3554014a71fSDimitry AndricSRCS_MIN+=	CodeGen/SwitchLoweringUtils.cpp
356986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TailDuplication.cpp
357986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TailDuplicator.cpp
358986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetFrameLoweringImpl.cpp
359986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetInstrInfo.cpp
360986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetLoweringBase.cpp
361986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetLoweringObjectFileImpl.cpp
362986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetOptionsImpl.cpp
363986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetPassConfig.cpp
364986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetRegisterInfo.cpp
365986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetSchedule.cpp
36609bfd043SDimitry AndricSRCS_MIN+=	CodeGen/TargetSubtargetInfo.cpp
367986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TwoAddressInstructionPass.cpp
368986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/UnreachableBlockElim.cpp
3699f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/ValueTypes.cpp
370986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/VirtRegMap.cpp
3719f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/WasmEHPrepare.cpp
372986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/WinEHPrepare.cpp
373986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/XRayInstrumentation.cpp
3743cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
37509bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CVSymbolVisitor.cpp
376986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CVTypeVisitor.cpp
377986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CodeViewError.cpp
37809bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CodeViewRecordIO.cpp
37936cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/ContinuationRecordBuilder.cpp
38089cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugChecksumsSubsection.cpp
381db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugCrossExSubsection.cpp
382db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugCrossImpSubsection.cpp
38389cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugFrameDataSubsection.cpp
38489cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
38589cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugLinesSubsection.cpp
38689cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugStringTableSubsection.cpp
38789cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsection.cpp
38889cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionRecord.cpp
38989cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionVisitor.cpp
390db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSymbolRVASubsection.cpp
39189cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSymbolsSubsection.cpp
3925e86819cSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/EnumTables.cpp
3935897d2f0SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/Formatters.cpp
39436cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
3952a1b82cfSDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/LazyRandomTypeCollection.cpp
396986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/Line.cpp
3973cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/MergingTypeTableBuilder.cpp
39836cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/RecordName.cpp
399986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/RecordSerialization.cpp
40036cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SimpleTypeSerializer.cpp
40124d58133SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/StringsAndChecksums.cpp
402986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SymbolDumper.cpp
40309bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SymbolRecordMapping.cpp
404050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/SymbolSerializer.cpp
405f1a29dd3SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeDumpVisitor.cpp
40636cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeHashing.cpp
407d8866befSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeIndex.cpp
40806230659SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeIndexDiscovery.cpp
409efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/TypeRecordHelpers.cpp
41009bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeRecordMapping.cpp
411986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeStreamMerger.cpp
412d8866befSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeTableCollection.cpp
413caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
414caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
415*0db9a49eSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFAddressRange.cpp
416caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
417caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFContext.cpp
418*0db9a49eSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
419caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
42099be4f2aSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAddr.cpp
421*0db9a49eSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
422caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
423caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
424*0db9a49eSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
425caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLine.cpp
426caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
427*0db9a49eSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
428caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
429caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
43067b158f6SDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRnglists.cpp
431caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDie.cpp
432caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFExpression.cpp
433caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFFormValue.cpp
434caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
43567b158f6SDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFListTable.cpp
436caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
437caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFUnit.cpp
438caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
439caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFVerifier.cpp
44009bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFBuilder.cpp
44109bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFCommon.cpp
44209bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MappedBlockStream.cpp
443986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/GenericError.cpp
44409bfd043SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/IPDBSourceFile.cpp
445f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
446f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
4470f5676f4SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleList.cpp
448050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiStream.cpp
449050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiStreamBuilder.cpp
450050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/EnumTables.cpp
4513cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/GSIStreamBuilder.cpp
452050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/GlobalsStream.cpp
453050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/Hash.cpp
454050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/HashTable.cpp
455050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/InfoStream.cpp
456050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/InfoStreamBuilder.cpp
457f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/ModuleDebugStream.cpp
458050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NamedStreamMap.cpp
459050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
460efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumGlobals.cpp
461050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumModules.cpp
46244389c28SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumTypes.cpp
463050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeExeSymbol.cpp
464050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeRawSymbol.cpp
465050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeSession.cpp
466efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp
467efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeArray.cpp
468efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeBuiltin.cpp
469efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeEnum.cpp
470efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeFunctionSig.cpp
471efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypePointer.cpp
472efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeTypedef.cpp
473efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeUDT.cpp
474efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeVTShape.cpp
475050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBFile.cpp
476050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBFileBuilder.cpp
477b174acefSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTable.cpp
478b174acefSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
4793d54deb3SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PublicsStream.cpp
4803d54deb3SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/RawError.cpp
481efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/SymbolCache.cpp
482050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/SymbolStream.cpp
483050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiHashing.cpp
484050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiStream.cpp
485050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiStreamBuilder.cpp
486986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDB.cpp
487986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBContext.cpp
488986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBExtras.cpp
489986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBInterfaceAnchors.cpp
490986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymDumper.cpp
491986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbol.cpp
492986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolAnnotation.cpp
493986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolBlock.cpp
494986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompiland.cpp
495986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandDetails.cpp
496986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandEnv.cpp
497986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCustom.cpp
498986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolData.cpp
499986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolExe.cpp
500986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFunc.cpp
501986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp
502986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp
503986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolLabel.cpp
504986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolPublicSymbol.cpp
505986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolThunk.cpp
506986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeArray.cpp
507986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp
508986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp
509986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeCustom.cpp
510986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeDimension.cpp
511986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeEnum.cpp
512986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFriend.cpp
513986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp
514986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
515986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeManaged.cpp
516986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypePointer.cpp
517986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeTypedef.cpp
518986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeUDT.cpp
519986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTable.cpp
520986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp
521986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolUnknown.cpp
522986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
523050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/UDTLayout.cpp
524*0db9a49eSDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/DIPrinter.cpp
52509bfd043SDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/SymbolizableObjectFile.cpp
52609bfd043SDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/Symbolize.cpp
527*0db9a49eSDimitry AndricSRCS_MIW+=	Demangle/Demangle.cpp
52809bfd043SDimitry AndricSRCS_MIN+=	Demangle/ItaniumDemangle.cpp
529*0db9a49eSDimitry AndricSRCS_MIW+=	Demangle/MicrosoftDemangle.cpp
530*0db9a49eSDimitry AndricSRCS_MIW+=	Demangle/MicrosoftDemangleNodes.cpp
531986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/ExecutionEngine.cpp
532986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/ExecutionEngineBindings.cpp
533986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/GDBRegistrationListener.cpp
534986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/Execution.cpp
535986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/ExternalFunctions.cpp
536986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/Interpreter.cpp
537986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/MCJIT/MCJIT.cpp
53867b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/CompileOnDemandLayer.cpp
53967b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/Core.cpp
540986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/ExecutionUtils.cpp
54167b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IRCompileLayer.cpp
54267b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IRTransformLayer.cpp
543986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IndirectionUtils.cpp
544efa75597SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
54567b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/LLJIT.cpp
54667b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/Layer.cpp
547efa75597SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/LazyReexports.cpp
54867b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/Legacy.cpp
549986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/NullResolver.cpp
550986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcABISupport.cpp
551986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcCBindings.cpp
552986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcError.cpp
553986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcMCJITReplacement.cpp
554050e2df1SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/RPCUtils.cpp
55567b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
556efa75597SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/ThreadSafeModule.cpp
55709bfd043SDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/JITSymbol.cpp
558986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
559986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
560986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
561986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
562986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
563986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
56409bfd043SDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
565986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/SectionMemoryManager.cpp
566986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/TargetSelect.cpp
5674014a71fSDimitry AndricSRCS_MIN+=	IR/AbstractCallSite.cpp
568986e05bcSDimitry AndricSRCS_MIN+=	IR/AsmWriter.cpp
569986e05bcSDimitry AndricSRCS_MIN+=	IR/Attributes.cpp
570986e05bcSDimitry AndricSRCS_MIN+=	IR/AutoUpgrade.cpp
571986e05bcSDimitry AndricSRCS_MIN+=	IR/BasicBlock.cpp
572986e05bcSDimitry AndricSRCS_MIN+=	IR/Comdat.cpp
573986e05bcSDimitry AndricSRCS_MIN+=	IR/ConstantFold.cpp
574986e05bcSDimitry AndricSRCS_MIN+=	IR/ConstantRange.cpp
575986e05bcSDimitry AndricSRCS_MIN+=	IR/Constants.cpp
576986e05bcSDimitry AndricSRCS_MIN+=	IR/Core.cpp
577986e05bcSDimitry AndricSRCS_MIN+=	IR/DIBuilder.cpp
578986e05bcSDimitry AndricSRCS_MIN+=	IR/DataLayout.cpp
579986e05bcSDimitry AndricSRCS_MIN+=	IR/DebugInfo.cpp
580986e05bcSDimitry AndricSRCS_MIN+=	IR/DebugInfoMetadata.cpp
581986e05bcSDimitry AndricSRCS_MIN+=	IR/DebugLoc.cpp
58236cb3905SDimitry AndricSRCS_MIN+=	IR/DiagnosticHandler.cpp
583986e05bcSDimitry AndricSRCS_MIN+=	IR/DiagnosticInfo.cpp
584986e05bcSDimitry AndricSRCS_MIN+=	IR/DiagnosticPrinter.cpp
585986e05bcSDimitry AndricSRCS_MIN+=	IR/Dominators.cpp
586986e05bcSDimitry AndricSRCS_MIN+=	IR/Function.cpp
587986e05bcSDimitry AndricSRCS_MIN+=	IR/GVMaterializer.cpp
588986e05bcSDimitry AndricSRCS_MIN+=	IR/Globals.cpp
589986e05bcSDimitry AndricSRCS_MIN+=	IR/IRBuilder.cpp
590986e05bcSDimitry AndricSRCS_MIN+=	IR/IRPrintingPasses.cpp
591986e05bcSDimitry AndricSRCS_MIN+=	IR/InlineAsm.cpp
592986e05bcSDimitry AndricSRCS_MIN+=	IR/Instruction.cpp
593986e05bcSDimitry AndricSRCS_MIN+=	IR/Instructions.cpp
594986e05bcSDimitry AndricSRCS_MIN+=	IR/IntrinsicInst.cpp
595986e05bcSDimitry AndricSRCS_MIN+=	IR/LLVMContext.cpp
596986e05bcSDimitry AndricSRCS_MIN+=	IR/LLVMContextImpl.cpp
597986e05bcSDimitry AndricSRCS_MIN+=	IR/LegacyPassManager.cpp
598986e05bcSDimitry AndricSRCS_MIN+=	IR/MDBuilder.cpp
599986e05bcSDimitry AndricSRCS_MIN+=	IR/Mangler.cpp
600986e05bcSDimitry AndricSRCS_MIN+=	IR/Metadata.cpp
601986e05bcSDimitry AndricSRCS_MIN+=	IR/Module.cpp
602986e05bcSDimitry AndricSRCS_MIN+=	IR/ModuleSummaryIndex.cpp
603986e05bcSDimitry AndricSRCS_MIN+=	IR/Operator.cpp
604986e05bcSDimitry AndricSRCS_MIN+=	IR/OptBisect.cpp
605986e05bcSDimitry AndricSRCS_MIN+=	IR/Pass.cpp
6065e86819cSDimitry AndricSRCS_MIN+=	IR/PassInstrumentation.cpp
607986e05bcSDimitry AndricSRCS_MIN+=	IR/PassManager.cpp
608986e05bcSDimitry AndricSRCS_MIN+=	IR/PassRegistry.cpp
6095e86819cSDimitry AndricSRCS_MIN+=	IR/PassTimingInfo.cpp
610986e05bcSDimitry AndricSRCS_MIN+=	IR/ProfileSummary.cpp
6114014a71fSDimitry AndricSRCS_MIN+=	IR/RemarkStreamer.cpp
612c4394386SDimitry AndricSRCS_MIN+=	IR/SafepointIRVerifier.cpp
613986e05bcSDimitry AndricSRCS_MIN+=	IR/Statepoint.cpp
614986e05bcSDimitry AndricSRCS_MIN+=	IR/Type.cpp
615986e05bcSDimitry AndricSRCS_MIN+=	IR/TypeFinder.cpp
616986e05bcSDimitry AndricSRCS_MIN+=	IR/Use.cpp
617986e05bcSDimitry AndricSRCS_MIN+=	IR/User.cpp
618986e05bcSDimitry AndricSRCS_MIN+=	IR/Value.cpp
619986e05bcSDimitry AndricSRCS_MIN+=	IR/ValueSymbolTable.cpp
620986e05bcSDimitry AndricSRCS_MIN+=	IR/Verifier.cpp
621986e05bcSDimitry AndricSRCS_MIN+=	IRReader/IRReader.cpp
62209bfd043SDimitry AndricSRCS_EXL+=	LTO/Caching.cpp
6235897d2f0SDimitry AndricSRCS_MIN+=	LTO/LTO.cpp
62409bfd043SDimitry AndricSRCS_MIN+=	LTO/LTOBackend.cpp
62575bc38b9SEd MasteSRCS_EXL+=	LTO/LTOCodeGenerator.cpp
62675bc38b9SEd MasteSRCS_EXL+=	LTO/LTOModule.cpp
627efa75597SDimitry AndricSRCS_EXL+=	LTO/SummaryBasedOptimizations.cpp
62875bc38b9SEd MasteSRCS_EXL+=	LTO/ThinLTOCodeGenerator.cpp
62909bfd043SDimitry AndricSRCS_MIN+=	LTO/UpdateCompilerUsed.cpp
630986e05bcSDimitry AndricSRCS_MIN+=	LineEditor/LineEditor.cpp
631986e05bcSDimitry AndricSRCS_MIN+=	Linker/IRMover.cpp
632986e05bcSDimitry AndricSRCS_MIN+=	Linker/LinkModules.cpp
633986e05bcSDimitry AndricSRCS_MIN+=	MC/ConstantPools.cpp
634986e05bcSDimitry AndricSRCS_MIN+=	MC/ELFObjectWriter.cpp
635986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmBackend.cpp
636986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfo.cpp
637986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoCOFF.cpp
638986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoDarwin.cpp
639986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoELF.cpp
6404014a71fSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoXCOFF.cpp
6419f6e9a9fSDimitry AndricSRCS_MIN+=	MC/MCAsmMacro.cpp
642986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmStreamer.cpp
643986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAssembler.cpp
644986e05bcSDimitry AndricSRCS_MIN+=	MC/MCCodeEmitter.cpp
64536cb3905SDimitry AndricSRCS_MIN+=	MC/MCCodePadder.cpp
646986e05bcSDimitry AndricSRCS_MIN+=	MC/MCCodeView.cpp
647986e05bcSDimitry AndricSRCS_MIN+=	MC/MCContext.cpp
64875bc38b9SEd MasteSRCS_XDL+=	MC/MCDisassembler/Disassembler.cpp
64930d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCDisassembler.cpp
65030d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCExternalSymbolizer.cpp
651986e05bcSDimitry AndricSRCS_MIN+=	MC/MCDisassembler/MCRelocationInfo.cpp
65230d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCSymbolizer.cpp
653986e05bcSDimitry AndricSRCS_MIN+=	MC/MCDwarf.cpp
654986e05bcSDimitry AndricSRCS_MIN+=	MC/MCELFObjectTargetWriter.cpp
655986e05bcSDimitry AndricSRCS_MIN+=	MC/MCELFStreamer.cpp
656986e05bcSDimitry AndricSRCS_MIN+=	MC/MCExpr.cpp
657986e05bcSDimitry AndricSRCS_MIN+=	MC/MCFragment.cpp
658986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInst.cpp
659986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstPrinter.cpp
660986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstrAnalysis.cpp
661986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstrDesc.cpp
662986e05bcSDimitry AndricSRCS_MIN+=	MC/MCLinkerOptimizationHint.cpp
663986e05bcSDimitry AndricSRCS_MIN+=	MC/MCMachOStreamer.cpp
664986e05bcSDimitry AndricSRCS_MIN+=	MC/MCMachObjectTargetWriter.cpp
665986e05bcSDimitry AndricSRCS_MIN+=	MC/MCNullStreamer.cpp
666986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectFileInfo.cpp
667986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectStreamer.cpp
668986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectWriter.cpp
669986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/AsmLexer.cpp
670986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/AsmParser.cpp
671986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/COFFAsmParser.cpp
672986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/DarwinAsmParser.cpp
673986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/ELFAsmParser.cpp
674986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmLexer.cpp
675986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmParser.cpp
676986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmParserExtension.cpp
677986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCTargetAsmParser.cpp
6785e86819cSDimitry AndricSRCS_MIN+=	MC/MCParser/WasmAsmParser.cpp
679986e05bcSDimitry AndricSRCS_MIN+=	MC/MCRegisterInfo.cpp
680986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSchedule.cpp
681986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSection.cpp
682986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionCOFF.cpp
683986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionELF.cpp
684986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionMachO.cpp
6855897d2f0SDimitry AndricSRCS_MIN+=	MC/MCSectionWasm.cpp
6864014a71fSDimitry AndricSRCS_MIN+=	MC/MCSectionXCOFF.cpp
687986e05bcSDimitry AndricSRCS_MIN+=	MC/MCStreamer.cpp
688986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSubtargetInfo.cpp
689986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSymbol.cpp
690986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSymbolELF.cpp
691986e05bcSDimitry AndricSRCS_MIN+=	MC/MCTargetOptions.cpp
692986e05bcSDimitry AndricSRCS_MIN+=	MC/MCValue.cpp
6935897d2f0SDimitry AndricSRCS_MIN+=	MC/MCWasmStreamer.cpp
694986e05bcSDimitry AndricSRCS_MIN+=	MC/MCWin64EH.cpp
695edd7eaddSDimitry AndricSRCS_MIN+=	MC/MCWinCOFFStreamer.cpp
696986e05bcSDimitry AndricSRCS_MIN+=	MC/MCWinEH.cpp
6974014a71fSDimitry AndricSRCS_MIN+=	MC/MCXCOFFStreamer.cpp
6984014a71fSDimitry AndricSRCS_MIN+=	MC/MCXCOFFObjectTargetWriter.cpp
699986e05bcSDimitry AndricSRCS_MIN+=	MC/MachObjectWriter.cpp
700986e05bcSDimitry AndricSRCS_MIN+=	MC/StringTableBuilder.cpp
701986e05bcSDimitry AndricSRCS_MIN+=	MC/SubtargetFeature.cpp
7029f6e9a9fSDimitry AndricSRCS_MIN+=	MC/WasmObjectWriter.cpp
703986e05bcSDimitry AndricSRCS_MIN+=	MC/WinCOFFObjectWriter.cpp
7044014a71fSDimitry AndricSRCS_MIN+=	MC/XCOFFObjectWriter.cpp
705efa75597SDimitry AndricSRCS_EXT+=	MCA/Context.cpp
706efa75597SDimitry AndricSRCS_EXT+=	MCA/HWEventListener.cpp
707efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/HardwareUnit.cpp
708efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/LSUnit.cpp
709efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/RegisterFile.cpp
710efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/ResourceManager.cpp
711efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/RetireControlUnit.cpp
712efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/Scheduler.cpp
713efa75597SDimitry AndricSRCS_EXT+=	MCA/InstrBuilder.cpp
714efa75597SDimitry AndricSRCS_EXT+=	MCA/Instruction.cpp
715efa75597SDimitry AndricSRCS_EXT+=	MCA/Pipeline.cpp
716efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/DispatchStage.cpp
717efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/EntryStage.cpp
718efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/ExecuteStage.cpp
719efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/InstructionTables.cpp
720efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/RetireStage.cpp
721efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/Stage.cpp
722efa75597SDimitry AndricSRCS_EXT+=	MCA/Support.cpp
723986e05bcSDimitry AndricSRCS_MIN+=	Object/Archive.cpp
724986e05bcSDimitry AndricSRCS_MIN+=	Object/ArchiveWriter.cpp
725986e05bcSDimitry AndricSRCS_MIN+=	Object/Binary.cpp
7269c954a48SEd MasteSRCS_MIN+=	Object/COFFImportFile.cpp
727*0db9a49eSDimitry AndricSRCS_MIW+=	Object/COFFModuleDefinition.cpp
728986e05bcSDimitry AndricSRCS_MIN+=	Object/COFFObjectFile.cpp
729f1a29dd3SDimitry AndricSRCS_MIN+=	Object/Decompressor.cpp
730986e05bcSDimitry AndricSRCS_MIN+=	Object/ELF.cpp
731986e05bcSDimitry AndricSRCS_MIN+=	Object/ELFObjectFile.cpp
732986e05bcSDimitry AndricSRCS_MIN+=	Object/Error.cpp
733986e05bcSDimitry AndricSRCS_MIN+=	Object/IRObjectFile.cpp
7345897d2f0SDimitry AndricSRCS_MIN+=	Object/IRSymtab.cpp
735986e05bcSDimitry AndricSRCS_MIN+=	Object/MachOObjectFile.cpp
736*0db9a49eSDimitry AndricSRCS_MIW+=	Object/MachOUniversal.cpp
737*0db9a49eSDimitry AndricSRCS_MIW+=	Object/Minidump.cpp
73809bfd043SDimitry AndricSRCS_MIN+=	Object/ModuleSymbolTable.cpp
739986e05bcSDimitry AndricSRCS_EXT+=	Object/Object.cpp
740986e05bcSDimitry AndricSRCS_MIN+=	Object/ObjectFile.cpp
741986e05bcSDimitry AndricSRCS_MIN+=	Object/RecordStreamer.cpp
742*0db9a49eSDimitry AndricSRCS_MIW+=	Object/RelocationResolver.cpp
743*0db9a49eSDimitry AndricSRCS_MIW+=	Object/SymbolSize.cpp
744986e05bcSDimitry AndricSRCS_MIN+=	Object/SymbolicFile.cpp
74509bfd043SDimitry AndricSRCS_MIN+=	Object/WasmObjectFile.cpp
746*0db9a49eSDimitry AndricSRCS_MIW+=	Object/WindowsMachineFlag.cpp
747bbd32193SDimitry AndricSRCS_MIN+=	Object/WindowsResource.cpp
7484014a71fSDimitry AndricSRCS_MIN+=	Object/XCOFFObjectFile.cpp
749986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/COFFYAML.cpp
750f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLDebugSections.cpp
751f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLSymbols.cpp
752f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLTypes.cpp
75309bfd043SDimitry AndricSRCS_MIN+=	ObjectYAML/DWARFYAML.cpp
754986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/ELFYAML.cpp
755986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/MachOYAML.cpp
75624d58133SDimitry AndricSRCS_EXT+=	ObjectYAML/YAML.cpp
757986e05bcSDimitry AndricSRCS_MIN+=	Option/Arg.cpp
758986e05bcSDimitry AndricSRCS_MIN+=	Option/ArgList.cpp
759986e05bcSDimitry AndricSRCS_MIN+=	Option/OptTable.cpp
760986e05bcSDimitry AndricSRCS_MIN+=	Option/Option.cpp
76109bfd043SDimitry AndricSRCS_MIN+=	Passes/PassBuilder.cpp
7624014a71fSDimitry AndricSRCS_MIN+=	Passes/PassPlugin.cpp
763efa75597SDimitry AndricSRCS_EXT+=	Passes/StandardInstrumentations.cpp
764986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMapping.cpp
765986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMappingReader.cpp
766986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMappingWriter.cpp
7671b49115aSEd MasteSRCS_MIN+=	ProfileData/GCOV.cpp
768986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProf.cpp
769986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProfReader.cpp
770986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProfWriter.cpp
771986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/ProfileSummaryBuilder.cpp
772986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/SampleProf.cpp
773986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/SampleProfReader.cpp
774961eb443SEd MasteSRCS_MIN+=	ProfileData/SampleProfWriter.cpp
7754014a71fSDimitry AndricSRCS_MIN+=	Remarks/RemarkFormat.cpp
7764014a71fSDimitry AndricSRCS_MIN+=	Remarks/RemarkStringTable.cpp
7774014a71fSDimitry AndricSRCS_MIN+=	Remarks/YAMLRemarkSerializer.cpp
7785e86819cSDimitry AndricSRCS_MIN+=	Support/AArch64TargetParser.cpp
779986e05bcSDimitry AndricSRCS_MIN+=	Support/APFloat.cpp
780986e05bcSDimitry AndricSRCS_MIN+=	Support/APInt.cpp
781986e05bcSDimitry AndricSRCS_MIN+=	Support/APSInt.cpp
7825897d2f0SDimitry AndricSRCS_MIN+=	Support/ARMAttributeParser.cpp
783986e05bcSDimitry AndricSRCS_MIN+=	Support/ARMBuildAttrs.cpp
7845e86819cSDimitry AndricSRCS_MIN+=	Support/ARMTargetParser.cpp
785986e05bcSDimitry AndricSRCS_MIN+=	Support/Allocator.cpp
7865897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamError.cpp
7875897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamReader.cpp
788d8866befSDimitry AndricSRCS_MIN+=	Support/BinaryStreamRef.cpp
7895897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamWriter.cpp
790986e05bcSDimitry AndricSRCS_MIN+=	Support/BlockFrequency.cpp
791986e05bcSDimitry AndricSRCS_MIN+=	Support/BranchProbability.cpp
7925e86819cSDimitry AndricSRCS_MIN+=	Support/BuryPointer.cpp
793986e05bcSDimitry AndricSRCS_MIN+=	Support/CachePruning.cpp
794*0db9a49eSDimitry AndricSRCS_MIW+=	Support/COM.cpp
795*0db9a49eSDimitry AndricSRCS_MIW+=	Support/CRC.cpp
79609bfd043SDimitry AndricSRCS_MIN+=	Support/Chrono.cpp
79736cb3905SDimitry AndricSRCS_MIN+=	Support/CodeGenCoverage.cpp
798986e05bcSDimitry AndricSRCS_MIN+=	Support/CommandLine.cpp
799986e05bcSDimitry AndricSRCS_MIN+=	Support/Compression.cpp
80009bfd043SDimitry AndricSRCS_MIN+=	Support/ConvertUTF.cpp
801986e05bcSDimitry AndricSRCS_MIN+=	Support/ConvertUTFWrapper.cpp
802986e05bcSDimitry AndricSRCS_MIN+=	Support/CrashRecoveryContext.cpp
803986e05bcSDimitry AndricSRCS_MIN+=	Support/DAGDeltaAlgorithm.cpp
8049f6e9a9fSDimitry AndricSRCS_MIN+=	Support/DJB.cpp
805986e05bcSDimitry AndricSRCS_MIN+=	Support/DataExtractor.cpp
806986e05bcSDimitry AndricSRCS_MIN+=	Support/Debug.cpp
8075897d2f0SDimitry AndricSRCS_MIN+=	Support/DebugCounter.cpp
808986e05bcSDimitry AndricSRCS_MIN+=	Support/DeltaAlgorithm.cpp
809986e05bcSDimitry AndricSRCS_MIN+=	Support/DynamicLibrary.cpp
810986e05bcSDimitry AndricSRCS_MIN+=	Support/Errno.cpp
811986e05bcSDimitry AndricSRCS_MIN+=	Support/Error.cpp
812986e05bcSDimitry AndricSRCS_MIN+=	Support/ErrorHandling.cpp
81375bc38b9SEd MasteSRCS_EXL+=	Support/FileOutputBuffer.cpp
814986e05bcSDimitry AndricSRCS_EXT+=	Support/FileUtilities.cpp
815986e05bcSDimitry AndricSRCS_MIN+=	Support/FoldingSet.cpp
81609bfd043SDimitry AndricSRCS_MIN+=	Support/FormatVariadic.cpp
817986e05bcSDimitry AndricSRCS_MIN+=	Support/FormattedStream.cpp
81809bfd043SDimitry AndricSRCS_MIN+=	Support/GlobPattern.cpp
819986e05bcSDimitry AndricSRCS_MIN+=	Support/GraphWriter.cpp
820986e05bcSDimitry AndricSRCS_MIN+=	Support/Hashing.cpp
821986e05bcSDimitry AndricSRCS_MIN+=	Support/Host.cpp
8229f6e9a9fSDimitry AndricSRCS_MIN+=	Support/InitLLVM.cpp
823986e05bcSDimitry AndricSRCS_MIN+=	Support/IntEqClasses.cpp
824986e05bcSDimitry AndricSRCS_MIN+=	Support/IntervalMap.cpp
8255e86819cSDimitry AndricSRCS_MIN+=	Support/ItaniumManglingCanonicalizer.cpp
8262d31b1b8SDimitry AndricSRCS_MIN+=	Support/JSON.cpp
827986e05bcSDimitry AndricSRCS_MIN+=	Support/JamCRC.cpp
82836cb3905SDimitry AndricSRCS_MIN+=	Support/KnownBits.cpp
829986e05bcSDimitry AndricSRCS_MIN+=	Support/LEB128.cpp
830986e05bcSDimitry AndricSRCS_MIN+=	Support/LineIterator.cpp
831986e05bcSDimitry AndricSRCS_MIN+=	Support/Locale.cpp
832986e05bcSDimitry AndricSRCS_MIN+=	Support/LockFileManager.cpp
8335897d2f0SDimitry AndricSRCS_MIN+=	Support/LowLevelType.cpp
834986e05bcSDimitry AndricSRCS_MIN+=	Support/MD5.cpp
835986e05bcSDimitry AndricSRCS_MIN+=	Support/ManagedStatic.cpp
836986e05bcSDimitry AndricSRCS_MIN+=	Support/MathExtras.cpp
8377bfc2d0fSDimitry AndricSRCS_XDL+=	Support/Memory.cpp
838986e05bcSDimitry AndricSRCS_MIN+=	Support/MemoryBuffer.cpp
839986e05bcSDimitry AndricSRCS_MIN+=	Support/Mutex.cpp
84009bfd043SDimitry AndricSRCS_MIN+=	Support/NativeFormatting.cpp
8414014a71fSDimitry AndricSRCS_MIN+=	Support/Optional.cpp
8424014a71fSDimitry Andric#SRCS_LLD+=	Support/Parallel.cpp
843986e05bcSDimitry AndricSRCS_MIN+=	Support/Path.cpp
844986e05bcSDimitry AndricSRCS_MIN+=	Support/PluginLoader.cpp
845986e05bcSDimitry AndricSRCS_MIN+=	Support/PrettyStackTrace.cpp
846986e05bcSDimitry AndricSRCS_MIN+=	Support/Process.cpp
847986e05bcSDimitry AndricSRCS_MIN+=	Support/Program.cpp
848986e05bcSDimitry AndricSRCS_MIN+=	Support/RWMutex.cpp
849986e05bcSDimitry AndricSRCS_MIN+=	Support/RandomNumberGenerator.cpp
850986e05bcSDimitry AndricSRCS_MIN+=	Support/Regex.cpp
851986e05bcSDimitry AndricSRCS_MIN+=	Support/SHA1.cpp
852986e05bcSDimitry AndricSRCS_MIN+=	Support/ScaledNumber.cpp
853986e05bcSDimitry AndricSRCS_MIN+=	Support/ScopedPrinter.cpp
854986e05bcSDimitry AndricSRCS_MIN+=	Support/Signals.cpp
8554014a71fSDimitry AndricSRCS_MIN+=	Support/Signposts.cpp
856986e05bcSDimitry AndricSRCS_MIN+=	Support/SmallPtrSet.cpp
857986e05bcSDimitry AndricSRCS_MIN+=	Support/SmallVector.cpp
858986e05bcSDimitry AndricSRCS_MIN+=	Support/SourceMgr.cpp
859986e05bcSDimitry AndricSRCS_MIN+=	Support/SpecialCaseList.cpp
860986e05bcSDimitry AndricSRCS_MIN+=	Support/Statistic.cpp
861986e05bcSDimitry AndricSRCS_MIN+=	Support/StringExtras.cpp
862986e05bcSDimitry AndricSRCS_MIN+=	Support/StringMap.cpp
863986e05bcSDimitry AndricSRCS_MIN+=	Support/StringRef.cpp
864986e05bcSDimitry AndricSRCS_MIN+=	Support/StringSaver.cpp
8655e86819cSDimitry AndricSRCS_MIN+=	Support/SymbolRemappingReader.cpp
866986e05bcSDimitry AndricSRCS_EXT+=	Support/SystemUtils.cpp
8671ae4f0f6SDimitry AndricSRCS_LLD+=	Support/TarWriter.cpp
868986e05bcSDimitry AndricSRCS_MIN+=	Support/TargetParser.cpp
869986e05bcSDimitry AndricSRCS_MIN+=	Support/TargetRegistry.cpp
870986e05bcSDimitry AndricSRCS_MIN+=	Support/ThreadLocal.cpp
871*0db9a49eSDimitry AndricSRCS_MIW+=	Support/ThreadPool.cpp
872986e05bcSDimitry AndricSRCS_MIN+=	Support/Threading.cpp
8734014a71fSDimitry AndricSRCS_MIN+=	Support/TimeProfiler.cpp
874986e05bcSDimitry AndricSRCS_MIN+=	Support/Timer.cpp
875986e05bcSDimitry AndricSRCS_MIN+=	Support/ToolOutputFile.cpp
87609bfd043SDimitry AndricSRCS_MIN+=	Support/TrigramIndex.cpp
877986e05bcSDimitry AndricSRCS_MIN+=	Support/Triple.cpp
878986e05bcSDimitry AndricSRCS_MIN+=	Support/Twine.cpp
879986e05bcSDimitry AndricSRCS_MIN+=	Support/Unicode.cpp
8809f6e9a9fSDimitry AndricSRCS_MIN+=	Support/UnicodeCaseFold.cpp
881986e05bcSDimitry AndricSRCS_MIN+=	Support/Valgrind.cpp
8825e86819cSDimitry AndricSRCS_MIN+=	Support/VirtualFileSystem.cpp
8839f6e9a9fSDimitry AndricSRCS_MIN+=	Support/VersionTuple.cpp
8844014a71fSDimitry AndricSRCS_MIN+=	Support/Watchdog.cpp
88580a8c751SEd MasteSRCS_MIN+=	Support/WithColor.cpp
886986e05bcSDimitry AndricSRCS_MIN+=	Support/YAMLParser.cpp
887986e05bcSDimitry AndricSRCS_MIN+=	Support/YAMLTraits.cpp
888986e05bcSDimitry AndricSRCS_MIN+=	Support/circular_raw_ostream.cpp
889986e05bcSDimitry AndricSRCS_MIN+=	Support/raw_os_ostream.cpp
890986e05bcSDimitry AndricSRCS_MIN+=	Support/raw_ostream.cpp
891986e05bcSDimitry AndricSRCS_MIN+=	Support/regcomp.c
892986e05bcSDimitry AndricSRCS_MIN+=	Support/regerror.c
893986e05bcSDimitry AndricSRCS_MIN+=	Support/regexec.c
894986e05bcSDimitry AndricSRCS_MIN+=	Support/regfree.c
895986e05bcSDimitry AndricSRCS_MIN+=	Support/regstrlcpy.c
89680a8c751SEd MasteSRCS_MIN+=	Support/xxhash.cpp
897986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Error.cpp
898d25b9f8fSDimitry AndricSRCS_MIN+=	TableGen/JSONBackend.cpp
899986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Main.cpp
900986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Record.cpp
901986e05bcSDimitry AndricSRCS_MIN+=	TableGen/SetTheory.cpp
902986e05bcSDimitry AndricSRCS_MIN+=	TableGen/StringMatcher.cpp
903986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TGLexer.cpp
904986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TGParser.cpp
905986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TableGenBackend.cpp
906cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} != "no"
907986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64A53Fix835769.cpp
908986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64A57FPLoadBalancing.cpp
909986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64AdvSIMDScalarPass.cpp
910986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64AsmPrinter.cpp
9115e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64BranchTargets.cpp
9123d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CallLowering.cpp
9134014a71fSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CallingConvention.cpp
914986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
915986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CollectLOH.cpp
9165e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CompressJumpTables.cpp
917edd7eaddSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CondBrTuning.cpp
918986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ConditionOptimizer.cpp
919986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ConditionalCompares.cpp
920986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
9214014a71fSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ExpandImm.cpp
922986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ExpandPseudoInsts.cpp
923b40b48b8SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FalkorHWPFFix.cpp
924986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FastISel.cpp
925986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FrameLowering.cpp
926986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ISelDAGToDAG.cpp
927986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ISelLowering.cpp
928986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64InstrInfo.cpp
9293d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64InstructionSelector.cpp
9303d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64LegalizerInfo.cpp
931986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64LoadStoreOptimizer.cpp
932986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64MCInstLower.cpp
9335897d2f0SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64MacroFusion.cpp
934986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PBQPRegAlloc.cpp
9355e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PreLegalizerCombiner.cpp
936986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PromoteConstant.cpp
937986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RedundantCopyElimination.cpp
9383d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RegisterBankInfo.cpp
939986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RegisterInfo.cpp
94036cb3905SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SIMDInstrOpt.cpp
941986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SelectionDAGInfo.cpp
9425e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SpeculationHardening.cpp
9434014a71fSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64StackTagging.cpp
944986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64StorePairSuppress.cpp
945986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64Subtarget.cpp
946986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetMachine.cpp
947986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetObjectFile.cpp
948986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetTransformInfo.cpp
949986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AsmParser/AArch64AsmParser.cpp
95030d4828eSDimitry AndricSRCS_XDW+=	Target/AArch64/Disassembler/AArch64Disassembler.cpp
95130d4828eSDimitry AndricSRCS_XDW+=	Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
952986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
953986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
954986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
9554014a71fSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
956986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
957986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
958986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
959986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
960986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
961986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
962a580b014SDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
963a580b014SDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
964986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
965986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/Utils/AArch64BaseInfo.cpp
966cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_AARCH64
967cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_ARM} != "no"
968986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/A15SDOptimizer.cpp
969986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMAsmPrinter.cpp
970986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBaseInstrInfo.cpp
971986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBaseRegisterInfo.cpp
9724014a71fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBasicBlockInfo.cpp
9733d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMCallLowering.cpp
9744014a71fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMCallingConv.cpp
9759f6e9a9fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMCodeGenPrepare.cpp
976986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMConstantIslandPass.cpp
977986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMConstantPoolValue.cpp
978986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMExpandPseudoInsts.cpp
979986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMFastISel.cpp
980986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMFrameLowering.cpp
981986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMHazardRecognizer.cpp
982986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMISelDAGToDAG.cpp
983986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMISelLowering.cpp
984986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMInstrInfo.cpp
9853d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMInstructionSelector.cpp
9863d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMLegalizerInfo.cpp
987986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMLoadStoreOptimizer.cpp
9884014a71fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMLowOverheadLoops.cpp
989986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMCInstLower.cpp
990986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMachineFunctionInfo.cpp
991edd7eaddSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMacroFusion.cpp
992986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMOptimizeBarriersPass.cpp
9939f6e9a9fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMParallelDSP.cpp
9943d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMRegisterBankInfo.cpp
995986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMRegisterInfo.cpp
996986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMSelectionDAGInfo.cpp
997986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMSubtarget.cpp
998986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetMachine.cpp
999986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetObjectFile.cpp
1000986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetTransformInfo.cpp
1001986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/AsmParser/ARMAsmParser.cpp
1002986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Disassembler/ARMDisassembler.cpp
1003986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
1004986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
1005986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
10064014a71fSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
1007986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
1008986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
1009986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCExpr.cpp
1010986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
1011986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
1012986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
1013986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
1014986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
1015986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
1016986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
1017986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MLxExpansionPass.cpp
1018986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/TargetInfo/ARMTargetInfo.cpp
1019986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb1FrameLowering.cpp
1020986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb1InstrInfo.cpp
1021986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2ITBlockPass.cpp
1022986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2InstrInfo.cpp
1023986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2SizeReduction.cpp
1024986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ThumbRegisterInfo.cpp
102536cb3905SDimitry AndricSRCS_MIN+=	Target/ARM/Utils/ARMBaseInfo.cpp
1026cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_ARM
102789edb881SDimitry Andric.if ${MK_LLVM_TARGET_BPF} != "no"
102889edb881SDimitry AndricSRCS_MIN+=	Target/BPF/AsmParser/BPFAsmParser.cpp
102989edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFAsmPrinter.cpp
103089edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFFrameLowering.cpp
103189edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFISelDAGToDAG.cpp
103289edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFISelLowering.cpp
103389edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFInstrInfo.cpp
103489edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFMCInstLower.cpp
10350a462115SDimitry AndricSRCS_MIN+=	Target/BPF/BPFMIChecking.cpp
1036f9c0a512SDimitry AndricSRCS_MIN+=	Target/BPF/BPFMIPeephole.cpp
103789edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFRegisterInfo.cpp
1038f9c0a512SDimitry AndricSRCS_MIN+=	Target/BPF/BPFSelectionDAGInfo.cpp
103989edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFSubtarget.cpp
104089edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFTargetMachine.cpp
10410a462115SDimitry AndricSRCS_MIN+=	Target/BPF/BTFDebug.cpp
104289edb881SDimitry AndricSRCS_MIN+=	Target/BPF/Disassembler/BPFDisassembler.cpp
104389edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
104489edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
10454014a71fSDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
104689edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
104789edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
104889edb881SDimitry AndricSRCS_MIN+=	Target/BPF/TargetInfo/BPFTargetInfo.cpp
104989edb881SDimitry Andric.endif # MK_LLVM_TARGET_BPF
1050cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_MIPS} != "no"
1051986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/AsmParser/MipsAsmParser.cpp
105230d4828eSDimitry AndricSRCS_XDW+=	Target/Mips/Disassembler/MipsDisassembler.cpp
1053986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
1054986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIInfo.cpp
1055986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
1056986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
1057986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
10584014a71fSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
1059986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
1060986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
1061986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCExpr.cpp
1062986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
1063986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
1064986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
1065986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
1066f37b6182SDimitry AndricSRCS_MIN+=	Target/Mips/MicroMipsSizeReduction.cpp
1067986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16FrameLowering.cpp
1068986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16HardFloat.cpp
1069986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16HardFloatInfo.cpp
1070986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16ISelDAGToDAG.cpp
1071986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16ISelLowering.cpp
1072986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16InstrInfo.cpp
1073986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16RegisterInfo.cpp
1074986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsAnalyzeImmediate.cpp
1075986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsAsmPrinter.cpp
10769f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsBranchExpansion.cpp
1077986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsCCState.cpp
10789f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsCallLowering.cpp
1079986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsConstantIslandPass.cpp
1080986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsDelaySlotFiller.cpp
10819f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsExpandPseudo.cpp
1082986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsFastISel.cpp
1083986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsFrameLowering.cpp
1084986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsISelDAGToDAG.cpp
1085986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsISelLowering.cpp
1086986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsInstrInfo.cpp
10879f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsInstructionSelector.cpp
10889f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsLegalizerInfo.cpp
1089986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsMCInstLower.cpp
1090986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsMachineFunction.cpp
1091986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsModuleISelDAGToDAG.cpp
1092986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsOptimizePICCall.cpp
1093986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsOs16.cpp
10945e86819cSDimitry AndricSRCS_MIN+=	Target/Mips/MipsPreLegalizerCombiner.cpp
10959f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsRegisterBankInfo.cpp
1096986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsRegisterInfo.cpp
1097986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEFrameLowering.cpp
1098986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEISelDAGToDAG.cpp
1099986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEISelLowering.cpp
1100986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEInstrInfo.cpp
1101986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSERegisterInfo.cpp
1102986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSubtarget.cpp
1103986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsTargetMachine.cpp
1104986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsTargetObjectFile.cpp
1105986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/TargetInfo/MipsTargetInfo.cpp
1106cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_MIPS
1107cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_POWERPC} != "no"
1108986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/AsmParser/PPCAsmParser.cpp
1109986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/Disassembler/PPCDisassembler.cpp
1110986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
1111986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
11124014a71fSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
1113986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
1114986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
1115986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
1116986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
1117986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
1118986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCPredicates.cpp
11194014a71fSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
1120986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCAsmPrinter.cpp
1121986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBoolRetToInt.cpp
112236cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBranchCoalescing.cpp
1123986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBranchSelector.cpp
1124986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCCState.cpp
1125986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCTRLoops.cpp
11264014a71fSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCallingConv.cpp
1127986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCEarlyReturn.cpp
11285897d2f0SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCExpandISEL.cpp
1129986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCFastISel.cpp
1130986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCFrameLowering.cpp
1131986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCHazardRecognizers.cpp
1132986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCISelDAGToDAG.cpp
1133986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCISelLowering.cpp
1134986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCInstrInfo.cpp
1135986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCLoopPreIncPrep.cpp
1136986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMCInstLower.cpp
1137986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMIPeephole.cpp
1138986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMachineFunctionInfo.cpp
11394014a71fSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMachineScheduler.cpp
114036cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCPreEmitPeephole.cpp
1141986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCQPXLoadSplat.cpp
114236cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCReduceCRLogicals.cpp
1143986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCRegisterInfo.cpp
1144986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCSubtarget.cpp
1145986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTLSDynamicCall.cpp
1146986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTOCRegDeps.cpp
1147986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetMachine.cpp
1148986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetObjectFile.cpp
1149986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetTransformInfo.cpp
1150986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXCopy.cpp
1151986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXFMAMutate.cpp
1152986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXSwapRemoval.cpp
1153986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
1154cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_POWERPC
1155b2689b12SMitchell Horne.if ${MK_LLVM_TARGET_RISCV} != "no"
1156b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/AsmParser/RISCVAsmParser.cpp
1157b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/Disassembler/RISCVDisassembler.cpp
1158b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
1159b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
1160b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
11614014a71fSDimitry AndricSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
1162b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
1163b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
1164b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
1165b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
1166b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
1167b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVAsmPrinter.cpp
1168b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVExpandPseudoInsts.cpp
1169b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVFrameLowering.cpp
1170b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVInstrInfo.cpp
1171b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVISelDAGToDAG.cpp
1172b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVISelLowering.cpp
1173b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVMCInstLower.cpp
1174b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVMergeBaseOffset.cpp
1175b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVRegisterInfo.cpp
1176b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVSubtarget.cpp
1177b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVTargetMachine.cpp
1178b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVTargetObjectFile.cpp
1179b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
1180b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/Utils/RISCVBaseInfo.cpp
1181b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/Utils/RISCVMatInt.cpp
1182b2689b12SMitchell Horne.endif # MK_LLVM_TARGET_RISCV
1183cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_SPARC} != "no"
1184986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/AsmParser/SparcAsmParser.cpp
1185986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/DelaySlotFiller.cpp
118630d4828eSDimitry AndricSRCS_XDW+=	Target/Sparc/Disassembler/SparcDisassembler.cpp
1187986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/LeonPasses.cpp
1188986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
1189986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
11904014a71fSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
1191986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
1192986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
1193986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
1194986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
1195986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp
1196986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcAsmPrinter.cpp
1197986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcFrameLowering.cpp
1198986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcISelDAGToDAG.cpp
1199986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcISelLowering.cpp
1200986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcInstrInfo.cpp
1201986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcMCInstLower.cpp
1202986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcMachineFunctionInfo.cpp
1203986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcRegisterInfo.cpp
1204986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcSubtarget.cpp
1205986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcTargetMachine.cpp
1206986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcTargetObjectFile.cpp
1207986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/TargetInfo/SparcTargetInfo.cpp
1208cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_SPARC
1209986e05bcSDimitry AndricSRCS_MIN+=	Target/Target.cpp
1210986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetLoweringObjectFile.cpp
1211986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetMachine.cpp
1212986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetMachineC.cpp
1213cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_X86} != "no"
1214986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/AsmParser/X86AsmParser.cpp
121530d4828eSDimitry AndricSRCS_XDW+=	Target/X86/Disassembler/X86Disassembler.cpp
121630d4828eSDimitry AndricSRCS_XDW+=	Target/X86/Disassembler/X86DisassemblerDecoder.cpp
12174014a71fSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
1218986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86AsmBackend.cpp
1219986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
12204014a71fSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86InstComments.cpp
12214014a71fSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
12224014a71fSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
1223986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
1224986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
1225986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
1226986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
1227986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
1228986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
122936cb3905SDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
1230986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/TargetInfo/X86TargetInfo.cpp
1231986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/Utils/X86ShuffleDecode.cpp
1232986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86AsmPrinter.cpp
12339f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86AvoidStoreForwardingBlocks.cpp
1234986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86CallFrameOptimization.cpp
12353d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86CallLowering.cpp
123609bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86CallingConv.cpp
1237b40b48b8SDimitry AndricSRCS_MIN+=	Target/X86/X86CmovConversion.cpp
12385e86819cSDimitry AndricSRCS_MIN+=	Target/X86/X86CondBrFolding.cpp
12395e86819cSDimitry AndricSRCS_MIN+=	Target/X86/X86DiscriminateMemOps.cpp
124036cb3905SDimitry AndricSRCS_MIN+=	Target/X86/X86DomainReassignment.cpp
124109bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86EvexToVex.cpp
1242986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ExpandPseudo.cpp
1243986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FastISel.cpp
1244986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupBWInsts.cpp
1245986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupLEAs.cpp
1246986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupSetCC.cpp
12470556cfadSDimitry AndricSRCS_MIN+=	Target/X86/X86FlagsCopyLowering.cpp
1248986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FloatingPoint.cpp
1249986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FrameLowering.cpp
1250986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ISelDAGToDAG.cpp
1251986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ISelLowering.cpp
12529f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86IndirectBranchTracking.cpp
12535e86819cSDimitry AndricSRCS_MIN+=	Target/X86/X86InsertPrefetch.cpp
125409bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86InstrFMA3Info.cpp
12559f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86InstrFoldTables.cpp
1256986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86InstrInfo.cpp
12573d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86InstructionSelector.cpp
125809bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86InterleavedAccess.cpp
12593d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86LegalizerInfo.cpp
1260986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86MCInstLower.cpp
1261986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86MachineFunctionInfo.cpp
12625897d2f0SDimitry AndricSRCS_MIN+=	Target/X86/X86MacroFusion.cpp
1263986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86OptimizeLEAs.cpp
1264986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86PadShortFunction.cpp
12653d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86RegisterBankInfo.cpp
1266986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86RegisterInfo.cpp
126707577dfeSDimitry AndricSRCS_MIN+=	Target/X86/X86RetpolineThunks.cpp
1268986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86SelectionDAGInfo.cpp
1269986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ShuffleDecodeConstantPool.cpp
12709f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86SpeculativeLoadHardening.cpp
1271986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86Subtarget.cpp
1272986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetMachine.cpp
1273986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetObjectFile.cpp
1274986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetTransformInfo.cpp
1275986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86VZeroUpper.cpp
1276986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86WinAllocaExpander.cpp
1277986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86WinEHState.cpp
1278cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_X86
12799c954a48SEd MasteSRCS_MIN+=	ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
1280*0db9a49eSDimitry AndricSRCS_MIW+=	ToolDrivers/llvm-lib/LibDriver.cpp
12819f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
12829f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/AggressiveInstCombine/TruncInstCombine.cpp
128309bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroCleanup.cpp
128409bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroEarly.cpp
128509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroElide.cpp
128609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroFrame.cpp
128709bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroSplit.cpp
128809bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/Coroutines.cpp
128909bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/AlwaysInliner.cpp
1290986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ArgumentPromotion.cpp
12914014a71fSDimitry AndricSRCS_MIN+=	Transforms/IPO/Attributor.cpp
1292986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/BarrierNoopPass.cpp
129367b158f6SDimitry AndricSRCS_EXT+=	Transforms/IPO/BlockExtractor.cpp
129436cb3905SDimitry AndricSRCS_MIN+=	Transforms/IPO/CalledValuePropagation.cpp
1295986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ConstantMerge.cpp
1296986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/CrossDSOCFI.cpp
1297986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/DeadArgumentElimination.cpp
1298986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ElimAvailExtern.cpp
1299986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ExtractGV.cpp
1300986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ForceFunctionAttrs.cpp
1301986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/FunctionAttrs.cpp
1302986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/FunctionImport.cpp
1303986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalDCE.cpp
1304986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalOpt.cpp
130509bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalSplit.cpp
13065e86819cSDimitry AndricSRCS_MIN+=	Transforms/IPO/HotColdSplitting.cpp
1307986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/IPConstantPropagation.cpp
1308986e05bcSDimitry AndricSRCS_EXT+=	Transforms/IPO/IPO.cpp
1309986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/InferFunctionAttrs.cpp
1310986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/InlineSimple.cpp
1311986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/Inliner.cpp
1312986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/Internalize.cpp
1313986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/LoopExtractor.cpp
1314986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/LowerTypeTests.cpp
1315986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/MergeFunctions.cpp
1316986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PartialInlining.cpp
1317986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PassManagerBuilder.cpp
1318986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PruneEH.cpp
13199f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/IPO/SCCP.cpp
1320986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/SampleProfile.cpp
1321986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/StripDeadPrototypes.cpp
1322986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/StripSymbols.cpp
13239f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/IPO/SyntheticCountsPropagation.cpp
132409bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/ThinLTOBitcodeWriter.cpp
1325986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/WholeProgramDevirt.cpp
1326986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAddSub.cpp
1327986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAndOrXor.cpp
13284014a71fSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAtomicRMW.cpp
1329986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCalls.cpp
1330986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCasts.cpp
1331986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCompares.cpp
1332986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
1333986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineMulDivRem.cpp
1334986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombinePHI.cpp
1335986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineSelect.cpp
1336986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineShifts.cpp
1337986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
1338986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineVectorOps.cpp
1339986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstructionCombining.cpp
1340986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/AddressSanitizer.cpp
1341986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/BoundsChecking.cpp
13429f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/CGProfile.cpp
13435e86819cSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/ControlHeightReduction.cpp
1344986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/DataFlowSanitizer.cpp
1345986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/GCOVProfiling.cpp
134636cb3905SDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/HWAddressSanitizer.cpp
1347986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/IndirectCallPromotion.cpp
13484014a71fSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/InstrOrderFile.cpp
1349986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/InstrProfiling.cpp
1350986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/Instrumentation.cpp
1351986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/MemorySanitizer.cpp
1352986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PGOInstrumentation.cpp
135324d58133SDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
13544014a71fSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PoisonChecking.cpp
1355986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/SanitizerCoverage.cpp
1356986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/ThreadSanitizer.cpp
1357986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/DependencyAnalysis.cpp
1358986e05bcSDimitry AndricSRCS_EXT+=	Transforms/ObjCARC/ObjCARC.cpp
1359986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCAPElim.cpp
1360986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCContract.cpp
1361986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCExpand.cpp
1362986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCOpts.cpp
1363986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysis.cpp
1364986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
1365986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/PtrState.cpp
1366986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ADCE.cpp
1367986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/AlignmentFromAssumptions.cpp
1368986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/BDCE.cpp
136936cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/CallSiteSplitting.cpp
1370986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ConstantHoisting.cpp
1371986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ConstantProp.cpp
1372986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/CorrelatedValuePropagation.cpp
1373986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/DCE.cpp
1374986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/DeadStoreElimination.cpp
137536cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/DivRemPairs.cpp
1376986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/EarlyCSE.cpp
1377986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/FlattenCFGPass.cpp
1378986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Float2Int.cpp
1379986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVN.cpp
1380986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVNHoist.cpp
1381302affcbSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVNSink.cpp
1382986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GuardWidening.cpp
1383f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/IVUsersPrinter.cpp
1384986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/IndVarSimplify.cpp
1385986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/InductiveRangeCheckElimination.cpp
1386050e2df1SDimitry AndricSRCS_EXT+=	Transforms/Scalar/InferAddressSpaces.cpp
13879f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Scalar/InstSimplifyPass.cpp
1388986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/JumpThreading.cpp
1389986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LICM.cpp
1390f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
1391986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDataPrefetch.cpp
1392986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDeletion.cpp
1393986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDistribute.cpp
13944014a71fSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopFuse.cpp
1395986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopIdiomRecognize.cpp
139609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopInstSimplify.cpp
1397986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopInterchange.cpp
1398986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopLoadElimination.cpp
1399f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopPassManager.cpp
14005897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopPredication.cpp
1401986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopRerollPass.cpp
1402986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopRotation.cpp
1403986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopSimplifyCFG.cpp
140409bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopSink.cpp
1405986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopStrengthReduce.cpp
1406986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnrollPass.cpp
14079f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnrollAndJamPass.cpp
1408986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnswitch.cpp
1409986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopVersioningLICM.cpp
1410986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerAtomic.cpp
1411986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerExpectIntrinsic.cpp
1412986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerGuardIntrinsic.cpp
14134014a71fSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerWidenableCondition.cpp
14145e86819cSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MakeGuardsExplicit.cpp
1415986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MemCpyOptimizer.cpp
141636cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/MergeICmps.cpp
1417986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MergedLoadStoreMotion.cpp
1418986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/NaryReassociate.cpp
141909bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/NewGVN.cpp
1420986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/PartiallyInlineLibCalls.cpp
1421986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/PlaceSafepoints.cpp
1422986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Reassociate.cpp
1423986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Reg2Mem.cpp
1424986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/RewriteStatepointsForGC.cpp
1425986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SCCP.cpp
1426986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SROA.cpp
1427986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Scalar/Scalar.cpp
1428986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Scalarizer.cpp
1429986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
1430f37b6182SDimitry AndricSRCS_MIN+=	Transforms/Scalar/SimpleLoopUnswitch.cpp
1431986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SimplifyCFGPass.cpp
1432986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Sink.cpp
143336cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/SpeculateAroundPHIs.cpp
1434986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SpeculativeExecution.cpp
1435986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/StraightLineStrengthReduce.cpp
1436986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/StructurizeCFG.cpp
1437986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/TailRecursionElimination.cpp
14385e86819cSDimitry AndricSRCS_MIN+=	Transforms/Scalar/WarnMissedTransforms.cpp
1439986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ASanStackFrameLayout.cpp
1440986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/AddDiscriminators.cpp
1441986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BasicBlockUtils.cpp
1442986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BreakCriticalEdges.cpp
1443986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BuildLibCalls.cpp
1444986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BypassSlowDivision.cpp
144536cb3905SDimitry AndricSRCS_MIN+=	Transforms/Utils/CallPromotionUtils.cpp
14465e86819cSDimitry AndricSRCS_MIN+=	Transforms/Utils/CanonicalizeAliases.cpp
1447986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CloneFunction.cpp
1448986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CloneModule.cpp
1449986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CodeExtractor.cpp
1450986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CtorUtils.cpp
1451986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/DemoteRegToStack.cpp
145236cb3905SDimitry AndricSRCS_MIN+=	Transforms/Utils/EntryExitInstrumenter.cpp
145309bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/EscapeEnumerator.cpp
1454986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Evaluator.cpp
1455986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/FlattenCFG.cpp
145609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/FunctionComparator.cpp
1457986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/FunctionImportUtils.cpp
1458986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/GlobalStatus.cpp
14595e86819cSDimitry AndricSRCS_MIN+=	Transforms/Utils/GuardUtils.cpp
146009bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
1461986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/InlineFunction.cpp
1462986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/InstructionNamer.cpp
1463986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/IntegerDivision.cpp
1464986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LCSSA.cpp
146509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/LibCallsShrinkWrap.cpp
1466986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Local.cpp
1467986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopSimplify.cpp
14689f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopRotationUtils.cpp
1469986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnroll.cpp
14709f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollAndJam.cpp
147109bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollPeel.cpp
1472986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollRuntime.cpp
1473986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUtils.cpp
1474986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopVersioning.cpp
1475986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LowerInvoke.cpp
1476986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LowerSwitch.cpp
1477986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Mem2Reg.cpp
1478986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/MetaRenamer.cpp
1479986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ModuleUtils.cpp
148009bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/NameAnonGlobals.cpp
14815897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Utils/PredicateInfo.cpp
1482986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/PromoteMemoryToRegister.cpp
1483986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SSAUpdater.cpp
1484986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SanitizerStats.cpp
1485986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyCFG.cpp
1486986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyIndVar.cpp
1487986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyLibCalls.cpp
14884014a71fSDimitry AndricSRCS_MIN+=	Transforms/Utils/SizeOpts.cpp
1489986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SplitModule.cpp
149009bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/StripGCRelocates.cpp
149109bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/StripNonLineTableDebugInfo.cpp
1492986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SymbolRewriter.cpp
1493986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/UnifyFunctionExitNodes.cpp
1494986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Utils/Utils.cpp
14955897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Utils/VNCoercion.cpp
1496986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ValueMapper.cpp
1497986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoadStoreVectorizer.cpp
14989f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoopVectorizationLegality.cpp
1499986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoopVectorize.cpp
1500986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/SLPVectorizer.cpp
150136cb3905SDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlan.cpp
15029f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanHCFGBuilder.cpp
15035e86819cSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanHCFGTransforms.cpp
15044014a71fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanPredicator.cpp
15059f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanVerifier.cpp
1506986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Vectorize/Vectorize.cpp
1507efa75597SDimitry AndricSRCS_EXT+=	XRay/BlockIndexer.cpp
1508efa75597SDimitry AndricSRCS_EXT+=	XRay/BlockVerifier.cpp
1509efa75597SDimitry AndricSRCS_EXT+=	XRay/FDRRecordProducer.cpp
1510efa75597SDimitry AndricSRCS_EXT+=	XRay/FDRRecords.cpp
1511efa75597SDimitry AndricSRCS_EXT+=	XRay/FDRTraceExpander.cpp
1512efa75597SDimitry AndricSRCS_EXT+=	XRay/FileHeaderReader.cpp
1513050e2df1SDimitry AndricSRCS_EXT+=	XRay/InstrumentationMap.cpp
1514efa75597SDimitry AndricSRCS_EXT+=	XRay/LogBuilderConsumer.cpp
1515efa75597SDimitry AndricSRCS_EXT+=	XRay/RecordInitializer.cpp
151667b158f6SDimitry AndricSRCS_EXT+=	XRay/Trace.cpp
1517986e05bcSDimitry Andric
1518986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_MIN}
1519caf90252SBryan Drewery.if !defined(TOOLS_PREFIX) || ${MK_LLD_BOOTSTRAP} != "no"
152030d4828eSDimitry AndricSRCS_ALL+=	${SRCS_MIW}
152130d4828eSDimitry Andric.endif
1522986e05bcSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no"
1523986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_EXT}
1524986e05bcSDimitry Andric.endif
1525986e05bcSDimitry Andric.if ${MK_CLANG_FULL} != "no"
1526986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_FUL}
1527986e05bcSDimitry Andric.endif
152878187278SBryan Drewery.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLD} != "no" || \
152978187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
153075bc38b9SEd MasteSRCS_ALL+=	${SRCS_EXL}
153175bc38b9SEd Maste.endif
153278187278SBryan Drewery.if ${MK_LLD} != "no" || \
153378187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
15340fc5d238SDimitry AndricSRCS_ALL+=	${SRCS_LLD}
15350fc5d238SDimitry Andric.endif
1536986e05bcSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
1537986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_XDB}
1538986e05bcSDimitry Andric.endif
153978187278SBryan Drewery.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || ${MK_LLD} != "no" || \
154078187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
154175bc38b9SEd MasteSRCS_ALL+=	${SRCS_XDL}
154275bc38b9SEd Maste.endif
154330d4828eSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || !defined(TOOLS_PREFIX)
154430d4828eSDimitry AndricSRCS_ALL+=	${SRCS_XDW}
154530d4828eSDimitry Andric.endif
1546986e05bcSDimitry AndricSRCS+=		${SRCS_ALL:O}
1547986e05bcSDimitry Andric
15489f6e9a9fSDimitry Andricllvm/IR/Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1549986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-attrs \
1550050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1551986e05bcSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Attributes.td
15529f6e9a9fSDimitry AndricTGHDRS+=	llvm/IR/Attributes.inc
1553986e05bcSDimitry Andric
15549f6e9a9fSDimitry Andricllvm/IR/IntrinsicEnums.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15559f6e9a9fSDimitry Andric	${LLVM_TBLGEN} -gen-intrinsic-enums \
1556050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1557986e05bcSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15589f6e9a9fSDimitry AndricTGHDRS+=	llvm/IR/IntrinsicEnums.inc
15599f6e9a9fSDimitry Andric
15609f6e9a9fSDimitry Andricllvm/IR/IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15619f6e9a9fSDimitry Andric	${LLVM_TBLGEN} -gen-intrinsic-impl \
15629f6e9a9fSDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
15639f6e9a9fSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15649f6e9a9fSDimitry AndricTGHDRS+=	llvm/IR/IntrinsicImpl.inc
1565986e05bcSDimitry Andric
1566986e05bcSDimitry AndricAttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1567986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-attrs \
1568050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1569986e05bcSDimitry Andric	    ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1570986e05bcSDimitry AndricTGHDRS+=	AttributesCompatFunc.inc
1571986e05bcSDimitry Andric
15729f6e9a9fSDimitry AndricInstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
15739f6e9a9fSDimitry Andric	${LLVM_TBLGEN} -gen-searchable-tables \
15749f6e9a9fSDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
15759f6e9a9fSDimitry Andric	    ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
15769f6e9a9fSDimitry AndricTGHDRS+=	InstCombineTables.inc
15779f6e9a9fSDimitry Andric
1578b40b48b8SDimitry Andricllvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1579986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-opt-parser-defs \
1580050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
15815517e702SDimitry Andric	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1582b40b48b8SDimitry AndricTGHDRS+=	llvm-lib/Options.inc
1583b40b48b8SDimitry AndricCFLAGS.LibDriver.cpp+=	-I${.OBJDIR}/llvm-lib
1584b40b48b8SDimitry Andric
1585b40b48b8SDimitry Andricllvm-dlltool/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1586b40b48b8SDimitry Andric	${LLVM_TBLGEN} -gen-opt-parser-defs \
1587b40b48b8SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1588b40b48b8SDimitry Andric	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1589b40b48b8SDimitry AndricTGHDRS+=	llvm-dlltool/Options.inc
1590b40b48b8SDimitry AndricCFLAGS.DlltoolDriver.cpp+=	-I${.OBJDIR}/llvm-dlltool
1591986e05bcSDimitry Andric
1592cd283100SBryan Drewerybeforebuild:
1593cd283100SBryan Drewery# 20170724 remove stale Options.inc file, of which there are two different
159437cd60a3SDimitry Andric# versions after upstream r308421, one for llvm-lib, one for llvm-dlltool
1595cd283100SBryan Drewery.for f in Options.inc
1596cd283100SBryan Drewery.if exists(${f}) || exists(${f}.d)
1597cd283100SBryan Drewery	@echo Removing stale generated ${f} files
1598cd283100SBryan Drewery	@rm -f ${f} ${f}.d
1599cd283100SBryan Drewery.endif
1600cd283100SBryan Drewery.endfor
1601cd283100SBryan Drewery
1602986e05bcSDimitry Andric# Note: some rules are superfluous, not every combination is valid.
1603986e05bcSDimitry Andric.for arch in \
1604b2689b12SMitchell Horne	AArch64/AArch64 ARM/ARM BPF/BPF Mips/Mips PowerPC/PPC Sparc/Sparc \
1605b2689b12SMitchell Horne	RISCV/RISCV X86/X86
1606986e05bcSDimitry Andric. for hdr in \
1607986e05bcSDimitry Andric	AsmMatcher/-gen-asm-matcher \
1608986e05bcSDimitry Andric	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
1609986e05bcSDimitry Andric	AsmWriter/-gen-asm-writer \
1610986e05bcSDimitry Andric	CallingConv/-gen-callingconv \
1611986e05bcSDimitry Andric	CodeEmitter/-gen-emitter \
1612b2689b12SMitchell Horne	CompressInstEmitter/-gen-compress-inst-emitter \
1613986e05bcSDimitry Andric	DAGISel/-gen-dag-isel \
1614986e05bcSDimitry Andric	DisassemblerTables/-gen-disassembler \
16155897d2f0SDimitry Andric	EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \
1616986e05bcSDimitry Andric	FastISel/-gen-fast-isel \
16173d54deb3SDimitry Andric	GlobalISel/-gen-global-isel \
1618986e05bcSDimitry Andric	InstrInfo/-gen-instr-info \
1619986e05bcSDimitry Andric	MCCodeEmitter/-gen-emitter \
1620986e05bcSDimitry Andric	MCPseudoLowering/-gen-pseudo-lowering \
16215897d2f0SDimitry Andric	RegisterBank/-gen-register-bank \
1622986e05bcSDimitry Andric	RegisterInfo/-gen-register-info \
1623986e05bcSDimitry Andric	SubtargetInfo/-gen-subtarget \
162436cb3905SDimitry Andric	SystemOperands/-gen-searchable-tables \
162536cb3905SDimitry Andric	SystemRegister/-gen-searchable-tables
1626986e05bcSDimitry Andric${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1627986e05bcSDimitry Andric	${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
1628986e05bcSDimitry Andric	    -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
1629050e2df1SDimitry Andric	    -d ${.TARGET}.d -o ${.TARGET} \
1630986e05bcSDimitry Andric	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1631986e05bcSDimitry Andric. endfor
1632986e05bcSDimitry Andric.endfor
1633cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} != "no"
1634986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmMatcher.inc
1635986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmWriter.inc
1636986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmWriter1.inc
1637986e05bcSDimitry AndricTGHDRS+=	AArch64GenCallingConv.inc
1638986e05bcSDimitry AndricTGHDRS+=	AArch64GenDAGISel.inc
1639986e05bcSDimitry AndricTGHDRS+=	AArch64GenDisassemblerTables.inc
1640986e05bcSDimitry AndricTGHDRS+=	AArch64GenFastISel.inc
16413d54deb3SDimitry AndricTGHDRS+=	AArch64GenGlobalISel.inc
1642986e05bcSDimitry AndricTGHDRS+=	AArch64GenInstrInfo.inc
1643986e05bcSDimitry AndricTGHDRS+=	AArch64GenMCCodeEmitter.inc
1644986e05bcSDimitry AndricTGHDRS+=	AArch64GenMCPseudoLowering.inc
16455897d2f0SDimitry AndricTGHDRS+=	AArch64GenRegisterBank.inc
1646986e05bcSDimitry AndricTGHDRS+=	AArch64GenRegisterInfo.inc
1647986e05bcSDimitry AndricTGHDRS+=	AArch64GenSubtargetInfo.inc
1648986e05bcSDimitry AndricTGHDRS+=	AArch64GenSystemOperands.inc
1649cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_AARCH64
1650cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_ARM} != "no"
1651986e05bcSDimitry AndricTGHDRS+=	ARMGenAsmMatcher.inc
1652986e05bcSDimitry AndricTGHDRS+=	ARMGenAsmWriter.inc
1653986e05bcSDimitry AndricTGHDRS+=	ARMGenCallingConv.inc
1654986e05bcSDimitry AndricTGHDRS+=	ARMGenDAGISel.inc
1655986e05bcSDimitry AndricTGHDRS+=	ARMGenDisassemblerTables.inc
1656986e05bcSDimitry AndricTGHDRS+=	ARMGenFastISel.inc
16573d54deb3SDimitry AndricTGHDRS+=	ARMGenGlobalISel.inc
1658986e05bcSDimitry AndricTGHDRS+=	ARMGenInstrInfo.inc
1659986e05bcSDimitry AndricTGHDRS+=	ARMGenMCCodeEmitter.inc
1660986e05bcSDimitry AndricTGHDRS+=	ARMGenMCPseudoLowering.inc
16615897d2f0SDimitry AndricTGHDRS+=	ARMGenRegisterBank.inc
1662986e05bcSDimitry AndricTGHDRS+=	ARMGenRegisterInfo.inc
1663986e05bcSDimitry AndricTGHDRS+=	ARMGenSubtargetInfo.inc
166436cb3905SDimitry AndricTGHDRS+=	ARMGenSystemRegister.inc
1665cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_ARM
166689edb881SDimitry Andric.if ${MK_LLVM_TARGET_BPF} != "no"
166789edb881SDimitry AndricTGHDRS+=	BPFGenAsmMatcher.inc
166889edb881SDimitry AndricTGHDRS+=	BPFGenAsmWriter.inc
166989edb881SDimitry AndricTGHDRS+=	BPFGenCallingConv.inc
167089edb881SDimitry AndricTGHDRS+=	BPFGenDAGISel.inc
167189edb881SDimitry AndricTGHDRS+=	BPFGenDisassemblerTables.inc
167289edb881SDimitry AndricTGHDRS+=	BPFGenInstrInfo.inc
167389edb881SDimitry AndricTGHDRS+=	BPFGenMCCodeEmitter.inc
167489edb881SDimitry AndricTGHDRS+=	BPFGenRegisterInfo.inc
167589edb881SDimitry AndricTGHDRS+=	BPFGenSubtargetInfo.inc
167689edb881SDimitry Andric.endif # MK_LLVM_TARGET_BPF
1677cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_MIPS} != "no"
1678986e05bcSDimitry AndricTGHDRS+=	MipsGenAsmMatcher.inc
1679986e05bcSDimitry AndricTGHDRS+=	MipsGenAsmWriter.inc
1680986e05bcSDimitry AndricTGHDRS+=	MipsGenCallingConv.inc
1681986e05bcSDimitry AndricTGHDRS+=	MipsGenDAGISel.inc
1682986e05bcSDimitry AndricTGHDRS+=	MipsGenDisassemblerTables.inc
1683986e05bcSDimitry AndricTGHDRS+=	MipsGenFastISel.inc
16849f6e9a9fSDimitry AndricTGHDRS+=	MipsGenGlobalISel.inc
1685986e05bcSDimitry AndricTGHDRS+=	MipsGenInstrInfo.inc
1686986e05bcSDimitry AndricTGHDRS+=	MipsGenMCCodeEmitter.inc
1687986e05bcSDimitry AndricTGHDRS+=	MipsGenMCPseudoLowering.inc
16889f6e9a9fSDimitry AndricTGHDRS+=	MipsGenRegisterBank.inc
1689986e05bcSDimitry AndricTGHDRS+=	MipsGenRegisterInfo.inc
1690986e05bcSDimitry AndricTGHDRS+=	MipsGenSubtargetInfo.inc
1691cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_MIPS
1692cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_POWERPC} != "no"
1693986e05bcSDimitry AndricTGHDRS+=	PPCGenAsmMatcher.inc
1694986e05bcSDimitry AndricTGHDRS+=	PPCGenAsmWriter.inc
1695986e05bcSDimitry AndricTGHDRS+=	PPCGenCallingConv.inc
1696986e05bcSDimitry AndricTGHDRS+=	PPCGenDAGISel.inc
1697986e05bcSDimitry AndricTGHDRS+=	PPCGenDisassemblerTables.inc
1698986e05bcSDimitry AndricTGHDRS+=	PPCGenFastISel.inc
1699986e05bcSDimitry AndricTGHDRS+=	PPCGenInstrInfo.inc
1700986e05bcSDimitry AndricTGHDRS+=	PPCGenMCCodeEmitter.inc
1701986e05bcSDimitry AndricTGHDRS+=	PPCGenRegisterInfo.inc
1702986e05bcSDimitry AndricTGHDRS+=	PPCGenSubtargetInfo.inc
1703cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_POWERPC
1704b2689b12SMitchell Horne.if ${MK_LLVM_TARGET_RISCV} != "no"
1705b2689b12SMitchell HorneTGHDRS+=	RISCVGenAsmMatcher.inc
1706b2689b12SMitchell HorneTGHDRS+=	RISCVGenAsmWriter.inc
1707b2689b12SMitchell HorneTGHDRS+=	RISCVGenCallingConv.inc
1708b2689b12SMitchell HorneTGHDRS+=	RISCVGenCompressInstEmitter.inc
1709b2689b12SMitchell HorneTGHDRS+=	RISCVGenDAGISel.inc
1710b2689b12SMitchell HorneTGHDRS+=	RISCVGenDisassemblerTables.inc
1711b2689b12SMitchell HorneTGHDRS+=	RISCVGenDAGISel.inc
1712b2689b12SMitchell HorneTGHDRS+=	RISCVGenInstrInfo.inc
1713b2689b12SMitchell HorneTGHDRS+=	RISCVGenMCCodeEmitter.inc
1714b2689b12SMitchell HorneTGHDRS+=	RISCVGenMCPseudoLowering.inc
1715b2689b12SMitchell HorneTGHDRS+=	RISCVGenRegisterInfo.inc
1716b2689b12SMitchell HorneTGHDRS+=	RISCVGenSubtargetInfo.inc
1717b2689b12SMitchell HorneTGHDRS+=	RISCVGenSystemOperands.inc
1718b2689b12SMitchell Horne.endif # MK_LLVM_TARGET_RISCV
1719cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_SPARC} != "no"
1720986e05bcSDimitry AndricTGHDRS+=	SparcGenAsmMatcher.inc
1721986e05bcSDimitry AndricTGHDRS+=	SparcGenAsmWriter.inc
1722986e05bcSDimitry AndricTGHDRS+=	SparcGenCallingConv.inc
1723986e05bcSDimitry AndricTGHDRS+=	SparcGenDAGISel.inc
1724986e05bcSDimitry AndricTGHDRS+=	SparcGenDisassemblerTables.inc
1725986e05bcSDimitry AndricTGHDRS+=	SparcGenInstrInfo.inc
1726986e05bcSDimitry AndricTGHDRS+=	SparcGenMCCodeEmitter.inc
1727986e05bcSDimitry AndricTGHDRS+=	SparcGenRegisterInfo.inc
1728986e05bcSDimitry AndricTGHDRS+=	SparcGenSubtargetInfo.inc
1729cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_SPARC
1730cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_X86} != "no"
1731986e05bcSDimitry AndricTGHDRS+=	X86GenAsmMatcher.inc
1732986e05bcSDimitry AndricTGHDRS+=	X86GenAsmWriter.inc
1733986e05bcSDimitry AndricTGHDRS+=	X86GenAsmWriter1.inc
1734986e05bcSDimitry AndricTGHDRS+=	X86GenCallingConv.inc
1735986e05bcSDimitry AndricTGHDRS+=	X86GenDAGISel.inc
1736986e05bcSDimitry AndricTGHDRS+=	X86GenDisassemblerTables.inc
17375897d2f0SDimitry AndricTGHDRS+=	X86GenEVEX2VEXTables.inc
1738986e05bcSDimitry AndricTGHDRS+=	X86GenFastISel.inc
17393d54deb3SDimitry AndricTGHDRS+=	X86GenGlobalISel.inc
1740986e05bcSDimitry AndricTGHDRS+=	X86GenInstrInfo.inc
17415897d2f0SDimitry AndricTGHDRS+=	X86GenRegisterBank.inc
1742986e05bcSDimitry AndricTGHDRS+=	X86GenRegisterInfo.inc
1743986e05bcSDimitry AndricTGHDRS+=	X86GenSubtargetInfo.inc
1744cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_X86
1745986e05bcSDimitry Andric
1746ddf95e2aSBryan DreweryDEPENDFILES+=	${TGHDRS:C/$/.d/}
1747986e05bcSDimitry AndricDPSRCS+=	${TGHDRS}
1748986e05bcSDimitry AndricCLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1749986e05bcSDimitry Andric
1750986e05bcSDimitry Andric.include "../llvm.build.mk"
1751986e05bcSDimitry Andric.include <bsd.lib.mk>
1752