xref: /freebsd/lib/clang/libllvm/Makefile (revision 9c954a4843b2718d0934c3a9c525263a9287bd8f)
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
57986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DominanceFrontier.cpp
58986e05bcSDimitry AndricSRCS_MIN+=	Analysis/EHPersonalities.cpp
59986e05bcSDimitry AndricSRCS_MIN+=	Analysis/GlobalsModRef.cpp
605e86819cSDimitry AndricSRCS_MIN+=	Analysis/GuardUtils.cpp
615e86819cSDimitry AndricSRCS_MIN+=	Analysis/IVDescriptors.cpp
62986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IVUsers.cpp
63986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IndirectCallPromotionAnalysis.cpp
64986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InlineCost.cpp
65986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InstCount.cpp
665e86819cSDimitry AndricSRCS_MIN+=	Analysis/InstructionPrecedenceTracking.cpp
67986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InstructionSimplify.cpp
68986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Interval.cpp
69986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IntervalPartition.cpp
70986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IteratedDominanceFrontier.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
11709bfd043SDimitry AndricSRCS_MIN+=	Analysis/Trace.cpp
118986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TypeBasedAliasAnalysis.cpp
119986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TypeMetadataUtils.cpp
12036cb3905SDimitry AndricSRCS_MIN+=	Analysis/ValueLattice.cpp
12136cb3905SDimitry AndricSRCS_MIN+=	Analysis/ValueLatticeUtils.cpp
122986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ValueTracking.cpp
123986e05bcSDimitry AndricSRCS_MIN+=	Analysis/VectorUtils.cpp
124986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/LLLexer.cpp
125986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/LLParser.cpp
126986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/Parser.cpp
12744389c28SDimitry AndricSRCS_MIN+=	BinaryFormat/Dwarf.cpp
12844389c28SDimitry AndricSRCS_MIN+=	BinaryFormat/Magic.cpp
1299f6e9a9fSDimitry AndricSRCS_MIN+=	BinaryFormat/Wasm.cpp
13009bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitReader.cpp
131986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitcodeReader.cpp
132986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitstreamReader.cpp
13309bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/MetadataLoader.cpp
13409bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/ValueList.cpp
13509bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitWriter.cpp
136986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitcodeWriter.cpp
137986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitcodeWriterPass.cpp
138986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/ValueEnumerator.cpp
139986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AggressiveAntiDepBreaker.cpp
140986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AllocationOrder.cpp
141986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/Analysis.cpp
142986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/ARMException.cpp
1439f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AccelTable.cpp
144986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AddressPool.cpp
145986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinter.cpp
146986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
147986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
148986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/CodeViewDebug.cpp
149986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DIE.cpp
150986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DIEHash.cpp
1515e86819cSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
152986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DebugHandlerBase.cpp
153986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DebugLocStream.cpp
154986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfCFIException.cpp
155986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfCompileUnit.cpp
156986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfDebug.cpp
157986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfExpression.cpp
158986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfFile.cpp
159986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfStringPool.cpp
160986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfUnit.cpp
161986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/EHStreamer.cpp
162986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/ErlangGCPrinter.cpp
163986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/OcamlGCPrinter.cpp
1645e86819cSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WasmException.cpp
1659f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WinCFGuard.cpp
166986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WinException.cpp
167986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AtomicExpandPass.cpp
168986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BasicTargetTransformInfo.cpp
169986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BranchFolding.cpp
17009bfd043SDimitry AndricSRCS_MIN+=	CodeGen/BranchRelaxation.cpp
1719f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/BreakFalseDeps.cpp
172986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BuiltinGCs.cpp
1739f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/CFIInstrInserter.cpp
174986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CalcSpillWeights.cpp
175986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CallingConvLower.cpp
176986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CodeGen.cpp
177986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CodeGenPrepare.cpp
178986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CriticalAntiDepBreaker.cpp
179986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DFAPacketizer.cpp
180986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DeadMachineInstructionElim.cpp
181986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DetectDeadLanes.cpp
182986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DwarfEHPrepare.cpp
183986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/EarlyIfConversion.cpp
184986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/EdgeBundles.cpp
1859f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/ExecutionDomainFix.cpp
186986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ExpandISelPseudos.cpp
18736cb3905SDimitry AndricSRCS_MIN+=	CodeGen/ExpandMemCmp.cpp
188986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ExpandPostRAPseudos.cpp
1895517e702SDimitry AndricSRCS_MIN+=	CodeGen/ExpandReductions.cpp
1905897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/FEntryInserter.cpp
191986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/FaultMaps.cpp
192986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/FuncletLayout.cpp
193986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GCMetadata.cpp
19409bfd043SDimitry AndricSRCS_MIN+=	CodeGen/GCMetadataPrinter.cpp
195986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GCRootLowering.cpp
19609bfd043SDimitry AndricSRCS_MIN+=	CodeGen/GCStrategy.cpp
1975e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CSEInfo.cpp
1985e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CSEMIRBuilder.cpp
1995e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Combiner.cpp
2005e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CombinerHelper.cpp
2013d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CallLowering.cpp
2025e86819cSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/GISelChangeObserver.cpp
203986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/GlobalISel.cpp
2043d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/IRTranslator.cpp
2053d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/InstructionSelect.cpp
2063d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/InstructionSelector.cpp
2079f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalityPredicates.cpp
2089f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizeMutations.cpp
2093d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Legalizer.cpp
2103d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizerHelper.cpp
2113d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizerInfo.cpp
212302affcbSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Localizer.cpp
2133d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/MachineIRBuilder.cpp
2143d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegBankSelect.cpp
2153d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegisterBank.cpp
2163d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegisterBankInfo.cpp
2173d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Utils.cpp
218986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GlobalMerge.cpp
219986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/IfConversion.cpp
220986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ImplicitNullChecks.cpp
22107577dfeSDimitry AndricSRCS_MIN+=	CodeGen/IndirectBrExpandPass.cpp
222986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InlineSpiller.cpp
223986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InterferenceCache.cpp
224986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InterleavedAccessPass.cpp
2255e86819cSDimitry AndricSRCS_MIN+=	CodeGen/InterleavedLoadCombinePass.cpp
226986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/IntrinsicLowering.cpp
227986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LLVMTargetMachine.cpp
228986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LatencyPriorityQueue.cpp
2295897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/LazyMachineBlockFrequencyInfo.cpp
230986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LexicalScopes.cpp
231986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveDebugValues.cpp
232986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveDebugVariables.cpp
233986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveInterval.cpp
234986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveIntervalUnion.cpp
23544389c28SDimitry AndricSRCS_MIN+=	CodeGen/LiveIntervals.cpp
236986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LivePhysRegs.cpp
237986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeCalc.cpp
238986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeEdit.cpp
239f9448bf3SDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeShrink.cpp
240986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRegMatrix.cpp
2415897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/LiveRegUnits.cpp
2422757ff7eSDimitry AndricSRCS_MIN+=	CodeGen/LiveStacks.cpp
243986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveVariables.cpp
244986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LocalStackSlotAllocation.cpp
2459f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/LoopTraversal.cpp
24609bfd043SDimitry AndricSRCS_MIN+=	CodeGen/LowLevelType.cpp
247986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LowerEmuTLS.cpp
24836cb3905SDimitry AndricSRCS_MIN+=	CodeGen/MIRCanonicalizerPass.cpp
249986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MILexer.cpp
250986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MIParser.cpp
251986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MIRParser.cpp
252986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MIRPrinter.cpp
253986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MIRPrintingPass.cpp
254986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBasicBlock.cpp
255986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBlockFrequencyInfo.cpp
256986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBlockPlacement.cpp
257986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBranchProbabilityInfo.cpp
258986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCSE.cpp
259986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCombiner.cpp
260986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCopyPropagation.cpp
261986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineDominanceFrontier.cpp
262986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineDominators.cpp
263f37b6182SDimitry AndricSRCS_MIN+=	CodeGen/MachineFrameInfo.cpp
264986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunction.cpp
265986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunctionPass.cpp
266986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunctionPrinterPass.cpp
267986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineInstr.cpp
268986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineInstrBundle.cpp
269986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineLICM.cpp
270986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineLoopInfo.cpp
271986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineModuleInfo.cpp
272986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineModuleInfoImpls.cpp
27336cb3905SDimitry AndricSRCS_MIN+=	CodeGen/MachineOperand.cpp
2745897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/MachineOptimizationRemarkEmitter.cpp
2755897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/MachineOutliner.cpp
27609bfd043SDimitry AndricSRCS_MIN+=	CodeGen/MachinePipeliner.cpp
277986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachinePostDominators.cpp
278986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineRegionInfo.cpp
279986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineRegisterInfo.cpp
280986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineSSAUpdater.cpp
281986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineScheduler.cpp
282986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineSink.cpp
283986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineTraceMetrics.cpp
284986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineVerifier.cpp
285edd7eaddSDimitry AndricSRCS_MIN+=	CodeGen/MacroFusion.cpp
286986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/OptimizePHIs.cpp
287986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PHIElimination.cpp
288986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PHIEliminationUtils.cpp
289986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ParallelCG.cpp
290986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PatchableFunction.cpp
291986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PeepholeOptimizer.cpp
292986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PostRAHazardRecognizer.cpp
293986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PostRASchedulerList.cpp
294986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PreISelIntrinsicLowering.cpp
295986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ProcessImplicitDefs.cpp
296986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PrologEpilogInserter.cpp
297986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PseudoSourceValue.cpp
2989f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/ReachingDefAnalysis.cpp
299986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocBase.cpp
300986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocBasic.cpp
301986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocFast.cpp
302986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocGreedy.cpp
303986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocPBQP.cpp
304986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegUsageInfoCollector.cpp
305986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegUsageInfoPropagate.cpp
306986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterClassInfo.cpp
307986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterCoalescer.cpp
308986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterPressure.cpp
309986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterScavenging.cpp
310986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterUsageInfo.cpp
311986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RenameIndependentSubregs.cpp
31209bfd043SDimitry AndricSRCS_MIN+=	CodeGen/ResetMachineFunctionPass.cpp
313986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStack.cpp
314986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStackColoring.cpp
315986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStackLayout.cpp
3165517e702SDimitry AndricSRCS_MIN+=	CodeGen/ScalarizeMaskedMemIntrin.cpp
317986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAG.cpp
318986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAGInstrs.cpp
319986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAGPrinter.cpp
320986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScoreboardHazardRecognizer.cpp
321986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/DAGCombiner.cpp
322986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/FastISel.cpp
323986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
324986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/InstrEmitter.cpp
325986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeDAG.cpp
326986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
327986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
328986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypes.cpp
329986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
330986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorOps.cpp
331986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
332986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
333986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGFast.cpp
334986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
335986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
336986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
337986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAG.cpp
33844389c28SDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
339986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
340986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGDumper.cpp
341986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGISel.cpp
342986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
343986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
344986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/StatepointLowering.cpp
345986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/TargetLowering.cpp
346986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ShadowStackGCLowering.cpp
347986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ShrinkWrap.cpp
348986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SjLjEHPrepare.cpp
349986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SlotIndexes.cpp
350986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SpillPlacement.cpp
351986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SplitKit.cpp
352986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackColoring.cpp
353986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackMapLivenessAnalysis.cpp
354986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackMaps.cpp
355986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackProtector.cpp
356986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackSlotColoring.cpp
357986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TailDuplication.cpp
358986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TailDuplicator.cpp
359986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetFrameLoweringImpl.cpp
360986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetInstrInfo.cpp
361986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetLoweringBase.cpp
362986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetLoweringObjectFileImpl.cpp
363986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetOptionsImpl.cpp
364986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetPassConfig.cpp
365986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetRegisterInfo.cpp
366986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetSchedule.cpp
36709bfd043SDimitry AndricSRCS_MIN+=	CodeGen/TargetSubtargetInfo.cpp
368986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TwoAddressInstructionPass.cpp
369986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/UnreachableBlockElim.cpp
3709f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/ValueTypes.cpp
371986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/VirtRegMap.cpp
3729f6e9a9fSDimitry AndricSRCS_MIN+=	CodeGen/WasmEHPrepare.cpp
373986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/WinEHPrepare.cpp
374986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/XRayInstrumentation.cpp
3753cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
37609bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CVSymbolVisitor.cpp
377986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CVTypeVisitor.cpp
378986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CodeViewError.cpp
37909bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CodeViewRecordIO.cpp
38036cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/ContinuationRecordBuilder.cpp
38189cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugChecksumsSubsection.cpp
382db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugCrossExSubsection.cpp
383db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugCrossImpSubsection.cpp
38489cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugFrameDataSubsection.cpp
38589cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
38689cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugLinesSubsection.cpp
38789cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugStringTableSubsection.cpp
38889cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsection.cpp
38989cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionRecord.cpp
39089cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionVisitor.cpp
391db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSymbolRVASubsection.cpp
39289cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSymbolsSubsection.cpp
3935e86819cSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/EnumTables.cpp
3945897d2f0SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/Formatters.cpp
39536cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
3962a1b82cfSDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/LazyRandomTypeCollection.cpp
397986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/Line.cpp
3983cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/MergingTypeTableBuilder.cpp
39936cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/RecordName.cpp
400986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/RecordSerialization.cpp
40136cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SimpleTypeSerializer.cpp
40224d58133SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/StringsAndChecksums.cpp
403986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SymbolDumper.cpp
40409bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SymbolRecordMapping.cpp
405050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/SymbolSerializer.cpp
406f1a29dd3SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeDumpVisitor.cpp
40736cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeHashing.cpp
408d8866befSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeIndex.cpp
40906230659SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeIndexDiscovery.cpp
410efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/TypeRecordHelpers.cpp
41109bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeRecordMapping.cpp
412986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeStreamMerger.cpp
413d8866befSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeTableCollection.cpp
414caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
415caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
41667b158f6SDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFAddressRange.cpp
417caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
418caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFContext.cpp
419caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
420caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
42199be4f2aSDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAddr.cpp
422caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
423caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
424caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
425caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
426caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLine.cpp
427caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
428caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
429caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
430caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
43167b158f6SDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRnglists.cpp
432caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDie.cpp
433caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFExpression.cpp
434caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFFormValue.cpp
435caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
43667b158f6SDimitry AndricSRCS_MIW+=	DebugInfo/DWARF/DWARFListTable.cpp
437caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
438caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFUnit.cpp
439caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
440caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFVerifier.cpp
44109bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFBuilder.cpp
44209bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFCommon.cpp
44309bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFError.cpp
44409bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MappedBlockStream.cpp
445986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/GenericError.cpp
44609bfd043SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/IPDBSourceFile.cpp
447f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
448f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
4490f5676f4SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleList.cpp
450050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiStream.cpp
451050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiStreamBuilder.cpp
452050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/EnumTables.cpp
4533cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/GSIStreamBuilder.cpp
454050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/GlobalsStream.cpp
455050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/Hash.cpp
456050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/HashTable.cpp
457050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/InfoStream.cpp
458050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/InfoStreamBuilder.cpp
459f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/ModuleDebugStream.cpp
460050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NamedStreamMap.cpp
461050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
462efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumGlobals.cpp
463050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumModules.cpp
46444389c28SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumTypes.cpp
465050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeExeSymbol.cpp
466050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeRawSymbol.cpp
467050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeSession.cpp
468efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp
469efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeArray.cpp
470efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeBuiltin.cpp
471efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeEnum.cpp
472efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeFunctionSig.cpp
473efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypePointer.cpp
474efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeTypedef.cpp
475efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeUDT.cpp
476efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeTypeVTShape.cpp
477050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBFile.cpp
478050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBFileBuilder.cpp
479b174acefSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTable.cpp
480b174acefSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
4813d54deb3SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PublicsStream.cpp
4823d54deb3SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/RawError.cpp
483efa75597SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/SymbolCache.cpp
484050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/SymbolStream.cpp
485050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiHashing.cpp
486050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiStream.cpp
487050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiStreamBuilder.cpp
488986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDB.cpp
489986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBContext.cpp
490986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBExtras.cpp
491986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBInterfaceAnchors.cpp
492986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymDumper.cpp
493986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbol.cpp
494986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolAnnotation.cpp
495986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolBlock.cpp
496986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompiland.cpp
497986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandDetails.cpp
498986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandEnv.cpp
499986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCustom.cpp
500986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolData.cpp
501986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolExe.cpp
502986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFunc.cpp
503986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp
504986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp
505986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolLabel.cpp
506986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolPublicSymbol.cpp
507986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolThunk.cpp
508986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeArray.cpp
509986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp
510986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp
511986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeCustom.cpp
512986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeDimension.cpp
513986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeEnum.cpp
514986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFriend.cpp
515986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp
516986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
517986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeManaged.cpp
518986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypePointer.cpp
519986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeTypedef.cpp
520986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeUDT.cpp
521986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTable.cpp
522986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp
523986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolUnknown.cpp
524986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
525050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/UDTLayout.cpp
52671259635SKyle EvansSRCS_MIW+=	DebugInfo/Symbolize/DIPrinter.cpp
52709bfd043SDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/SymbolizableObjectFile.cpp
52809bfd043SDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/Symbolize.cpp
52909bfd043SDimitry AndricSRCS_MIN+=	Demangle/ItaniumDemangle.cpp
530efa75597SDimitry AndricSRCS_MIW+=	Demangle/MicrosoftDemangle.cpp
531efa75597SDimitry AndricSRCS_MIW+=	Demangle/MicrosoftDemangleNodes.cpp
532986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/ExecutionEngine.cpp
533986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/ExecutionEngineBindings.cpp
534986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/GDBRegistrationListener.cpp
535986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/Execution.cpp
536986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/ExternalFunctions.cpp
537986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/Interpreter.cpp
538986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/MCJIT/MCJIT.cpp
53967b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/CompileOnDemandLayer.cpp
54067b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/Core.cpp
541986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/ExecutionUtils.cpp
54267b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IRCompileLayer.cpp
54367b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IRTransformLayer.cpp
544986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IndirectionUtils.cpp
545efa75597SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
54667b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/LLJIT.cpp
54767b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/Layer.cpp
548efa75597SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/LazyReexports.cpp
54967b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/Legacy.cpp
550986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/NullResolver.cpp
551986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcABISupport.cpp
552986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcCBindings.cpp
553986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcError.cpp
554986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcMCJITReplacement.cpp
555050e2df1SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/RPCUtils.cpp
55667b158f6SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
557efa75597SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/ThreadSafeModule.cpp
55809bfd043SDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/JITSymbol.cpp
559986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
560986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
561986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
562986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
563986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
564986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
56509bfd043SDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
566986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/SectionMemoryManager.cpp
567986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/TargetSelect.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
5859f6e9a9fSDimitry AndricSRCS_MIN+=	IR/DomTreeUpdater.cpp
586986e05bcSDimitry AndricSRCS_MIN+=	IR/Dominators.cpp
587986e05bcSDimitry AndricSRCS_MIN+=	IR/Function.cpp
588986e05bcSDimitry AndricSRCS_MIN+=	IR/GVMaterializer.cpp
589986e05bcSDimitry AndricSRCS_MIN+=	IR/Globals.cpp
590986e05bcSDimitry AndricSRCS_MIN+=	IR/IRBuilder.cpp
591986e05bcSDimitry AndricSRCS_MIN+=	IR/IRPrintingPasses.cpp
592986e05bcSDimitry AndricSRCS_MIN+=	IR/InlineAsm.cpp
593986e05bcSDimitry AndricSRCS_MIN+=	IR/Instruction.cpp
594986e05bcSDimitry AndricSRCS_MIN+=	IR/Instructions.cpp
595986e05bcSDimitry AndricSRCS_MIN+=	IR/IntrinsicInst.cpp
596986e05bcSDimitry AndricSRCS_MIN+=	IR/LLVMContext.cpp
597986e05bcSDimitry AndricSRCS_MIN+=	IR/LLVMContextImpl.cpp
598986e05bcSDimitry AndricSRCS_MIN+=	IR/LegacyPassManager.cpp
599986e05bcSDimitry AndricSRCS_MIN+=	IR/MDBuilder.cpp
600986e05bcSDimitry AndricSRCS_MIN+=	IR/Mangler.cpp
601986e05bcSDimitry AndricSRCS_MIN+=	IR/Metadata.cpp
602986e05bcSDimitry AndricSRCS_MIN+=	IR/Module.cpp
603986e05bcSDimitry AndricSRCS_MIN+=	IR/ModuleSummaryIndex.cpp
604986e05bcSDimitry AndricSRCS_MIN+=	IR/Operator.cpp
605986e05bcSDimitry AndricSRCS_MIN+=	IR/OptBisect.cpp
606986e05bcSDimitry AndricSRCS_MIN+=	IR/Pass.cpp
6075e86819cSDimitry AndricSRCS_MIN+=	IR/PassInstrumentation.cpp
608986e05bcSDimitry AndricSRCS_MIN+=	IR/PassManager.cpp
609986e05bcSDimitry AndricSRCS_MIN+=	IR/PassRegistry.cpp
6105e86819cSDimitry AndricSRCS_MIN+=	IR/PassTimingInfo.cpp
611986e05bcSDimitry AndricSRCS_MIN+=	IR/ProfileSummary.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
6409f6e9a9fSDimitry AndricSRCS_MIN+=	MC/MCAsmMacro.cpp
641986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmStreamer.cpp
642986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAssembler.cpp
643986e05bcSDimitry AndricSRCS_MIN+=	MC/MCCodeEmitter.cpp
64436cb3905SDimitry AndricSRCS_MIN+=	MC/MCCodePadder.cpp
645986e05bcSDimitry AndricSRCS_MIN+=	MC/MCCodeView.cpp
646986e05bcSDimitry AndricSRCS_MIN+=	MC/MCContext.cpp
64775bc38b9SEd MasteSRCS_XDL+=	MC/MCDisassembler/Disassembler.cpp
64830d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCDisassembler.cpp
64930d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCExternalSymbolizer.cpp
650986e05bcSDimitry AndricSRCS_MIN+=	MC/MCDisassembler/MCRelocationInfo.cpp
65130d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCSymbolizer.cpp
652986e05bcSDimitry AndricSRCS_MIN+=	MC/MCDwarf.cpp
653986e05bcSDimitry AndricSRCS_MIN+=	MC/MCELFObjectTargetWriter.cpp
654986e05bcSDimitry AndricSRCS_MIN+=	MC/MCELFStreamer.cpp
655986e05bcSDimitry AndricSRCS_MIN+=	MC/MCExpr.cpp
656986e05bcSDimitry AndricSRCS_MIN+=	MC/MCFragment.cpp
657986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInst.cpp
658986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstPrinter.cpp
659986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstrAnalysis.cpp
660986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstrDesc.cpp
661986e05bcSDimitry AndricSRCS_MIN+=	MC/MCLinkerOptimizationHint.cpp
662986e05bcSDimitry AndricSRCS_MIN+=	MC/MCMachOStreamer.cpp
663986e05bcSDimitry AndricSRCS_MIN+=	MC/MCMachObjectTargetWriter.cpp
664986e05bcSDimitry AndricSRCS_MIN+=	MC/MCNullStreamer.cpp
665986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectFileInfo.cpp
666986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectStreamer.cpp
667986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectWriter.cpp
668986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/AsmLexer.cpp
669986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/AsmParser.cpp
670986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/COFFAsmParser.cpp
671986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/DarwinAsmParser.cpp
672986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/ELFAsmParser.cpp
673986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmLexer.cpp
674986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmParser.cpp
675986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmParserExtension.cpp
676986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCTargetAsmParser.cpp
6775e86819cSDimitry AndricSRCS_MIN+=	MC/MCParser/WasmAsmParser.cpp
678986e05bcSDimitry AndricSRCS_MIN+=	MC/MCRegisterInfo.cpp
679986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSchedule.cpp
680986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSection.cpp
681986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionCOFF.cpp
682986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionELF.cpp
683986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionMachO.cpp
6845897d2f0SDimitry AndricSRCS_MIN+=	MC/MCSectionWasm.cpp
685986e05bcSDimitry AndricSRCS_MIN+=	MC/MCStreamer.cpp
686986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSubtargetInfo.cpp
687986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSymbol.cpp
688986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSymbolELF.cpp
689986e05bcSDimitry AndricSRCS_MIN+=	MC/MCTargetOptions.cpp
690986e05bcSDimitry AndricSRCS_MIN+=	MC/MCValue.cpp
6915897d2f0SDimitry AndricSRCS_MIN+=	MC/MCWasmStreamer.cpp
692986e05bcSDimitry AndricSRCS_MIN+=	MC/MCWin64EH.cpp
693edd7eaddSDimitry AndricSRCS_MIN+=	MC/MCWinCOFFStreamer.cpp
694986e05bcSDimitry AndricSRCS_MIN+=	MC/MCWinEH.cpp
695986e05bcSDimitry AndricSRCS_MIN+=	MC/MachObjectWriter.cpp
696986e05bcSDimitry AndricSRCS_MIN+=	MC/StringTableBuilder.cpp
697986e05bcSDimitry AndricSRCS_MIN+=	MC/SubtargetFeature.cpp
6989f6e9a9fSDimitry AndricSRCS_MIN+=	MC/WasmObjectWriter.cpp
699986e05bcSDimitry AndricSRCS_MIN+=	MC/WinCOFFObjectWriter.cpp
700efa75597SDimitry AndricSRCS_EXT+=	MCA/Context.cpp
701efa75597SDimitry AndricSRCS_EXT+=	MCA/HWEventListener.cpp
702efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/HardwareUnit.cpp
703efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/LSUnit.cpp
704efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/RegisterFile.cpp
705efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/ResourceManager.cpp
706efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/RetireControlUnit.cpp
707efa75597SDimitry AndricSRCS_EXT+=	MCA/HardwareUnits/Scheduler.cpp
708efa75597SDimitry AndricSRCS_EXT+=	MCA/InstrBuilder.cpp
709efa75597SDimitry AndricSRCS_EXT+=	MCA/Instruction.cpp
710efa75597SDimitry AndricSRCS_EXT+=	MCA/Pipeline.cpp
711efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/DispatchStage.cpp
712efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/EntryStage.cpp
713efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/ExecuteStage.cpp
714efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/InstructionTables.cpp
715efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/RetireStage.cpp
716efa75597SDimitry AndricSRCS_EXT+=	MCA/Stages/Stage.cpp
717efa75597SDimitry AndricSRCS_EXT+=	MCA/Support.cpp
718986e05bcSDimitry AndricSRCS_MIN+=	Object/Archive.cpp
719986e05bcSDimitry AndricSRCS_MIN+=	Object/ArchiveWriter.cpp
720986e05bcSDimitry AndricSRCS_MIN+=	Object/Binary.cpp
721*9c954a48SEd MasteSRCS_MIN+=	Object/COFFImportFile.cpp
722*9c954a48SEd MasteSRCS_MIN+=	Object/COFFModuleDefinition.cpp
723986e05bcSDimitry AndricSRCS_MIN+=	Object/COFFObjectFile.cpp
724f1a29dd3SDimitry AndricSRCS_MIN+=	Object/Decompressor.cpp
725986e05bcSDimitry AndricSRCS_MIN+=	Object/ELF.cpp
726986e05bcSDimitry AndricSRCS_MIN+=	Object/ELFObjectFile.cpp
727986e05bcSDimitry AndricSRCS_MIN+=	Object/Error.cpp
728986e05bcSDimitry AndricSRCS_MIN+=	Object/IRObjectFile.cpp
7295897d2f0SDimitry AndricSRCS_MIN+=	Object/IRSymtab.cpp
730986e05bcSDimitry AndricSRCS_MIN+=	Object/MachOObjectFile.cpp
731986e05bcSDimitry AndricSRCS_MIN+=	Object/MachOUniversal.cpp
73209bfd043SDimitry AndricSRCS_MIN+=	Object/ModuleSymbolTable.cpp
733986e05bcSDimitry AndricSRCS_EXT+=	Object/Object.cpp
734986e05bcSDimitry AndricSRCS_MIN+=	Object/ObjectFile.cpp
735986e05bcSDimitry AndricSRCS_MIN+=	Object/RecordStreamer.cpp
73609bfd043SDimitry AndricSRCS_MIW+=	Object/SymbolSize.cpp
737986e05bcSDimitry AndricSRCS_MIN+=	Object/SymbolicFile.cpp
73809bfd043SDimitry AndricSRCS_MIN+=	Object/WasmObjectFile.cpp
739bbd32193SDimitry AndricSRCS_MIN+=	Object/WindowsResource.cpp
740986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/COFFYAML.cpp
741f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLDebugSections.cpp
742f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLSymbols.cpp
743f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLTypes.cpp
74409bfd043SDimitry AndricSRCS_MIN+=	ObjectYAML/DWARFYAML.cpp
745986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/ELFYAML.cpp
746986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/MachOYAML.cpp
74724d58133SDimitry AndricSRCS_EXT+=	ObjectYAML/YAML.cpp
748986e05bcSDimitry AndricSRCS_MIN+=	Option/Arg.cpp
749986e05bcSDimitry AndricSRCS_MIN+=	Option/ArgList.cpp
750986e05bcSDimitry AndricSRCS_MIN+=	Option/OptTable.cpp
751986e05bcSDimitry AndricSRCS_MIN+=	Option/Option.cpp
75209bfd043SDimitry AndricSRCS_MIN+=	Passes/PassBuilder.cpp
75367b158f6SDimitry AndricSRCS_EXT+=	Passes/PassPlugin.cpp
754efa75597SDimitry AndricSRCS_EXT+=	Passes/StandardInstrumentations.cpp
755986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMapping.cpp
756986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMappingReader.cpp
757986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMappingWriter.cpp
7581b49115aSEd MasteSRCS_MIN+=	ProfileData/GCOV.cpp
759986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProf.cpp
760986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProfReader.cpp
761986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProfWriter.cpp
762986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/ProfileSummaryBuilder.cpp
763986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/SampleProf.cpp
764986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/SampleProfReader.cpp
765961eb443SEd MasteSRCS_MIN+=	ProfileData/SampleProfWriter.cpp
7665e86819cSDimitry AndricSRCS_MIN+=	Support/AArch64TargetParser.cpp
767986e05bcSDimitry AndricSRCS_MIN+=	Support/APFloat.cpp
768986e05bcSDimitry AndricSRCS_MIN+=	Support/APInt.cpp
769986e05bcSDimitry AndricSRCS_MIN+=	Support/APSInt.cpp
7705897d2f0SDimitry AndricSRCS_MIN+=	Support/ARMAttributeParser.cpp
771986e05bcSDimitry AndricSRCS_MIN+=	Support/ARMBuildAttrs.cpp
7725e86819cSDimitry AndricSRCS_MIN+=	Support/ARMTargetParser.cpp
773986e05bcSDimitry AndricSRCS_MIN+=	Support/Allocator.cpp
774986e05bcSDimitry AndricSRCS_MIN+=	Support/Atomic.cpp
7755897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamError.cpp
7765897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamReader.cpp
777d8866befSDimitry AndricSRCS_MIN+=	Support/BinaryStreamRef.cpp
7785897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamWriter.cpp
779986e05bcSDimitry AndricSRCS_MIN+=	Support/BlockFrequency.cpp
780986e05bcSDimitry AndricSRCS_MIN+=	Support/BranchProbability.cpp
7815e86819cSDimitry AndricSRCS_MIN+=	Support/BuryPointer.cpp
78271259635SKyle EvansSRCS_MIW+=	Support/COM.cpp
783986e05bcSDimitry AndricSRCS_MIN+=	Support/CachePruning.cpp
78409bfd043SDimitry AndricSRCS_MIN+=	Support/Chrono.cpp
78536cb3905SDimitry AndricSRCS_MIN+=	Support/CodeGenCoverage.cpp
786986e05bcSDimitry AndricSRCS_MIN+=	Support/CommandLine.cpp
787986e05bcSDimitry AndricSRCS_MIN+=	Support/Compression.cpp
78809bfd043SDimitry AndricSRCS_MIN+=	Support/ConvertUTF.cpp
789986e05bcSDimitry AndricSRCS_MIN+=	Support/ConvertUTFWrapper.cpp
790986e05bcSDimitry AndricSRCS_MIN+=	Support/CrashRecoveryContext.cpp
791986e05bcSDimitry AndricSRCS_MIN+=	Support/DAGDeltaAlgorithm.cpp
7929f6e9a9fSDimitry AndricSRCS_MIN+=	Support/DJB.cpp
793986e05bcSDimitry AndricSRCS_MIN+=	Support/DataExtractor.cpp
794986e05bcSDimitry AndricSRCS_MIN+=	Support/Debug.cpp
7955897d2f0SDimitry AndricSRCS_MIN+=	Support/DebugCounter.cpp
796986e05bcSDimitry AndricSRCS_MIN+=	Support/DeltaAlgorithm.cpp
797986e05bcSDimitry AndricSRCS_MIN+=	Support/DynamicLibrary.cpp
798986e05bcSDimitry AndricSRCS_MIN+=	Support/Errno.cpp
799986e05bcSDimitry AndricSRCS_MIN+=	Support/Error.cpp
800986e05bcSDimitry AndricSRCS_MIN+=	Support/ErrorHandling.cpp
80175bc38b9SEd MasteSRCS_EXL+=	Support/FileOutputBuffer.cpp
802986e05bcSDimitry AndricSRCS_EXT+=	Support/FileUtilities.cpp
803986e05bcSDimitry AndricSRCS_MIN+=	Support/FoldingSet.cpp
80409bfd043SDimitry AndricSRCS_MIN+=	Support/FormatVariadic.cpp
805986e05bcSDimitry AndricSRCS_MIN+=	Support/FormattedStream.cpp
80609bfd043SDimitry AndricSRCS_MIN+=	Support/GlobPattern.cpp
807986e05bcSDimitry AndricSRCS_MIN+=	Support/GraphWriter.cpp
808986e05bcSDimitry AndricSRCS_MIN+=	Support/Hashing.cpp
809986e05bcSDimitry AndricSRCS_MIN+=	Support/Host.cpp
8109f6e9a9fSDimitry AndricSRCS_MIN+=	Support/InitLLVM.cpp
811986e05bcSDimitry AndricSRCS_MIN+=	Support/IntEqClasses.cpp
812986e05bcSDimitry AndricSRCS_MIN+=	Support/IntervalMap.cpp
8135e86819cSDimitry AndricSRCS_MIN+=	Support/ItaniumManglingCanonicalizer.cpp
8142d31b1b8SDimitry AndricSRCS_MIN+=	Support/JSON.cpp
815986e05bcSDimitry AndricSRCS_MIN+=	Support/JamCRC.cpp
81636cb3905SDimitry AndricSRCS_MIN+=	Support/KnownBits.cpp
817986e05bcSDimitry AndricSRCS_MIN+=	Support/LEB128.cpp
818986e05bcSDimitry AndricSRCS_MIN+=	Support/LineIterator.cpp
819986e05bcSDimitry AndricSRCS_MIN+=	Support/Locale.cpp
820986e05bcSDimitry AndricSRCS_MIN+=	Support/LockFileManager.cpp
8215897d2f0SDimitry AndricSRCS_MIN+=	Support/LowLevelType.cpp
822986e05bcSDimitry AndricSRCS_MIN+=	Support/MD5.cpp
823986e05bcSDimitry AndricSRCS_MIN+=	Support/ManagedStatic.cpp
824986e05bcSDimitry AndricSRCS_MIN+=	Support/MathExtras.cpp
8257bfc2d0fSDimitry AndricSRCS_XDL+=	Support/Memory.cpp
826986e05bcSDimitry AndricSRCS_MIN+=	Support/MemoryBuffer.cpp
827986e05bcSDimitry AndricSRCS_MIN+=	Support/Mutex.cpp
82809bfd043SDimitry AndricSRCS_MIN+=	Support/NativeFormatting.cpp
829986e05bcSDimitry AndricSRCS_MIN+=	Support/Options.cpp
8305517e702SDimitry AndricSRCS_LLD+=	Support/Parallel.cpp
831986e05bcSDimitry AndricSRCS_MIN+=	Support/Path.cpp
832986e05bcSDimitry AndricSRCS_MIN+=	Support/PluginLoader.cpp
833986e05bcSDimitry AndricSRCS_MIN+=	Support/PrettyStackTrace.cpp
834986e05bcSDimitry AndricSRCS_MIN+=	Support/Process.cpp
835986e05bcSDimitry AndricSRCS_MIN+=	Support/Program.cpp
836986e05bcSDimitry AndricSRCS_MIN+=	Support/RWMutex.cpp
837986e05bcSDimitry AndricSRCS_MIN+=	Support/RandomNumberGenerator.cpp
838986e05bcSDimitry AndricSRCS_MIN+=	Support/Regex.cpp
839986e05bcSDimitry AndricSRCS_MIN+=	Support/SHA1.cpp
840986e05bcSDimitry AndricSRCS_MIN+=	Support/ScaledNumber.cpp
841986e05bcSDimitry AndricSRCS_MIN+=	Support/ScopedPrinter.cpp
842986e05bcSDimitry AndricSRCS_MIN+=	Support/Signals.cpp
843986e05bcSDimitry AndricSRCS_MIN+=	Support/SmallPtrSet.cpp
844986e05bcSDimitry AndricSRCS_MIN+=	Support/SmallVector.cpp
845986e05bcSDimitry AndricSRCS_MIN+=	Support/SourceMgr.cpp
846986e05bcSDimitry AndricSRCS_MIN+=	Support/SpecialCaseList.cpp
847986e05bcSDimitry AndricSRCS_MIN+=	Support/Statistic.cpp
848986e05bcSDimitry AndricSRCS_MIN+=	Support/StringExtras.cpp
849986e05bcSDimitry AndricSRCS_MIN+=	Support/StringMap.cpp
850986e05bcSDimitry AndricSRCS_MIN+=	Support/StringRef.cpp
851986e05bcSDimitry AndricSRCS_MIN+=	Support/StringSaver.cpp
8525e86819cSDimitry AndricSRCS_MIN+=	Support/SymbolRemappingReader.cpp
853986e05bcSDimitry AndricSRCS_EXT+=	Support/SystemUtils.cpp
8541ae4f0f6SDimitry AndricSRCS_LLD+=	Support/TarWriter.cpp
855986e05bcSDimitry AndricSRCS_MIN+=	Support/TargetParser.cpp
856986e05bcSDimitry AndricSRCS_MIN+=	Support/TargetRegistry.cpp
857986e05bcSDimitry AndricSRCS_MIN+=	Support/ThreadLocal.cpp
85809bfd043SDimitry AndricSRCS_MIN+=	Support/ThreadPool.cpp
859986e05bcSDimitry AndricSRCS_MIN+=	Support/Threading.cpp
860986e05bcSDimitry AndricSRCS_MIN+=	Support/Timer.cpp
861986e05bcSDimitry AndricSRCS_MIN+=	Support/ToolOutputFile.cpp
86209bfd043SDimitry AndricSRCS_MIN+=	Support/TrigramIndex.cpp
863986e05bcSDimitry AndricSRCS_MIN+=	Support/Triple.cpp
864986e05bcSDimitry AndricSRCS_MIN+=	Support/Twine.cpp
865986e05bcSDimitry AndricSRCS_MIN+=	Support/Unicode.cpp
8669f6e9a9fSDimitry AndricSRCS_MIN+=	Support/UnicodeCaseFold.cpp
867986e05bcSDimitry AndricSRCS_MIN+=	Support/Valgrind.cpp
8685e86819cSDimitry AndricSRCS_MIN+=	Support/VirtualFileSystem.cpp
8699f6e9a9fSDimitry AndricSRCS_MIN+=	Support/VersionTuple.cpp
87080a8c751SEd MasteSRCS_MIN+=	Support/WithColor.cpp
871986e05bcSDimitry AndricSRCS_MIN+=	Support/YAMLParser.cpp
872986e05bcSDimitry AndricSRCS_MIN+=	Support/YAMLTraits.cpp
873986e05bcSDimitry AndricSRCS_MIN+=	Support/circular_raw_ostream.cpp
874986e05bcSDimitry AndricSRCS_MIN+=	Support/raw_os_ostream.cpp
875986e05bcSDimitry AndricSRCS_MIN+=	Support/raw_ostream.cpp
876986e05bcSDimitry AndricSRCS_MIN+=	Support/regcomp.c
877986e05bcSDimitry AndricSRCS_MIN+=	Support/regerror.c
878986e05bcSDimitry AndricSRCS_MIN+=	Support/regexec.c
879986e05bcSDimitry AndricSRCS_MIN+=	Support/regfree.c
880986e05bcSDimitry AndricSRCS_MIN+=	Support/regstrlcpy.c
88180a8c751SEd MasteSRCS_MIN+=	Support/xxhash.cpp
882986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Error.cpp
883d25b9f8fSDimitry AndricSRCS_MIN+=	TableGen/JSONBackend.cpp
884986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Main.cpp
885986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Record.cpp
886986e05bcSDimitry AndricSRCS_MIN+=	TableGen/SetTheory.cpp
887986e05bcSDimitry AndricSRCS_MIN+=	TableGen/StringMatcher.cpp
888986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TGLexer.cpp
889986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TGParser.cpp
890986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TableGenBackend.cpp
891cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} != "no"
892986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64A53Fix835769.cpp
893986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64A57FPLoadBalancing.cpp
894986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64AdvSIMDScalarPass.cpp
895986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64AsmPrinter.cpp
8965e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64BranchTargets.cpp
8973d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CallLowering.cpp
898986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
899986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CollectLOH.cpp
9005e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CompressJumpTables.cpp
901edd7eaddSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CondBrTuning.cpp
902986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ConditionOptimizer.cpp
903986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ConditionalCompares.cpp
904986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
905986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ExpandPseudoInsts.cpp
906b40b48b8SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FalkorHWPFFix.cpp
907986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FastISel.cpp
908986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FrameLowering.cpp
909986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ISelDAGToDAG.cpp
910986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ISelLowering.cpp
911986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64InstrInfo.cpp
9123d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64InstructionSelector.cpp
9133d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64LegalizerInfo.cpp
914986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64LoadStoreOptimizer.cpp
915986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64MCInstLower.cpp
9165897d2f0SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64MacroFusion.cpp
917986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PBQPRegAlloc.cpp
9185e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PreLegalizerCombiner.cpp
919986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PromoteConstant.cpp
920986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RedundantCopyElimination.cpp
9213d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RegisterBankInfo.cpp
922986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RegisterInfo.cpp
92336cb3905SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SIMDInstrOpt.cpp
924986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SelectionDAGInfo.cpp
9255e86819cSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SpeculationHardening.cpp
926986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64StorePairSuppress.cpp
927986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64Subtarget.cpp
928986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetMachine.cpp
929986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetObjectFile.cpp
930986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetTransformInfo.cpp
931986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AsmParser/AArch64AsmParser.cpp
93230d4828eSDimitry AndricSRCS_XDW+=	Target/AArch64/Disassembler/AArch64Disassembler.cpp
93330d4828eSDimitry AndricSRCS_XDW+=	Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
934986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
935986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
936986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
937986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
938986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
939986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
940986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
941986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
942986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
943986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
944a580b014SDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
945a580b014SDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
946986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
947986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/Utils/AArch64BaseInfo.cpp
948cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_AARCH64
949cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_ARM} != "no"
950986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/A15SDOptimizer.cpp
951986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMAsmPrinter.cpp
952986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBaseInstrInfo.cpp
953986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBaseRegisterInfo.cpp
9543d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMCallLowering.cpp
9559f6e9a9fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMCodeGenPrepare.cpp
95609bfd043SDimitry AndricSRCS_MIN+=	Target/ARM/ARMComputeBlockSize.cpp
957986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMConstantIslandPass.cpp
958986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMConstantPoolValue.cpp
959986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMExpandPseudoInsts.cpp
960986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMFastISel.cpp
961986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMFrameLowering.cpp
962986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMHazardRecognizer.cpp
963986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMISelDAGToDAG.cpp
964986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMISelLowering.cpp
965986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMInstrInfo.cpp
9663d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMInstructionSelector.cpp
9673d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMLegalizerInfo.cpp
968986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMLoadStoreOptimizer.cpp
969986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMCInstLower.cpp
970986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMachineFunctionInfo.cpp
971edd7eaddSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMacroFusion.cpp
972986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMOptimizeBarriersPass.cpp
9739f6e9a9fSDimitry AndricSRCS_MIN+=	Target/ARM/ARMParallelDSP.cpp
9743d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMRegisterBankInfo.cpp
975986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMRegisterInfo.cpp
976986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMSelectionDAGInfo.cpp
977986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMSubtarget.cpp
978986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetMachine.cpp
979986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetObjectFile.cpp
980986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetTransformInfo.cpp
981986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/AsmParser/ARMAsmParser.cpp
982986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Disassembler/ARMDisassembler.cpp
983986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/InstPrinter/ARMInstPrinter.cpp
984986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
985986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
986986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
987986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
988986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
989986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCExpr.cpp
990986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
991986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
992986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
993986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
994986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
995986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
996986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
997986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MLxExpansionPass.cpp
998986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/TargetInfo/ARMTargetInfo.cpp
999986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb1FrameLowering.cpp
1000986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb1InstrInfo.cpp
1001986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2ITBlockPass.cpp
1002986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2InstrInfo.cpp
1003986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2SizeReduction.cpp
1004986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ThumbRegisterInfo.cpp
100536cb3905SDimitry AndricSRCS_MIN+=	Target/ARM/Utils/ARMBaseInfo.cpp
1006cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_ARM
100789edb881SDimitry Andric.if ${MK_LLVM_TARGET_BPF} != "no"
100889edb881SDimitry AndricSRCS_MIN+=	Target/BPF/AsmParser/BPFAsmParser.cpp
100989edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFAsmPrinter.cpp
101089edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFFrameLowering.cpp
101189edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFISelDAGToDAG.cpp
101289edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFISelLowering.cpp
101389edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFInstrInfo.cpp
101489edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFMCInstLower.cpp
10150a462115SDimitry AndricSRCS_MIN+=	Target/BPF/BPFMIChecking.cpp
1016f9c0a512SDimitry AndricSRCS_MIN+=	Target/BPF/BPFMIPeephole.cpp
101789edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFRegisterInfo.cpp
1018f9c0a512SDimitry AndricSRCS_MIN+=	Target/BPF/BPFSelectionDAGInfo.cpp
101989edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFSubtarget.cpp
102089edb881SDimitry AndricSRCS_MIN+=	Target/BPF/BPFTargetMachine.cpp
10210a462115SDimitry AndricSRCS_MIN+=	Target/BPF/BTFDebug.cpp
102289edb881SDimitry AndricSRCS_MIN+=	Target/BPF/Disassembler/BPFDisassembler.cpp
102389edb881SDimitry AndricSRCS_MIN+=	Target/BPF/InstPrinter/BPFInstPrinter.cpp
102489edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
102589edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
102689edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
102789edb881SDimitry AndricSRCS_MIN+=	Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
102889edb881SDimitry AndricSRCS_MIN+=	Target/BPF/TargetInfo/BPFTargetInfo.cpp
102989edb881SDimitry Andric.endif # MK_LLVM_TARGET_BPF
1030cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_MIPS} != "no"
1031986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/AsmParser/MipsAsmParser.cpp
103230d4828eSDimitry AndricSRCS_XDW+=	Target/Mips/Disassembler/MipsDisassembler.cpp
1033986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/InstPrinter/MipsInstPrinter.cpp
1034986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
1035986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIInfo.cpp
1036986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
1037986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
1038986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
1039986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
1040986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
1041986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCExpr.cpp
1042986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
1043986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
1044986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
1045986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
1046f37b6182SDimitry AndricSRCS_MIN+=	Target/Mips/MicroMipsSizeReduction.cpp
1047986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16FrameLowering.cpp
1048986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16HardFloat.cpp
1049986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16HardFloatInfo.cpp
1050986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16ISelDAGToDAG.cpp
1051986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16ISelLowering.cpp
1052986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16InstrInfo.cpp
1053986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16RegisterInfo.cpp
1054986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsAnalyzeImmediate.cpp
1055986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsAsmPrinter.cpp
10569f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsBranchExpansion.cpp
1057986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsCCState.cpp
10589f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsCallLowering.cpp
1059986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsConstantIslandPass.cpp
1060986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsDelaySlotFiller.cpp
10619f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsExpandPseudo.cpp
1062986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsFastISel.cpp
1063986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsFrameLowering.cpp
1064986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsISelDAGToDAG.cpp
1065986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsISelLowering.cpp
1066986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsInstrInfo.cpp
10679f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsInstructionSelector.cpp
10689f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsLegalizerInfo.cpp
1069986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsMCInstLower.cpp
1070986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsMachineFunction.cpp
1071986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsModuleISelDAGToDAG.cpp
1072986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsOptimizePICCall.cpp
1073986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsOs16.cpp
10745e86819cSDimitry AndricSRCS_MIN+=	Target/Mips/MipsPreLegalizerCombiner.cpp
10759f6e9a9fSDimitry AndricSRCS_MIN+=	Target/Mips/MipsRegisterBankInfo.cpp
1076986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsRegisterInfo.cpp
1077986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEFrameLowering.cpp
1078986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEISelDAGToDAG.cpp
1079986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEISelLowering.cpp
1080986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEInstrInfo.cpp
1081986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSERegisterInfo.cpp
1082986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSubtarget.cpp
1083986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsTargetMachine.cpp
1084986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsTargetObjectFile.cpp
1085986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/TargetInfo/MipsTargetInfo.cpp
1086cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_MIPS
1087cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_POWERPC} != "no"
1088986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/AsmParser/PPCAsmParser.cpp
1089986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/Disassembler/PPCDisassembler.cpp
1090986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
1091986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
1092986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
1093986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
1094986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
1095986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
1096986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
1097986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
1098986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCPredicates.cpp
1099986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCAsmPrinter.cpp
1100986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBoolRetToInt.cpp
110136cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBranchCoalescing.cpp
1102986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBranchSelector.cpp
1103986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCCState.cpp
1104986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCTRLoops.cpp
1105986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCEarlyReturn.cpp
11065897d2f0SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCExpandISEL.cpp
1107986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCFastISel.cpp
1108986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCFrameLowering.cpp
1109986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCHazardRecognizers.cpp
1110986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCISelDAGToDAG.cpp
1111986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCISelLowering.cpp
1112986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCInstrInfo.cpp
1113986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCLoopPreIncPrep.cpp
1114986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMCInstLower.cpp
1115986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMIPeephole.cpp
1116986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMachineFunctionInfo.cpp
111736cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCPreEmitPeephole.cpp
1118986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCQPXLoadSplat.cpp
111936cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCReduceCRLogicals.cpp
1120986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCRegisterInfo.cpp
1121986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCSubtarget.cpp
1122986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTLSDynamicCall.cpp
1123986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTOCRegDeps.cpp
1124986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetMachine.cpp
1125986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetObjectFile.cpp
1126986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetTransformInfo.cpp
1127986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXCopy.cpp
1128986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXFMAMutate.cpp
1129986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXSwapRemoval.cpp
1130986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
1131cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_POWERPC
1132b2689b12SMitchell Horne.if ${MK_LLVM_TARGET_RISCV} != "no"
1133b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/AsmParser/RISCVAsmParser.cpp
1134b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/Disassembler/RISCVDisassembler.cpp
1135b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/InstPrinter/RISCVInstPrinter.cpp
1136b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
1137b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
1138b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
1139b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
1140b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
1141b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
1142b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
1143b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
1144b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVAsmPrinter.cpp
1145b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVExpandPseudoInsts.cpp
1146b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVFrameLowering.cpp
1147b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVInstrInfo.cpp
1148b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVISelDAGToDAG.cpp
1149b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVISelLowering.cpp
1150b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVMCInstLower.cpp
1151b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVMergeBaseOffset.cpp
1152b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVRegisterInfo.cpp
1153b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVSubtarget.cpp
1154b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVTargetMachine.cpp
1155b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/RISCVTargetObjectFile.cpp
1156b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
1157b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/Utils/RISCVBaseInfo.cpp
1158b2689b12SMitchell HorneSRCS_MIN+=	Target/RISCV/Utils/RISCVMatInt.cpp
1159b2689b12SMitchell Horne.endif # MK_LLVM_TARGET_RISCV
1160cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_SPARC} != "no"
1161986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/AsmParser/SparcAsmParser.cpp
1162986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/DelaySlotFiller.cpp
116330d4828eSDimitry AndricSRCS_XDW+=	Target/Sparc/Disassembler/SparcDisassembler.cpp
1164986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/InstPrinter/SparcInstPrinter.cpp
1165986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/LeonPasses.cpp
1166986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
1167986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
1168986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
1169986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
1170986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
1171986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
1172986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp
1173986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcAsmPrinter.cpp
1174986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcFrameLowering.cpp
1175986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcISelDAGToDAG.cpp
1176986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcISelLowering.cpp
1177986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcInstrInfo.cpp
1178986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcMCInstLower.cpp
1179986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcMachineFunctionInfo.cpp
1180986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcRegisterInfo.cpp
1181986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcSubtarget.cpp
1182986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcTargetMachine.cpp
1183986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcTargetObjectFile.cpp
1184986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/TargetInfo/SparcTargetInfo.cpp
1185cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_SPARC
1186986e05bcSDimitry AndricSRCS_MIN+=	Target/Target.cpp
118709bfd043SDimitry AndricSRCS_MIN+=	Target/TargetIntrinsicInfo.cpp
1188986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetLoweringObjectFile.cpp
1189986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetMachine.cpp
1190986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetMachineC.cpp
1191cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_X86} != "no"
1192986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/AsmParser/X86AsmInstrumentation.cpp
1193986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/AsmParser/X86AsmParser.cpp
119430d4828eSDimitry AndricSRCS_XDW+=	Target/X86/Disassembler/X86Disassembler.cpp
119530d4828eSDimitry AndricSRCS_XDW+=	Target/X86/Disassembler/X86DisassemblerDecoder.cpp
1196986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86ATTInstPrinter.cpp
1197986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86InstComments.cpp
11989f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86InstPrinterCommon.cpp
1199986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86IntelInstPrinter.cpp
1200986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86AsmBackend.cpp
1201986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
1202986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
1203986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
1204986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
1205986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
1206986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
1207986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
120836cb3905SDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
1209986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/TargetInfo/X86TargetInfo.cpp
1210986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/Utils/X86ShuffleDecode.cpp
12119f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/ShadowCallStack.cpp
1212986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86AsmPrinter.cpp
12139f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86AvoidStoreForwardingBlocks.cpp
1214986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86CallFrameOptimization.cpp
12153d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86CallLowering.cpp
121609bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86CallingConv.cpp
1217b40b48b8SDimitry AndricSRCS_MIN+=	Target/X86/X86CmovConversion.cpp
12185e86819cSDimitry AndricSRCS_MIN+=	Target/X86/X86CondBrFolding.cpp
12195e86819cSDimitry AndricSRCS_MIN+=	Target/X86/X86DiscriminateMemOps.cpp
122036cb3905SDimitry AndricSRCS_MIN+=	Target/X86/X86DomainReassignment.cpp
122109bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86EvexToVex.cpp
1222986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ExpandPseudo.cpp
1223986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FastISel.cpp
1224986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupBWInsts.cpp
1225986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupLEAs.cpp
1226986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupSetCC.cpp
12270556cfadSDimitry AndricSRCS_MIN+=	Target/X86/X86FlagsCopyLowering.cpp
1228986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FloatingPoint.cpp
1229986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FrameLowering.cpp
1230986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ISelDAGToDAG.cpp
1231986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ISelLowering.cpp
12329f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86IndirectBranchTracking.cpp
12335e86819cSDimitry AndricSRCS_MIN+=	Target/X86/X86InsertPrefetch.cpp
123409bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86InstrFMA3Info.cpp
12359f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86InstrFoldTables.cpp
1236986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86InstrInfo.cpp
12373d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86InstructionSelector.cpp
123809bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86InterleavedAccess.cpp
12393d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86LegalizerInfo.cpp
1240986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86MCInstLower.cpp
1241986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86MachineFunctionInfo.cpp
12425897d2f0SDimitry AndricSRCS_MIN+=	Target/X86/X86MacroFusion.cpp
1243986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86OptimizeLEAs.cpp
1244986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86PadShortFunction.cpp
12453d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86RegisterBankInfo.cpp
1246986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86RegisterInfo.cpp
124707577dfeSDimitry AndricSRCS_MIN+=	Target/X86/X86RetpolineThunks.cpp
1248986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86SelectionDAGInfo.cpp
1249986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ShuffleDecodeConstantPool.cpp
12509f6e9a9fSDimitry AndricSRCS_MIN+=	Target/X86/X86SpeculativeLoadHardening.cpp
1251986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86Subtarget.cpp
1252986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetMachine.cpp
1253986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetObjectFile.cpp
1254986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetTransformInfo.cpp
1255986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86VZeroUpper.cpp
1256986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86WinAllocaExpander.cpp
1257986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86WinEHState.cpp
1258cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_X86
1259*9c954a48SEd MasteSRCS_MIN+=	ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
12605517e702SDimitry AndricSRCS_EXL+=	ToolDrivers/llvm-lib/LibDriver.cpp
12619f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
12629f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/AggressiveInstCombine/TruncInstCombine.cpp
126309bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroCleanup.cpp
126409bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroEarly.cpp
126509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroElide.cpp
126609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroFrame.cpp
126709bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroSplit.cpp
126809bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/Coroutines.cpp
126909bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/AlwaysInliner.cpp
1270986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ArgumentPromotion.cpp
1271986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/BarrierNoopPass.cpp
127267b158f6SDimitry AndricSRCS_EXT+=	Transforms/IPO/BlockExtractor.cpp
127336cb3905SDimitry AndricSRCS_MIN+=	Transforms/IPO/CalledValuePropagation.cpp
1274986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ConstantMerge.cpp
1275986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/CrossDSOCFI.cpp
1276986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/DeadArgumentElimination.cpp
1277986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ElimAvailExtern.cpp
1278986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ExtractGV.cpp
1279986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ForceFunctionAttrs.cpp
1280986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/FunctionAttrs.cpp
1281986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/FunctionImport.cpp
1282986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalDCE.cpp
1283986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalOpt.cpp
128409bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalSplit.cpp
12855e86819cSDimitry AndricSRCS_MIN+=	Transforms/IPO/HotColdSplitting.cpp
1286986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/IPConstantPropagation.cpp
1287986e05bcSDimitry AndricSRCS_EXT+=	Transforms/IPO/IPO.cpp
1288986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/InferFunctionAttrs.cpp
1289986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/InlineSimple.cpp
1290986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/Inliner.cpp
1291986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/Internalize.cpp
1292986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/LoopExtractor.cpp
1293986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/LowerTypeTests.cpp
1294986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/MergeFunctions.cpp
1295986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PartialInlining.cpp
1296986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PassManagerBuilder.cpp
1297986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PruneEH.cpp
12989f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/IPO/SCCP.cpp
1299986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/SampleProfile.cpp
1300986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/StripDeadPrototypes.cpp
1301986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/StripSymbols.cpp
13029f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/IPO/SyntheticCountsPropagation.cpp
130309bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/ThinLTOBitcodeWriter.cpp
1304986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/WholeProgramDevirt.cpp
1305986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAddSub.cpp
1306986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAndOrXor.cpp
1307986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCalls.cpp
1308986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCasts.cpp
1309986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCompares.cpp
1310986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
1311986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineMulDivRem.cpp
1312986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombinePHI.cpp
1313986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineSelect.cpp
1314986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineShifts.cpp
1315986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
1316986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineVectorOps.cpp
1317986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstructionCombining.cpp
1318986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/AddressSanitizer.cpp
1319986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/BoundsChecking.cpp
13209f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/CGProfile.cpp
13215e86819cSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/ControlHeightReduction.cpp
1322986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/DataFlowSanitizer.cpp
1323986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/EfficiencySanitizer.cpp
1324986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/GCOVProfiling.cpp
132536cb3905SDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/HWAddressSanitizer.cpp
1326986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/IndirectCallPromotion.cpp
1327986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/InstrProfiling.cpp
1328986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/Instrumentation.cpp
1329986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/MemorySanitizer.cpp
1330986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PGOInstrumentation.cpp
133124d58133SDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
1332986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/SanitizerCoverage.cpp
1333986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/ThreadSanitizer.cpp
1334986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/DependencyAnalysis.cpp
1335986e05bcSDimitry AndricSRCS_EXT+=	Transforms/ObjCARC/ObjCARC.cpp
1336986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCAPElim.cpp
1337986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCContract.cpp
1338986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCExpand.cpp
1339986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCOpts.cpp
1340986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysis.cpp
1341986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
1342986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/PtrState.cpp
1343986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ADCE.cpp
1344986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/AlignmentFromAssumptions.cpp
1345986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/BDCE.cpp
134636cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/CallSiteSplitting.cpp
1347986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ConstantHoisting.cpp
1348986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ConstantProp.cpp
1349986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/CorrelatedValuePropagation.cpp
1350986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/DCE.cpp
1351986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/DeadStoreElimination.cpp
135236cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/DivRemPairs.cpp
1353986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/EarlyCSE.cpp
1354986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/FlattenCFGPass.cpp
1355986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Float2Int.cpp
1356986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVN.cpp
1357986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVNHoist.cpp
1358302affcbSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVNSink.cpp
1359986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GuardWidening.cpp
1360f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/IVUsersPrinter.cpp
1361986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/IndVarSimplify.cpp
1362986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/InductiveRangeCheckElimination.cpp
1363050e2df1SDimitry AndricSRCS_EXT+=	Transforms/Scalar/InferAddressSpaces.cpp
13649f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Scalar/InstSimplifyPass.cpp
1365986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/JumpThreading.cpp
1366986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LICM.cpp
1367f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
1368986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDataPrefetch.cpp
1369986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDeletion.cpp
1370986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDistribute.cpp
1371986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopIdiomRecognize.cpp
137209bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopInstSimplify.cpp
1373986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopInterchange.cpp
1374986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopLoadElimination.cpp
1375f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopPassManager.cpp
13765897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopPredication.cpp
1377986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopRerollPass.cpp
1378986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopRotation.cpp
1379986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopSimplifyCFG.cpp
138009bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopSink.cpp
1381986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopStrengthReduce.cpp
1382986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnrollPass.cpp
13839f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnrollAndJamPass.cpp
1384986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnswitch.cpp
1385986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopVersioningLICM.cpp
1386986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerAtomic.cpp
1387986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerExpectIntrinsic.cpp
1388986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerGuardIntrinsic.cpp
13895e86819cSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MakeGuardsExplicit.cpp
1390986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MemCpyOptimizer.cpp
139136cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/MergeICmps.cpp
1392986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MergedLoadStoreMotion.cpp
1393986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/NaryReassociate.cpp
139409bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/NewGVN.cpp
1395986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/PartiallyInlineLibCalls.cpp
1396986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/PlaceSafepoints.cpp
1397986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Reassociate.cpp
1398986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Reg2Mem.cpp
1399986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/RewriteStatepointsForGC.cpp
1400986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SCCP.cpp
1401986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SROA.cpp
1402986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Scalar/Scalar.cpp
1403986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Scalarizer.cpp
1404986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
1405f37b6182SDimitry AndricSRCS_MIN+=	Transforms/Scalar/SimpleLoopUnswitch.cpp
1406986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SimplifyCFGPass.cpp
1407986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Sink.cpp
140836cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/SpeculateAroundPHIs.cpp
1409986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SpeculativeExecution.cpp
1410986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/StraightLineStrengthReduce.cpp
1411986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/StructurizeCFG.cpp
1412986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/TailRecursionElimination.cpp
14135e86819cSDimitry AndricSRCS_MIN+=	Transforms/Scalar/WarnMissedTransforms.cpp
1414986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ASanStackFrameLayout.cpp
1415986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/AddDiscriminators.cpp
1416986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BasicBlockUtils.cpp
1417986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BreakCriticalEdges.cpp
1418986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BuildLibCalls.cpp
1419986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BypassSlowDivision.cpp
142036cb3905SDimitry AndricSRCS_MIN+=	Transforms/Utils/CallPromotionUtils.cpp
14215e86819cSDimitry AndricSRCS_MIN+=	Transforms/Utils/CanonicalizeAliases.cpp
1422986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CloneFunction.cpp
1423986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CloneModule.cpp
1424986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CodeExtractor.cpp
1425986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CtorUtils.cpp
1426986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/DemoteRegToStack.cpp
142736cb3905SDimitry AndricSRCS_MIN+=	Transforms/Utils/EntryExitInstrumenter.cpp
142809bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/EscapeEnumerator.cpp
1429986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Evaluator.cpp
1430986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/FlattenCFG.cpp
143109bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/FunctionComparator.cpp
1432986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/FunctionImportUtils.cpp
1433986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/GlobalStatus.cpp
14345e86819cSDimitry AndricSRCS_MIN+=	Transforms/Utils/GuardUtils.cpp
143509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
1436986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/InlineFunction.cpp
1437986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/InstructionNamer.cpp
1438986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/IntegerDivision.cpp
1439986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LCSSA.cpp
144009bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/LibCallsShrinkWrap.cpp
1441986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Local.cpp
1442986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopSimplify.cpp
14439f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopRotationUtils.cpp
1444986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnroll.cpp
14459f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollAndJam.cpp
144609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollPeel.cpp
1447986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollRuntime.cpp
1448986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUtils.cpp
1449986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopVersioning.cpp
1450986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LowerInvoke.cpp
1451986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LowerSwitch.cpp
1452986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Mem2Reg.cpp
1453986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/MetaRenamer.cpp
1454986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ModuleUtils.cpp
145509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/NameAnonGlobals.cpp
14565897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Utils/PredicateInfo.cpp
1457986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/PromoteMemoryToRegister.cpp
1458986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SSAUpdater.cpp
1459986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SanitizerStats.cpp
1460986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyCFG.cpp
1461986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyIndVar.cpp
1462986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyLibCalls.cpp
1463986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SplitModule.cpp
146409bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/StripGCRelocates.cpp
146509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/StripNonLineTableDebugInfo.cpp
1466986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SymbolRewriter.cpp
1467986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/UnifyFunctionExitNodes.cpp
1468986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Utils/Utils.cpp
14695897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Utils/VNCoercion.cpp
1470986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ValueMapper.cpp
1471986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoadStoreVectorizer.cpp
14729f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoopVectorizationLegality.cpp
1473986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoopVectorize.cpp
1474986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/SLPVectorizer.cpp
147536cb3905SDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlan.cpp
14769f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanHCFGBuilder.cpp
14775e86819cSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanHCFGTransforms.cpp
14789f6e9a9fSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlanVerifier.cpp
1479986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Vectorize/Vectorize.cpp
1480efa75597SDimitry AndricSRCS_EXT+=	XRay/BlockIndexer.cpp
1481efa75597SDimitry AndricSRCS_EXT+=	XRay/BlockVerifier.cpp
1482efa75597SDimitry AndricSRCS_EXT+=	XRay/FDRRecordProducer.cpp
1483efa75597SDimitry AndricSRCS_EXT+=	XRay/FDRRecords.cpp
1484efa75597SDimitry AndricSRCS_EXT+=	XRay/FDRTraceExpander.cpp
1485efa75597SDimitry AndricSRCS_EXT+=	XRay/FileHeaderReader.cpp
1486050e2df1SDimitry AndricSRCS_EXT+=	XRay/InstrumentationMap.cpp
1487efa75597SDimitry AndricSRCS_EXT+=	XRay/LogBuilderConsumer.cpp
1488efa75597SDimitry AndricSRCS_EXT+=	XRay/RecordInitializer.cpp
148967b158f6SDimitry AndricSRCS_EXT+=	XRay/Trace.cpp
1490986e05bcSDimitry Andric
1491986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_MIN}
1492caf90252SBryan Drewery.if !defined(TOOLS_PREFIX) || ${MK_LLD_BOOTSTRAP} != "no"
149330d4828eSDimitry AndricSRCS_ALL+=	${SRCS_MIW}
149430d4828eSDimitry Andric.endif
1495986e05bcSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no"
1496986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_EXT}
1497986e05bcSDimitry Andric.endif
1498986e05bcSDimitry Andric.if ${MK_CLANG_FULL} != "no"
1499986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_FUL}
1500986e05bcSDimitry Andric.endif
150178187278SBryan Drewery.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLD} != "no" || \
150278187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
150375bc38b9SEd MasteSRCS_ALL+=	${SRCS_EXL}
150475bc38b9SEd Maste.endif
150578187278SBryan Drewery.if ${MK_LLD} != "no" || \
150678187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
15070fc5d238SDimitry AndricSRCS_ALL+=	${SRCS_LLD}
15080fc5d238SDimitry Andric.endif
1509986e05bcSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
1510986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_XDB}
1511986e05bcSDimitry Andric.endif
151278187278SBryan Drewery.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || ${MK_LLD} != "no" || \
151378187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
151475bc38b9SEd MasteSRCS_ALL+=	${SRCS_XDL}
151575bc38b9SEd Maste.endif
151630d4828eSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || !defined(TOOLS_PREFIX)
151730d4828eSDimitry AndricSRCS_ALL+=	${SRCS_XDW}
151830d4828eSDimitry Andric.endif
1519986e05bcSDimitry AndricSRCS+=		${SRCS_ALL:O}
1520986e05bcSDimitry Andric
15219f6e9a9fSDimitry Andricllvm/IR/Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1522986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-attrs \
1523050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1524986e05bcSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Attributes.td
15259f6e9a9fSDimitry AndricTGHDRS+=	llvm/IR/Attributes.inc
1526986e05bcSDimitry Andric
15279f6e9a9fSDimitry Andricllvm/IR/IntrinsicEnums.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15289f6e9a9fSDimitry Andric	${LLVM_TBLGEN} -gen-intrinsic-enums \
1529050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1530986e05bcSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15319f6e9a9fSDimitry AndricTGHDRS+=	llvm/IR/IntrinsicEnums.inc
15329f6e9a9fSDimitry Andric
15339f6e9a9fSDimitry Andricllvm/IR/IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15349f6e9a9fSDimitry Andric	${LLVM_TBLGEN} -gen-intrinsic-impl \
15359f6e9a9fSDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
15369f6e9a9fSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
15379f6e9a9fSDimitry AndricTGHDRS+=	llvm/IR/IntrinsicImpl.inc
1538986e05bcSDimitry Andric
1539986e05bcSDimitry AndricAttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1540986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-attrs \
1541050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1542986e05bcSDimitry Andric	    ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1543986e05bcSDimitry AndricTGHDRS+=	AttributesCompatFunc.inc
1544986e05bcSDimitry Andric
15459f6e9a9fSDimitry AndricInstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
15469f6e9a9fSDimitry Andric	${LLVM_TBLGEN} -gen-searchable-tables \
15479f6e9a9fSDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
15489f6e9a9fSDimitry Andric	    ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
15499f6e9a9fSDimitry AndricTGHDRS+=	InstCombineTables.inc
15509f6e9a9fSDimitry Andric
1551b40b48b8SDimitry Andricllvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1552986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-opt-parser-defs \
1553050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
15545517e702SDimitry Andric	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1555b40b48b8SDimitry AndricTGHDRS+=	llvm-lib/Options.inc
1556b40b48b8SDimitry AndricCFLAGS.LibDriver.cpp+=	-I${.OBJDIR}/llvm-lib
1557b40b48b8SDimitry Andric
1558b40b48b8SDimitry Andricllvm-dlltool/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1559b40b48b8SDimitry Andric	${LLVM_TBLGEN} -gen-opt-parser-defs \
1560b40b48b8SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1561b40b48b8SDimitry Andric	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1562b40b48b8SDimitry AndricTGHDRS+=	llvm-dlltool/Options.inc
1563b40b48b8SDimitry AndricCFLAGS.DlltoolDriver.cpp+=	-I${.OBJDIR}/llvm-dlltool
1564986e05bcSDimitry Andric
1565cd283100SBryan Drewerybeforebuild:
1566cd283100SBryan Drewery# 20170724 remove stale Options.inc file, of which there are two different
156737cd60a3SDimitry Andric# versions after upstream r308421, one for llvm-lib, one for llvm-dlltool
1568cd283100SBryan Drewery.for f in Options.inc
1569cd283100SBryan Drewery.if exists(${f}) || exists(${f}.d)
1570cd283100SBryan Drewery	@echo Removing stale generated ${f} files
1571cd283100SBryan Drewery	@rm -f ${f} ${f}.d
1572cd283100SBryan Drewery.endif
1573cd283100SBryan Drewery.endfor
1574cd283100SBryan Drewery
1575986e05bcSDimitry Andric# Note: some rules are superfluous, not every combination is valid.
1576986e05bcSDimitry Andric.for arch in \
1577b2689b12SMitchell Horne	AArch64/AArch64 ARM/ARM BPF/BPF Mips/Mips PowerPC/PPC Sparc/Sparc \
1578b2689b12SMitchell Horne	RISCV/RISCV X86/X86
1579986e05bcSDimitry Andric. for hdr in \
1580986e05bcSDimitry Andric	AsmMatcher/-gen-asm-matcher \
1581986e05bcSDimitry Andric	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
1582986e05bcSDimitry Andric	AsmWriter/-gen-asm-writer \
1583986e05bcSDimitry Andric	CallingConv/-gen-callingconv \
1584986e05bcSDimitry Andric	CodeEmitter/-gen-emitter \
1585b2689b12SMitchell Horne	CompressInstEmitter/-gen-compress-inst-emitter \
1586986e05bcSDimitry Andric	DAGISel/-gen-dag-isel \
1587986e05bcSDimitry Andric	DisassemblerTables/-gen-disassembler \
15885897d2f0SDimitry Andric	EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \
1589986e05bcSDimitry Andric	FastISel/-gen-fast-isel \
15903d54deb3SDimitry Andric	GlobalISel/-gen-global-isel \
1591986e05bcSDimitry Andric	InstrInfo/-gen-instr-info \
1592986e05bcSDimitry Andric	MCCodeEmitter/-gen-emitter \
1593986e05bcSDimitry Andric	MCPseudoLowering/-gen-pseudo-lowering \
15945897d2f0SDimitry Andric	RegisterBank/-gen-register-bank \
1595986e05bcSDimitry Andric	RegisterInfo/-gen-register-info \
1596986e05bcSDimitry Andric	SubtargetInfo/-gen-subtarget \
159736cb3905SDimitry Andric	SystemOperands/-gen-searchable-tables \
159836cb3905SDimitry Andric	SystemRegister/-gen-searchable-tables
1599986e05bcSDimitry Andric${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1600986e05bcSDimitry Andric	${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
1601986e05bcSDimitry Andric	    -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
1602050e2df1SDimitry Andric	    -d ${.TARGET}.d -o ${.TARGET} \
1603986e05bcSDimitry Andric	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1604986e05bcSDimitry Andric. endfor
1605986e05bcSDimitry Andric.endfor
1606cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} != "no"
1607986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmMatcher.inc
1608986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmWriter.inc
1609986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmWriter1.inc
1610986e05bcSDimitry AndricTGHDRS+=	AArch64GenCallingConv.inc
1611986e05bcSDimitry AndricTGHDRS+=	AArch64GenDAGISel.inc
1612986e05bcSDimitry AndricTGHDRS+=	AArch64GenDisassemblerTables.inc
1613986e05bcSDimitry AndricTGHDRS+=	AArch64GenFastISel.inc
16143d54deb3SDimitry AndricTGHDRS+=	AArch64GenGlobalISel.inc
1615986e05bcSDimitry AndricTGHDRS+=	AArch64GenInstrInfo.inc
1616986e05bcSDimitry AndricTGHDRS+=	AArch64GenMCCodeEmitter.inc
1617986e05bcSDimitry AndricTGHDRS+=	AArch64GenMCPseudoLowering.inc
16185897d2f0SDimitry AndricTGHDRS+=	AArch64GenRegisterBank.inc
1619986e05bcSDimitry AndricTGHDRS+=	AArch64GenRegisterInfo.inc
1620986e05bcSDimitry AndricTGHDRS+=	AArch64GenSubtargetInfo.inc
1621986e05bcSDimitry AndricTGHDRS+=	AArch64GenSystemOperands.inc
1622cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_AARCH64
1623cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_ARM} != "no"
1624986e05bcSDimitry AndricTGHDRS+=	ARMGenAsmMatcher.inc
1625986e05bcSDimitry AndricTGHDRS+=	ARMGenAsmWriter.inc
1626986e05bcSDimitry AndricTGHDRS+=	ARMGenCallingConv.inc
1627986e05bcSDimitry AndricTGHDRS+=	ARMGenDAGISel.inc
1628986e05bcSDimitry AndricTGHDRS+=	ARMGenDisassemblerTables.inc
1629986e05bcSDimitry AndricTGHDRS+=	ARMGenFastISel.inc
16303d54deb3SDimitry AndricTGHDRS+=	ARMGenGlobalISel.inc
1631986e05bcSDimitry AndricTGHDRS+=	ARMGenInstrInfo.inc
1632986e05bcSDimitry AndricTGHDRS+=	ARMGenMCCodeEmitter.inc
1633986e05bcSDimitry AndricTGHDRS+=	ARMGenMCPseudoLowering.inc
16345897d2f0SDimitry AndricTGHDRS+=	ARMGenRegisterBank.inc
1635986e05bcSDimitry AndricTGHDRS+=	ARMGenRegisterInfo.inc
1636986e05bcSDimitry AndricTGHDRS+=	ARMGenSubtargetInfo.inc
163736cb3905SDimitry AndricTGHDRS+=	ARMGenSystemRegister.inc
1638cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_ARM
163989edb881SDimitry Andric.if ${MK_LLVM_TARGET_BPF} != "no"
164089edb881SDimitry AndricTGHDRS+=	BPFGenAsmMatcher.inc
164189edb881SDimitry AndricTGHDRS+=	BPFGenAsmWriter.inc
164289edb881SDimitry AndricTGHDRS+=	BPFGenCallingConv.inc
164389edb881SDimitry AndricTGHDRS+=	BPFGenDAGISel.inc
164489edb881SDimitry AndricTGHDRS+=	BPFGenDisassemblerTables.inc
164589edb881SDimitry AndricTGHDRS+=	BPFGenInstrInfo.inc
164689edb881SDimitry AndricTGHDRS+=	BPFGenMCCodeEmitter.inc
164789edb881SDimitry AndricTGHDRS+=	BPFGenRegisterInfo.inc
164889edb881SDimitry AndricTGHDRS+=	BPFGenSubtargetInfo.inc
164989edb881SDimitry Andric.endif # MK_LLVM_TARGET_BPF
1650cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_MIPS} != "no"
1651986e05bcSDimitry AndricTGHDRS+=	MipsGenAsmMatcher.inc
1652986e05bcSDimitry AndricTGHDRS+=	MipsGenAsmWriter.inc
1653986e05bcSDimitry AndricTGHDRS+=	MipsGenCallingConv.inc
1654986e05bcSDimitry AndricTGHDRS+=	MipsGenDAGISel.inc
1655986e05bcSDimitry AndricTGHDRS+=	MipsGenDisassemblerTables.inc
1656986e05bcSDimitry AndricTGHDRS+=	MipsGenFastISel.inc
16579f6e9a9fSDimitry AndricTGHDRS+=	MipsGenGlobalISel.inc
1658986e05bcSDimitry AndricTGHDRS+=	MipsGenInstrInfo.inc
1659986e05bcSDimitry AndricTGHDRS+=	MipsGenMCCodeEmitter.inc
1660986e05bcSDimitry AndricTGHDRS+=	MipsGenMCPseudoLowering.inc
16619f6e9a9fSDimitry AndricTGHDRS+=	MipsGenRegisterBank.inc
1662986e05bcSDimitry AndricTGHDRS+=	MipsGenRegisterInfo.inc
1663986e05bcSDimitry AndricTGHDRS+=	MipsGenSubtargetInfo.inc
1664cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_MIPS
1665cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_POWERPC} != "no"
1666986e05bcSDimitry AndricTGHDRS+=	PPCGenAsmMatcher.inc
1667986e05bcSDimitry AndricTGHDRS+=	PPCGenAsmWriter.inc
1668986e05bcSDimitry AndricTGHDRS+=	PPCGenCallingConv.inc
1669986e05bcSDimitry AndricTGHDRS+=	PPCGenDAGISel.inc
1670986e05bcSDimitry AndricTGHDRS+=	PPCGenDisassemblerTables.inc
1671986e05bcSDimitry AndricTGHDRS+=	PPCGenFastISel.inc
1672986e05bcSDimitry AndricTGHDRS+=	PPCGenInstrInfo.inc
1673986e05bcSDimitry AndricTGHDRS+=	PPCGenMCCodeEmitter.inc
1674986e05bcSDimitry AndricTGHDRS+=	PPCGenRegisterInfo.inc
1675986e05bcSDimitry AndricTGHDRS+=	PPCGenSubtargetInfo.inc
1676cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_POWERPC
1677b2689b12SMitchell Horne.if ${MK_LLVM_TARGET_RISCV} != "no"
1678b2689b12SMitchell HorneTGHDRS+=	RISCVGenAsmMatcher.inc
1679b2689b12SMitchell HorneTGHDRS+=	RISCVGenAsmWriter.inc
1680b2689b12SMitchell HorneTGHDRS+=	RISCVGenCallingConv.inc
1681b2689b12SMitchell HorneTGHDRS+=	RISCVGenCompressInstEmitter.inc
1682b2689b12SMitchell HorneTGHDRS+=	RISCVGenDAGISel.inc
1683b2689b12SMitchell HorneTGHDRS+=	RISCVGenDisassemblerTables.inc
1684b2689b12SMitchell HorneTGHDRS+=	RISCVGenDAGISel.inc
1685b2689b12SMitchell HorneTGHDRS+=	RISCVGenInstrInfo.inc
1686b2689b12SMitchell HorneTGHDRS+=	RISCVGenMCCodeEmitter.inc
1687b2689b12SMitchell HorneTGHDRS+=	RISCVGenMCPseudoLowering.inc
1688b2689b12SMitchell HorneTGHDRS+=	RISCVGenRegisterInfo.inc
1689b2689b12SMitchell HorneTGHDRS+=	RISCVGenSubtargetInfo.inc
1690b2689b12SMitchell HorneTGHDRS+=	RISCVGenSystemOperands.inc
1691b2689b12SMitchell Horne.endif # MK_LLVM_TARGET_RISCV
1692cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_SPARC} != "no"
1693986e05bcSDimitry AndricTGHDRS+=	SparcGenAsmMatcher.inc
1694986e05bcSDimitry AndricTGHDRS+=	SparcGenAsmWriter.inc
1695986e05bcSDimitry AndricTGHDRS+=	SparcGenCallingConv.inc
1696986e05bcSDimitry AndricTGHDRS+=	SparcGenDAGISel.inc
1697986e05bcSDimitry AndricTGHDRS+=	SparcGenDisassemblerTables.inc
1698986e05bcSDimitry AndricTGHDRS+=	SparcGenInstrInfo.inc
1699986e05bcSDimitry AndricTGHDRS+=	SparcGenMCCodeEmitter.inc
1700986e05bcSDimitry AndricTGHDRS+=	SparcGenRegisterInfo.inc
1701986e05bcSDimitry AndricTGHDRS+=	SparcGenSubtargetInfo.inc
1702cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_SPARC
1703cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_X86} != "no"
1704986e05bcSDimitry AndricTGHDRS+=	X86GenAsmMatcher.inc
1705986e05bcSDimitry AndricTGHDRS+=	X86GenAsmWriter.inc
1706986e05bcSDimitry AndricTGHDRS+=	X86GenAsmWriter1.inc
1707986e05bcSDimitry AndricTGHDRS+=	X86GenCallingConv.inc
1708986e05bcSDimitry AndricTGHDRS+=	X86GenDAGISel.inc
1709986e05bcSDimitry AndricTGHDRS+=	X86GenDisassemblerTables.inc
17105897d2f0SDimitry AndricTGHDRS+=	X86GenEVEX2VEXTables.inc
1711986e05bcSDimitry AndricTGHDRS+=	X86GenFastISel.inc
17123d54deb3SDimitry AndricTGHDRS+=	X86GenGlobalISel.inc
1713986e05bcSDimitry AndricTGHDRS+=	X86GenInstrInfo.inc
17145897d2f0SDimitry AndricTGHDRS+=	X86GenRegisterBank.inc
1715986e05bcSDimitry AndricTGHDRS+=	X86GenRegisterInfo.inc
1716986e05bcSDimitry AndricTGHDRS+=	X86GenSubtargetInfo.inc
1717cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_X86
1718986e05bcSDimitry Andric
1719ddf95e2aSBryan DreweryDEPENDFILES+=	${TGHDRS:C/$/.d/}
1720986e05bcSDimitry AndricDPSRCS+=	${TGHDRS}
1721986e05bcSDimitry AndricCLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1722986e05bcSDimitry Andric
1723986e05bcSDimitry Andric.include "../llvm.build.mk"
1724986e05bcSDimitry Andric.include <bsd.lib.mk>
1725