xref: /freebsd/lib/clang/libllvm/Makefile (revision caf90252d57da8f003473525c1b4ac3340ce5911)
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" && \
12cbafd263SDimitry Andric    ${MK_LLVM_TARGET_MIPS} == "no" && ${MK_LLVM_TARGET_POWERPC} == "no" && \
13cbafd263SDimitry Andric    ${MK_LLVM_TARGET_SPARC} == "no" && ${MK_LLVM_TARGET_X86} == "no"
14cbafd263SDimitry Andric.error Please enable at least one of: MK_LLVM_TARGET_AARCH64,\
15cbafd263SDimitry Andric MK_LLVM_TARGET_ARM, MK_LLVM_TARGET_MIPS, MK_LLVM_TARGET_POWERPC,\
16cbafd263SDimitry Andric MK_LLVM_TARGET_SPARC, or MK_LLVM_TARGET_X86
17cbafd263SDimitry Andric.endif
18cbafd263SDimitry Andric
19986e05bcSDimitry Andric.for arch in AArch64 ARM Mips PowerPC Sparc X86
20cbafd263SDimitry Andric. if ${MK_LLVM_TARGET_${arch:tu}} != "no"
21986e05bcSDimitry AndricCFLAGS+=	-I${LLVM_SRCS}/lib/Target/${arch}
22cbafd263SDimitry Andric. endif
23986e05bcSDimitry Andric.endfor
24986e05bcSDimitry Andric
25986e05bcSDimitry AndricSRCDIR=		lib
26986e05bcSDimitry Andric
27986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasAnalysis.cpp
28986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasAnalysisEvaluator.cpp
29986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasAnalysisSummary.cpp
30986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AliasSetTracker.cpp
31986e05bcSDimitry AndricSRCS_EXT+=	Analysis/Analysis.cpp
32986e05bcSDimitry AndricSRCS_MIN+=	Analysis/AssumptionCache.cpp
33986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BasicAliasAnalysis.cpp
34986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BlockFrequencyInfo.cpp
35986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BlockFrequencyInfoImpl.cpp
36986e05bcSDimitry AndricSRCS_MIN+=	Analysis/BranchProbabilityInfo.cpp
37986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFG.cpp
38986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFGPrinter.cpp
39986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFLAndersAliasAnalysis.cpp
40986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CFLSteensAliasAnalysis.cpp
41986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CGSCCPassManager.cpp
42986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CallGraph.cpp
43986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CallGraphSCCPass.cpp
44986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CallPrinter.cpp
45986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CaptureTracking.cpp
4636cb3905SDimitry AndricSRCS_MIN+=	Analysis/CmpInstAnalysis.cpp
47986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CodeMetrics.cpp
48986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ConstantFolding.cpp
49986e05bcSDimitry AndricSRCS_MIN+=	Analysis/CostModel.cpp
50986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Delinearization.cpp
51986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DemandedBits.cpp
52986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DependenceAnalysis.cpp
53986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DivergenceAnalysis.cpp
54986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DomPrinter.cpp
55986e05bcSDimitry AndricSRCS_MIN+=	Analysis/DominanceFrontier.cpp
56986e05bcSDimitry AndricSRCS_MIN+=	Analysis/EHPersonalities.cpp
57986e05bcSDimitry AndricSRCS_MIN+=	Analysis/GlobalsModRef.cpp
58986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IVUsers.cpp
59986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IndirectCallPromotionAnalysis.cpp
60986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InlineCost.cpp
61986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InstCount.cpp
62986e05bcSDimitry AndricSRCS_MIN+=	Analysis/InstructionSimplify.cpp
63986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Interval.cpp
64986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IntervalPartition.cpp
65986e05bcSDimitry AndricSRCS_MIN+=	Analysis/IteratedDominanceFrontier.cpp
66986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LazyBlockFrequencyInfo.cpp
6709bfd043SDimitry AndricSRCS_MIN+=	Analysis/LazyBranchProbabilityInfo.cpp
68986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LazyCallGraph.cpp
69986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LazyValueInfo.cpp
70986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Lint.cpp
71986e05bcSDimitry AndricSRCS_MIN+=	Analysis/Loads.cpp
72986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopAccessAnalysis.cpp
73f1a29dd3SDimitry AndricSRCS_MIN+=	Analysis/LoopAnalysisManager.cpp
74986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopInfo.cpp
75986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopPass.cpp
76986e05bcSDimitry AndricSRCS_MIN+=	Analysis/LoopUnrollAnalyzer.cpp
77986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemDepPrinter.cpp
78986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemDerefPrinter.cpp
79986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemoryBuiltins.cpp
80986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemoryDependenceAnalysis.cpp
81986e05bcSDimitry AndricSRCS_MIN+=	Analysis/MemoryLocation.cpp
825897d2f0SDimitry AndricSRCS_MIN+=	Analysis/MemorySSA.cpp
835897d2f0SDimitry AndricSRCS_MIN+=	Analysis/MemorySSAUpdater.cpp
84986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ModuleDebugInfoPrinter.cpp
85986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ModuleSummaryAnalysis.cpp
86986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ObjCARCAliasAnalysis.cpp
87986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ObjCARCAnalysisUtils.cpp
88986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ObjCARCInstKind.cpp
8936cb3905SDimitry AndricSRCS_MIN+=	Analysis/OptimizationRemarkEmitter.cpp
90986e05bcSDimitry AndricSRCS_MIN+=	Analysis/OrderedBasicBlock.cpp
91986e05bcSDimitry AndricSRCS_MIN+=	Analysis/PHITransAddr.cpp
92986e05bcSDimitry AndricSRCS_MIN+=	Analysis/PostDominators.cpp
93986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ProfileSummaryInfo.cpp
94986e05bcSDimitry AndricSRCS_MIN+=	Analysis/PtrUseVisitor.cpp
95986e05bcSDimitry AndricSRCS_MIN+=	Analysis/RegionInfo.cpp
96986e05bcSDimitry AndricSRCS_MIN+=	Analysis/RegionPass.cpp
97986e05bcSDimitry AndricSRCS_MIN+=	Analysis/RegionPrinter.cpp
98986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolution.cpp
99986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolutionAliasAnalysis.cpp
100986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolutionExpander.cpp
101986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScalarEvolutionNormalization.cpp
102986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ScopedNoAliasAA.cpp
103986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TargetLibraryInfo.cpp
104986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TargetTransformInfo.cpp
10509bfd043SDimitry AndricSRCS_MIN+=	Analysis/Trace.cpp
106986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TypeBasedAliasAnalysis.cpp
107986e05bcSDimitry AndricSRCS_MIN+=	Analysis/TypeMetadataUtils.cpp
10836cb3905SDimitry AndricSRCS_MIN+=	Analysis/ValueLattice.cpp
10936cb3905SDimitry AndricSRCS_MIN+=	Analysis/ValueLatticeUtils.cpp
110986e05bcSDimitry AndricSRCS_MIN+=	Analysis/ValueTracking.cpp
111986e05bcSDimitry AndricSRCS_MIN+=	Analysis/VectorUtils.cpp
112986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/LLLexer.cpp
113986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/LLParser.cpp
114986e05bcSDimitry AndricSRCS_MIN+=	AsmParser/Parser.cpp
11544389c28SDimitry AndricSRCS_MIN+=	BinaryFormat/Dwarf.cpp
11644389c28SDimitry AndricSRCS_MIN+=	BinaryFormat/Magic.cpp
11709bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitReader.cpp
118986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitcodeReader.cpp
119986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Reader/BitstreamReader.cpp
12009bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/MetadataLoader.cpp
12109bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Reader/ValueList.cpp
12209bfd043SDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitWriter.cpp
123986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitcodeWriter.cpp
124986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/BitcodeWriterPass.cpp
125986e05bcSDimitry AndricSRCS_MIN+=	Bitcode/Writer/ValueEnumerator.cpp
126986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AggressiveAntiDepBreaker.cpp
127986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AllocationOrder.cpp
128986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/Analysis.cpp
129986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/ARMException.cpp
130986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AddressPool.cpp
131986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinter.cpp
132986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
133986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
134986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/CodeViewDebug.cpp
135986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DIE.cpp
136986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DIEHash.cpp
137986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
138986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DebugHandlerBase.cpp
139986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DebugLocStream.cpp
140986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfAccelTable.cpp
141986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfCFIException.cpp
142986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfCompileUnit.cpp
143986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfDebug.cpp
144986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfExpression.cpp
145986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfFile.cpp
146986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfStringPool.cpp
147986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/DwarfUnit.cpp
148986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/EHStreamer.cpp
149986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/ErlangGCPrinter.cpp
150986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/OcamlGCPrinter.cpp
151986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AsmPrinter/WinException.cpp
152986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/AtomicExpandPass.cpp
153986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BasicTargetTransformInfo.cpp
154986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BranchFolding.cpp
15509bfd043SDimitry AndricSRCS_MIN+=	CodeGen/BranchRelaxation.cpp
156986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/BuiltinGCs.cpp
157986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CalcSpillWeights.cpp
158986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CallingConvLower.cpp
159986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CodeGen.cpp
160986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CodeGenPrepare.cpp
161986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/CriticalAntiDepBreaker.cpp
162986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DFAPacketizer.cpp
163986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DeadMachineInstructionElim.cpp
164986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DetectDeadLanes.cpp
165986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/DwarfEHPrepare.cpp
166986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/EarlyIfConversion.cpp
167986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/EdgeBundles.cpp
168986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ExecutionDepsFix.cpp
169986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ExpandISelPseudos.cpp
17036cb3905SDimitry AndricSRCS_MIN+=	CodeGen/ExpandMemCmp.cpp
171986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ExpandPostRAPseudos.cpp
1725517e702SDimitry AndricSRCS_MIN+=	CodeGen/ExpandReductions.cpp
1735897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/FEntryInserter.cpp
174986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/FaultMaps.cpp
175986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/FuncletLayout.cpp
176986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GCMetadata.cpp
17709bfd043SDimitry AndricSRCS_MIN+=	CodeGen/GCMetadataPrinter.cpp
178986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GCRootLowering.cpp
17909bfd043SDimitry AndricSRCS_MIN+=	CodeGen/GCStrategy.cpp
1803d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/CallLowering.cpp
181986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/GlobalISel.cpp
1823d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/IRTranslator.cpp
1833d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/InstructionSelect.cpp
1843d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/InstructionSelector.cpp
1853d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Legalizer.cpp
1863d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizerHelper.cpp
1873d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/LegalizerInfo.cpp
188302affcbSDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Localizer.cpp
1893d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/MachineIRBuilder.cpp
1903d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegBankSelect.cpp
1913d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegisterBank.cpp
1923d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/RegisterBankInfo.cpp
1933d54deb3SDimitry AndricSRCS_MIN+=	CodeGen/GlobalISel/Utils.cpp
194986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/GlobalMerge.cpp
195986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/IfConversion.cpp
196986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ImplicitNullChecks.cpp
19707577dfeSDimitry AndricSRCS_MIN+=	CodeGen/IndirectBrExpandPass.cpp
198986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InlineSpiller.cpp
199986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InterferenceCache.cpp
200986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/InterleavedAccessPass.cpp
201986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/IntrinsicLowering.cpp
202986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LLVMTargetMachine.cpp
203986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LatencyPriorityQueue.cpp
2045897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/LazyMachineBlockFrequencyInfo.cpp
205986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LexicalScopes.cpp
206986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveDebugValues.cpp
207986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveDebugVariables.cpp
208986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveInterval.cpp
209986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveIntervalUnion.cpp
21044389c28SDimitry AndricSRCS_MIN+=	CodeGen/LiveIntervals.cpp
211986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LivePhysRegs.cpp
212986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeCalc.cpp
213986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeEdit.cpp
214f9448bf3SDimitry AndricSRCS_MIN+=	CodeGen/LiveRangeShrink.cpp
215986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveRegMatrix.cpp
2165897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/LiveRegUnits.cpp
2172757ff7eSDimitry AndricSRCS_MIN+=	CodeGen/LiveStacks.cpp
218986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LiveVariables.cpp
219986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LocalStackSlotAllocation.cpp
22009bfd043SDimitry AndricSRCS_MIN+=	CodeGen/LowLevelType.cpp
221986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/LowerEmuTLS.cpp
22236cb3905SDimitry AndricSRCS_MIN+=	CodeGen/MIRCanonicalizerPass.cpp
223986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MILexer.cpp
224986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MIParser.cpp
225986e05bcSDimitry AndricSRCS_EXT+=	CodeGen/MIRParser/MIRParser.cpp
226986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MIRPrinter.cpp
227986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MIRPrintingPass.cpp
228986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBasicBlock.cpp
229986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBlockFrequencyInfo.cpp
230986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBlockPlacement.cpp
231986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineBranchProbabilityInfo.cpp
232986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCSE.cpp
233986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCombiner.cpp
234986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineCopyPropagation.cpp
235986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineDominanceFrontier.cpp
236986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineDominators.cpp
237f37b6182SDimitry AndricSRCS_MIN+=	CodeGen/MachineFrameInfo.cpp
238986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunction.cpp
239986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunctionPass.cpp
240986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineFunctionPrinterPass.cpp
241986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineInstr.cpp
242986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineInstrBundle.cpp
243986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineLICM.cpp
244986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineLoopInfo.cpp
245986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineModuleInfo.cpp
246986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineModuleInfoImpls.cpp
24736cb3905SDimitry AndricSRCS_MIN+=	CodeGen/MachineOperand.cpp
2485897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/MachineOptimizationRemarkEmitter.cpp
2495897d2f0SDimitry AndricSRCS_MIN+=	CodeGen/MachineOutliner.cpp
250986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachinePassRegistry.cpp
25109bfd043SDimitry AndricSRCS_MIN+=	CodeGen/MachinePipeliner.cpp
252986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachinePostDominators.cpp
253986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineRegionInfo.cpp
254986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineRegisterInfo.cpp
255986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineSSAUpdater.cpp
256986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineScheduler.cpp
257986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineSink.cpp
258986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineTraceMetrics.cpp
259986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/MachineVerifier.cpp
260edd7eaddSDimitry AndricSRCS_MIN+=	CodeGen/MacroFusion.cpp
261986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/OptimizePHIs.cpp
262986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PHIElimination.cpp
263986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PHIEliminationUtils.cpp
264986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ParallelCG.cpp
265986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PatchableFunction.cpp
266986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PeepholeOptimizer.cpp
267986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PostRAHazardRecognizer.cpp
268986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PostRASchedulerList.cpp
269986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PreISelIntrinsicLowering.cpp
270986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ProcessImplicitDefs.cpp
271986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PrologEpilogInserter.cpp
272986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/PseudoSourceValue.cpp
273986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocBase.cpp
274986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocBasic.cpp
275986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocFast.cpp
276986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocGreedy.cpp
277986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegAllocPBQP.cpp
278986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegUsageInfoCollector.cpp
279986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegUsageInfoPropagate.cpp
280986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterClassInfo.cpp
281986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterCoalescer.cpp
282986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterPressure.cpp
283986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterScavenging.cpp
284986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RegisterUsageInfo.cpp
285986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/RenameIndependentSubregs.cpp
28609bfd043SDimitry AndricSRCS_MIN+=	CodeGen/ResetMachineFunctionPass.cpp
287986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStack.cpp
288986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStackColoring.cpp
289986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SafeStackLayout.cpp
2905517e702SDimitry AndricSRCS_MIN+=	CodeGen/ScalarizeMaskedMemIntrin.cpp
291986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAG.cpp
292986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAGInstrs.cpp
293986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScheduleDAGPrinter.cpp
294986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ScoreboardHazardRecognizer.cpp
295986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/DAGCombiner.cpp
296986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/FastISel.cpp
297986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
298986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/InstrEmitter.cpp
299986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeDAG.cpp
300986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
301986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
302986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypes.cpp
303986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
304986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorOps.cpp
305986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
306986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
307986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGFast.cpp
308986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
309986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
310986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
311986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAG.cpp
31244389c28SDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
313986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
314986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGDumper.cpp
315986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGISel.cpp
316986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
317986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
318986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/StatepointLowering.cpp
319986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SelectionDAG/TargetLowering.cpp
320986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ShadowStackGCLowering.cpp
321986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/ShrinkWrap.cpp
322986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SjLjEHPrepare.cpp
323986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SlotIndexes.cpp
324986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SpillPlacement.cpp
325986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/SplitKit.cpp
326986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackColoring.cpp
327986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackMapLivenessAnalysis.cpp
328986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackMaps.cpp
329986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackProtector.cpp
330986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/StackSlotColoring.cpp
331986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TailDuplication.cpp
332986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TailDuplicator.cpp
333986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetFrameLoweringImpl.cpp
334986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetInstrInfo.cpp
335986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetLoweringBase.cpp
336986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetLoweringObjectFileImpl.cpp
337986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetOptionsImpl.cpp
338986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetPassConfig.cpp
339986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetRegisterInfo.cpp
340986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TargetSchedule.cpp
34109bfd043SDimitry AndricSRCS_MIN+=	CodeGen/TargetSubtargetInfo.cpp
342986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/TwoAddressInstructionPass.cpp
343986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/UnreachableBlockElim.cpp
344986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/VirtRegMap.cpp
345986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/WinEHPrepare.cpp
346986e05bcSDimitry AndricSRCS_MIN+=	CodeGen/XRayInstrumentation.cpp
3473cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
34809bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CVSymbolVisitor.cpp
349986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CVTypeVisitor.cpp
350986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CodeViewError.cpp
35109bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/CodeViewRecordIO.cpp
35236cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/ContinuationRecordBuilder.cpp
35389cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugChecksumsSubsection.cpp
354db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugCrossExSubsection.cpp
355db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugCrossImpSubsection.cpp
35689cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugFrameDataSubsection.cpp
35789cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
35889cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugLinesSubsection.cpp
35989cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugStringTableSubsection.cpp
36089cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsection.cpp
36189cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionRecord.cpp
36289cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionVisitor.cpp
363db17bf38SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSymbolRVASubsection.cpp
36489cb50c9SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/DebugSymbolsSubsection.cpp
365986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/EnumTables.cpp
3665897d2f0SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/Formatters.cpp
36736cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
3682a1b82cfSDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/LazyRandomTypeCollection.cpp
369986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/Line.cpp
3703cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/MergingTypeTableBuilder.cpp
37136cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/RecordName.cpp
372986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/RecordSerialization.cpp
37336cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SimpleTypeSerializer.cpp
37424d58133SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/StringsAndChecksums.cpp
375986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SymbolDumper.cpp
37609bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/SymbolRecordMapping.cpp
377050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/CodeView/SymbolSerializer.cpp
378f1a29dd3SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeDumpVisitor.cpp
37936cb3905SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeHashing.cpp
380d8866befSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeIndex.cpp
38106230659SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeIndexDiscovery.cpp
38209bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeRecordMapping.cpp
383986e05bcSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeStreamMerger.cpp
384d8866befSDimitry AndricSRCS_MIN+=	DebugInfo/CodeView/TypeTableCollection.cpp
385*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
386*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
387*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
388*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFContext.cpp
389*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
390*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
391*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
392*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
393*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
394*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
395*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLine.cpp
396*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
397*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
398*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
399*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
400*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFDie.cpp
401*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFExpression.cpp
402*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFFormValue.cpp
403*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
404*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
405*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFUnit.cpp
406*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
407*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/DWARFVerifier.cpp
408*caf90252SBryan DrewerySRCS_MIW+=	DebugInfo/DWARF/SyntaxHighlighting.cpp
40909bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFBuilder.cpp
41009bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFCommon.cpp
41109bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MSFError.cpp
41209bfd043SDimitry AndricSRCS_MIN+=	DebugInfo/MSF/MappedBlockStream.cpp
413986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/GenericError.cpp
41409bfd043SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/IPDBSourceFile.cpp
415f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
416f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
4170f5676f4SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleList.cpp
418050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiStream.cpp
419050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/DbiStreamBuilder.cpp
420050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/EnumTables.cpp
4213cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/GSIStreamBuilder.cpp
422050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/GlobalsStream.cpp
423050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/Hash.cpp
424050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/HashTable.cpp
425050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/InfoStream.cpp
426050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/InfoStreamBuilder.cpp
427f37b6182SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/ModuleDebugStream.cpp
428050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NamedStreamMap.cpp
429c4394386SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeBuiltinSymbol.cpp
430050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
431050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumModules.cpp
4323cd201a1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumSymbol.cpp
43344389c28SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumTypes.cpp
434050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeExeSymbol.cpp
435050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeRawSymbol.cpp
436050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/NativeSession.cpp
437050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBFile.cpp
438050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBFileBuilder.cpp
439b174acefSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTable.cpp
440b174acefSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
4413d54deb3SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/PublicsStream.cpp
4423d54deb3SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/RawError.cpp
443050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/SymbolStream.cpp
444050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiHashing.cpp
445050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiStream.cpp
446050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/Native/TpiStreamBuilder.cpp
447986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDB.cpp
448986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBContext.cpp
449986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBExtras.cpp
450986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBInterfaceAnchors.cpp
451986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymDumper.cpp
452986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbol.cpp
453986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolAnnotation.cpp
454986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolBlock.cpp
455986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompiland.cpp
456986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandDetails.cpp
457986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandEnv.cpp
458986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolCustom.cpp
459986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolData.cpp
460986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolExe.cpp
461986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFunc.cpp
462986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp
463986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp
464986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolLabel.cpp
465986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolPublicSymbol.cpp
466986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolThunk.cpp
467986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeArray.cpp
468986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp
469986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp
470986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeCustom.cpp
471986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeDimension.cpp
472986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeEnum.cpp
473986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFriend.cpp
474986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp
475986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
476986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeManaged.cpp
477986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypePointer.cpp
478986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeTypedef.cpp
479986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeUDT.cpp
480986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTable.cpp
481986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp
482986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolUnknown.cpp
483986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
484050e2df1SDimitry AndricSRCS_EXT+=	DebugInfo/PDB/UDTLayout.cpp
485986e05bcSDimitry AndricSRCS_EXT+=	DebugInfo/Symbolize/DIPrinter.cpp
48609bfd043SDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/SymbolizableObjectFile.cpp
48709bfd043SDimitry AndricSRCS_MIW+=	DebugInfo/Symbolize/Symbolize.cpp
48809bfd043SDimitry AndricSRCS_MIN+=	Demangle/ItaniumDemangle.cpp
489986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/ExecutionEngine.cpp
490986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/ExecutionEngineBindings.cpp
491986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/GDBRegistrationListener.cpp
492986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/Execution.cpp
493986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/ExternalFunctions.cpp
494986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/Interpreter/Interpreter.cpp
495986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/MCJIT/MCJIT.cpp
496986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/ExecutionUtils.cpp
497986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/IndirectionUtils.cpp
498986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/NullResolver.cpp
499986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcABISupport.cpp
500986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcCBindings.cpp
501986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcError.cpp
502986e05bcSDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/OrcMCJITReplacement.cpp
503050e2df1SDimitry AndricSRCS_EXT+=	ExecutionEngine/Orc/RPCUtils.cpp
50409bfd043SDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/JITSymbol.cpp
505986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
506986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
507986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
508986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
509986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
510986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
51109bfd043SDimitry AndricSRCS_XDB+=	ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
512986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/SectionMemoryManager.cpp
513986e05bcSDimitry AndricSRCS_XDB+=	ExecutionEngine/TargetSelect.cpp
514986e05bcSDimitry AndricSRCS_MIN+=	IR/AsmWriter.cpp
515986e05bcSDimitry AndricSRCS_MIN+=	IR/Attributes.cpp
516986e05bcSDimitry AndricSRCS_MIN+=	IR/AutoUpgrade.cpp
517986e05bcSDimitry AndricSRCS_MIN+=	IR/BasicBlock.cpp
518986e05bcSDimitry AndricSRCS_MIN+=	IR/Comdat.cpp
519986e05bcSDimitry AndricSRCS_MIN+=	IR/ConstantFold.cpp
520986e05bcSDimitry AndricSRCS_MIN+=	IR/ConstantRange.cpp
521986e05bcSDimitry AndricSRCS_MIN+=	IR/Constants.cpp
522986e05bcSDimitry AndricSRCS_MIN+=	IR/Core.cpp
523986e05bcSDimitry AndricSRCS_MIN+=	IR/DIBuilder.cpp
524986e05bcSDimitry AndricSRCS_MIN+=	IR/DataLayout.cpp
525986e05bcSDimitry AndricSRCS_MIN+=	IR/DebugInfo.cpp
526986e05bcSDimitry AndricSRCS_MIN+=	IR/DebugInfoMetadata.cpp
527986e05bcSDimitry AndricSRCS_MIN+=	IR/DebugLoc.cpp
52836cb3905SDimitry AndricSRCS_MIN+=	IR/DiagnosticHandler.cpp
529986e05bcSDimitry AndricSRCS_MIN+=	IR/DiagnosticInfo.cpp
530986e05bcSDimitry AndricSRCS_MIN+=	IR/DiagnosticPrinter.cpp
531986e05bcSDimitry AndricSRCS_MIN+=	IR/Dominators.cpp
532986e05bcSDimitry AndricSRCS_MIN+=	IR/Function.cpp
533986e05bcSDimitry AndricSRCS_MIN+=	IR/GVMaterializer.cpp
534986e05bcSDimitry AndricSRCS_MIN+=	IR/Globals.cpp
535986e05bcSDimitry AndricSRCS_MIN+=	IR/IRBuilder.cpp
536986e05bcSDimitry AndricSRCS_MIN+=	IR/IRPrintingPasses.cpp
537986e05bcSDimitry AndricSRCS_MIN+=	IR/InlineAsm.cpp
538986e05bcSDimitry AndricSRCS_MIN+=	IR/Instruction.cpp
539986e05bcSDimitry AndricSRCS_MIN+=	IR/Instructions.cpp
540986e05bcSDimitry AndricSRCS_MIN+=	IR/IntrinsicInst.cpp
541986e05bcSDimitry AndricSRCS_MIN+=	IR/LLVMContext.cpp
542986e05bcSDimitry AndricSRCS_MIN+=	IR/LLVMContextImpl.cpp
543986e05bcSDimitry AndricSRCS_MIN+=	IR/LegacyPassManager.cpp
544986e05bcSDimitry AndricSRCS_MIN+=	IR/MDBuilder.cpp
545986e05bcSDimitry AndricSRCS_MIN+=	IR/Mangler.cpp
546986e05bcSDimitry AndricSRCS_MIN+=	IR/Metadata.cpp
547986e05bcSDimitry AndricSRCS_MIN+=	IR/Module.cpp
548986e05bcSDimitry AndricSRCS_MIN+=	IR/ModuleSummaryIndex.cpp
549986e05bcSDimitry AndricSRCS_MIN+=	IR/Operator.cpp
550986e05bcSDimitry AndricSRCS_MIN+=	IR/OptBisect.cpp
551986e05bcSDimitry AndricSRCS_MIN+=	IR/Pass.cpp
552986e05bcSDimitry AndricSRCS_MIN+=	IR/PassManager.cpp
553986e05bcSDimitry AndricSRCS_MIN+=	IR/PassRegistry.cpp
554986e05bcSDimitry AndricSRCS_MIN+=	IR/ProfileSummary.cpp
555c4394386SDimitry AndricSRCS_MIN+=	IR/SafepointIRVerifier.cpp
556986e05bcSDimitry AndricSRCS_MIN+=	IR/Statepoint.cpp
557986e05bcSDimitry AndricSRCS_MIN+=	IR/Type.cpp
558986e05bcSDimitry AndricSRCS_MIN+=	IR/TypeFinder.cpp
559986e05bcSDimitry AndricSRCS_MIN+=	IR/Use.cpp
560986e05bcSDimitry AndricSRCS_MIN+=	IR/User.cpp
561986e05bcSDimitry AndricSRCS_MIN+=	IR/Value.cpp
562986e05bcSDimitry AndricSRCS_MIN+=	IR/ValueSymbolTable.cpp
563986e05bcSDimitry AndricSRCS_MIN+=	IR/ValueTypes.cpp
564986e05bcSDimitry AndricSRCS_MIN+=	IR/Verifier.cpp
565986e05bcSDimitry AndricSRCS_MIN+=	IRReader/IRReader.cpp
56609bfd043SDimitry AndricSRCS_EXL+=	LTO/Caching.cpp
5675897d2f0SDimitry AndricSRCS_MIN+=	LTO/LTO.cpp
56809bfd043SDimitry AndricSRCS_MIN+=	LTO/LTOBackend.cpp
56975bc38b9SEd MasteSRCS_EXL+=	LTO/LTOCodeGenerator.cpp
57075bc38b9SEd MasteSRCS_EXL+=	LTO/LTOModule.cpp
57175bc38b9SEd MasteSRCS_EXL+=	LTO/ThinLTOCodeGenerator.cpp
57209bfd043SDimitry AndricSRCS_MIN+=	LTO/UpdateCompilerUsed.cpp
573986e05bcSDimitry AndricSRCS_MIN+=	LineEditor/LineEditor.cpp
574986e05bcSDimitry AndricSRCS_MIN+=	Linker/IRMover.cpp
575986e05bcSDimitry AndricSRCS_MIN+=	Linker/LinkModules.cpp
576986e05bcSDimitry AndricSRCS_MIN+=	MC/ConstantPools.cpp
577986e05bcSDimitry AndricSRCS_MIN+=	MC/ELFObjectWriter.cpp
578986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmBackend.cpp
579986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfo.cpp
580986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoCOFF.cpp
581986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoDarwin.cpp
582986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmInfoELF.cpp
583986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAsmStreamer.cpp
584986e05bcSDimitry AndricSRCS_MIN+=	MC/MCAssembler.cpp
585986e05bcSDimitry AndricSRCS_MIN+=	MC/MCCodeEmitter.cpp
58636cb3905SDimitry AndricSRCS_MIN+=	MC/MCCodePadder.cpp
587986e05bcSDimitry AndricSRCS_MIN+=	MC/MCCodeView.cpp
588986e05bcSDimitry AndricSRCS_MIN+=	MC/MCContext.cpp
58975bc38b9SEd MasteSRCS_XDL+=	MC/MCDisassembler/Disassembler.cpp
59030d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCDisassembler.cpp
59130d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCExternalSymbolizer.cpp
592986e05bcSDimitry AndricSRCS_MIN+=	MC/MCDisassembler/MCRelocationInfo.cpp
59330d4828eSDimitry AndricSRCS_XDW+=	MC/MCDisassembler/MCSymbolizer.cpp
594986e05bcSDimitry AndricSRCS_MIN+=	MC/MCDwarf.cpp
595986e05bcSDimitry AndricSRCS_MIN+=	MC/MCELFObjectTargetWriter.cpp
596986e05bcSDimitry AndricSRCS_MIN+=	MC/MCELFStreamer.cpp
597986e05bcSDimitry AndricSRCS_MIN+=	MC/MCExpr.cpp
598986e05bcSDimitry AndricSRCS_MIN+=	MC/MCFragment.cpp
599986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInst.cpp
600986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstPrinter.cpp
601986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstrAnalysis.cpp
602986e05bcSDimitry AndricSRCS_MIN+=	MC/MCInstrDesc.cpp
603986e05bcSDimitry AndricSRCS_MIN+=	MC/MCLinkerOptimizationHint.cpp
604986e05bcSDimitry AndricSRCS_MIN+=	MC/MCMachOStreamer.cpp
605986e05bcSDimitry AndricSRCS_MIN+=	MC/MCMachObjectTargetWriter.cpp
606986e05bcSDimitry AndricSRCS_MIN+=	MC/MCNullStreamer.cpp
607986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectFileInfo.cpp
608986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectStreamer.cpp
609986e05bcSDimitry AndricSRCS_MIN+=	MC/MCObjectWriter.cpp
610986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/AsmLexer.cpp
611986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/AsmParser.cpp
612986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/COFFAsmParser.cpp
613986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/DarwinAsmParser.cpp
614986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/ELFAsmParser.cpp
615986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmLexer.cpp
616986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmParser.cpp
617986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCAsmParserExtension.cpp
618986e05bcSDimitry AndricSRCS_MIN+=	MC/MCParser/MCTargetAsmParser.cpp
619986e05bcSDimitry AndricSRCS_MIN+=	MC/MCRegisterInfo.cpp
620986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSchedule.cpp
621986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSection.cpp
622986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionCOFF.cpp
623986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionELF.cpp
624986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSectionMachO.cpp
6255897d2f0SDimitry AndricSRCS_MIN+=	MC/MCSectionWasm.cpp
626986e05bcSDimitry AndricSRCS_MIN+=	MC/MCStreamer.cpp
627986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSubtargetInfo.cpp
628986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSymbol.cpp
629986e05bcSDimitry AndricSRCS_MIN+=	MC/MCSymbolELF.cpp
630986e05bcSDimitry AndricSRCS_MIN+=	MC/MCTargetOptions.cpp
631986e05bcSDimitry AndricSRCS_MIN+=	MC/MCValue.cpp
6325897d2f0SDimitry AndricSRCS_MIN+=	MC/MCWasmStreamer.cpp
633986e05bcSDimitry AndricSRCS_MIN+=	MC/MCWin64EH.cpp
634edd7eaddSDimitry AndricSRCS_MIN+=	MC/MCWinCOFFStreamer.cpp
635986e05bcSDimitry AndricSRCS_MIN+=	MC/MCWinEH.cpp
636986e05bcSDimitry AndricSRCS_MIN+=	MC/MachObjectWriter.cpp
637986e05bcSDimitry AndricSRCS_MIN+=	MC/StringTableBuilder.cpp
638986e05bcSDimitry AndricSRCS_MIN+=	MC/SubtargetFeature.cpp
639986e05bcSDimitry AndricSRCS_MIN+=	MC/WinCOFFObjectWriter.cpp
640986e05bcSDimitry AndricSRCS_MIN+=	Object/Archive.cpp
641986e05bcSDimitry AndricSRCS_MIN+=	Object/ArchiveWriter.cpp
642986e05bcSDimitry AndricSRCS_MIN+=	Object/Binary.cpp
643b40b48b8SDimitry AndricSRCS_EXT+=	Object/COFFImportFile.cpp
644b40b48b8SDimitry AndricSRCS_EXT+=	Object/COFFModuleDefinition.cpp
645986e05bcSDimitry AndricSRCS_MIN+=	Object/COFFObjectFile.cpp
646f1a29dd3SDimitry AndricSRCS_MIN+=	Object/Decompressor.cpp
647986e05bcSDimitry AndricSRCS_MIN+=	Object/ELF.cpp
648986e05bcSDimitry AndricSRCS_MIN+=	Object/ELFObjectFile.cpp
649986e05bcSDimitry AndricSRCS_MIN+=	Object/Error.cpp
650986e05bcSDimitry AndricSRCS_MIN+=	Object/IRObjectFile.cpp
6515897d2f0SDimitry AndricSRCS_MIN+=	Object/IRSymtab.cpp
652986e05bcSDimitry AndricSRCS_MIN+=	Object/MachOObjectFile.cpp
653986e05bcSDimitry AndricSRCS_MIN+=	Object/MachOUniversal.cpp
65409bfd043SDimitry AndricSRCS_MIN+=	Object/ModuleSymbolTable.cpp
655986e05bcSDimitry AndricSRCS_EXT+=	Object/Object.cpp
656986e05bcSDimitry AndricSRCS_MIN+=	Object/ObjectFile.cpp
657986e05bcSDimitry AndricSRCS_MIN+=	Object/RecordStreamer.cpp
65809bfd043SDimitry AndricSRCS_MIW+=	Object/SymbolSize.cpp
659986e05bcSDimitry AndricSRCS_MIN+=	Object/SymbolicFile.cpp
66009bfd043SDimitry AndricSRCS_MIN+=	Object/WasmObjectFile.cpp
661bbd32193SDimitry AndricSRCS_MIN+=	Object/WindowsResource.cpp
662986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/COFFYAML.cpp
663f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLDebugSections.cpp
664f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLSymbols.cpp
665f9448bf3SDimitry AndricSRCS_EXT+=	ObjectYAML/CodeViewYAMLTypes.cpp
66609bfd043SDimitry AndricSRCS_MIN+=	ObjectYAML/DWARFYAML.cpp
667986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/ELFYAML.cpp
668986e05bcSDimitry AndricSRCS_MIN+=	ObjectYAML/MachOYAML.cpp
66924d58133SDimitry AndricSRCS_EXT+=	ObjectYAML/YAML.cpp
670986e05bcSDimitry AndricSRCS_MIN+=	Option/Arg.cpp
671986e05bcSDimitry AndricSRCS_MIN+=	Option/ArgList.cpp
672986e05bcSDimitry AndricSRCS_MIN+=	Option/OptTable.cpp
673986e05bcSDimitry AndricSRCS_MIN+=	Option/Option.cpp
67409bfd043SDimitry AndricSRCS_MIN+=	Passes/PassBuilder.cpp
675986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMapping.cpp
676986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMappingReader.cpp
677986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/Coverage/CoverageMappingWriter.cpp
6781b49115aSEd MasteSRCS_MIN+=	ProfileData/GCOV.cpp
679986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProf.cpp
680986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProfReader.cpp
681986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/InstrProfWriter.cpp
682986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/ProfileSummaryBuilder.cpp
683986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/SampleProf.cpp
684986e05bcSDimitry AndricSRCS_MIN+=	ProfileData/SampleProfReader.cpp
685986e05bcSDimitry AndricSRCS_EXT+=	ProfileData/SampleProfWriter.cpp
686986e05bcSDimitry AndricSRCS_MIN+=	Support/APFloat.cpp
687986e05bcSDimitry AndricSRCS_MIN+=	Support/APInt.cpp
688986e05bcSDimitry AndricSRCS_MIN+=	Support/APSInt.cpp
6895897d2f0SDimitry AndricSRCS_MIN+=	Support/ARMAttributeParser.cpp
690986e05bcSDimitry AndricSRCS_MIN+=	Support/ARMBuildAttrs.cpp
691986e05bcSDimitry AndricSRCS_MIN+=	Support/Allocator.cpp
692986e05bcSDimitry AndricSRCS_MIN+=	Support/Atomic.cpp
6935897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamError.cpp
6945897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamReader.cpp
695d8866befSDimitry AndricSRCS_MIN+=	Support/BinaryStreamRef.cpp
6965897d2f0SDimitry AndricSRCS_MIN+=	Support/BinaryStreamWriter.cpp
697986e05bcSDimitry AndricSRCS_MIN+=	Support/BlockFrequency.cpp
698986e05bcSDimitry AndricSRCS_MIN+=	Support/BranchProbability.cpp
699986e05bcSDimitry AndricSRCS_EXT+=	Support/COM.cpp
700986e05bcSDimitry AndricSRCS_MIN+=	Support/CachePruning.cpp
70109bfd043SDimitry AndricSRCS_MIN+=	Support/Chrono.cpp
70236cb3905SDimitry AndricSRCS_MIN+=	Support/CodeGenCoverage.cpp
703986e05bcSDimitry AndricSRCS_MIN+=	Support/CommandLine.cpp
704986e05bcSDimitry AndricSRCS_MIN+=	Support/Compression.cpp
70509bfd043SDimitry AndricSRCS_MIN+=	Support/ConvertUTF.cpp
706986e05bcSDimitry AndricSRCS_MIN+=	Support/ConvertUTFWrapper.cpp
707986e05bcSDimitry AndricSRCS_MIN+=	Support/CrashRecoveryContext.cpp
708986e05bcSDimitry AndricSRCS_MIN+=	Support/DAGDeltaAlgorithm.cpp
709986e05bcSDimitry AndricSRCS_MIN+=	Support/DataExtractor.cpp
710986e05bcSDimitry AndricSRCS_MIN+=	Support/Debug.cpp
7115897d2f0SDimitry AndricSRCS_MIN+=	Support/DebugCounter.cpp
712986e05bcSDimitry AndricSRCS_MIN+=	Support/DeltaAlgorithm.cpp
713986e05bcSDimitry AndricSRCS_MIN+=	Support/DynamicLibrary.cpp
714986e05bcSDimitry AndricSRCS_MIN+=	Support/Errno.cpp
715986e05bcSDimitry AndricSRCS_MIN+=	Support/Error.cpp
716986e05bcSDimitry AndricSRCS_MIN+=	Support/ErrorHandling.cpp
71775bc38b9SEd MasteSRCS_EXL+=	Support/FileOutputBuffer.cpp
718986e05bcSDimitry AndricSRCS_EXT+=	Support/FileUtilities.cpp
719986e05bcSDimitry AndricSRCS_MIN+=	Support/FoldingSet.cpp
72009bfd043SDimitry AndricSRCS_MIN+=	Support/FormatVariadic.cpp
721986e05bcSDimitry AndricSRCS_MIN+=	Support/FormattedStream.cpp
72209bfd043SDimitry AndricSRCS_MIN+=	Support/GlobPattern.cpp
723986e05bcSDimitry AndricSRCS_MIN+=	Support/GraphWriter.cpp
724986e05bcSDimitry AndricSRCS_MIN+=	Support/Hashing.cpp
725986e05bcSDimitry AndricSRCS_MIN+=	Support/Host.cpp
726986e05bcSDimitry AndricSRCS_MIN+=	Support/IntEqClasses.cpp
727986e05bcSDimitry AndricSRCS_MIN+=	Support/IntervalMap.cpp
728986e05bcSDimitry AndricSRCS_MIN+=	Support/JamCRC.cpp
72936cb3905SDimitry AndricSRCS_MIN+=	Support/KnownBits.cpp
730986e05bcSDimitry AndricSRCS_MIN+=	Support/LEB128.cpp
731986e05bcSDimitry AndricSRCS_MIN+=	Support/LineIterator.cpp
732986e05bcSDimitry AndricSRCS_MIN+=	Support/Locale.cpp
733986e05bcSDimitry AndricSRCS_MIN+=	Support/LockFileManager.cpp
7345897d2f0SDimitry AndricSRCS_MIN+=	Support/LowLevelType.cpp
735986e05bcSDimitry AndricSRCS_MIN+=	Support/MD5.cpp
736986e05bcSDimitry AndricSRCS_MIN+=	Support/ManagedStatic.cpp
737986e05bcSDimitry AndricSRCS_MIN+=	Support/MathExtras.cpp
7387bfc2d0fSDimitry AndricSRCS_XDL+=	Support/Memory.cpp
739986e05bcSDimitry AndricSRCS_MIN+=	Support/MemoryBuffer.cpp
740986e05bcSDimitry AndricSRCS_MIN+=	Support/Mutex.cpp
74109bfd043SDimitry AndricSRCS_MIN+=	Support/NativeFormatting.cpp
742986e05bcSDimitry AndricSRCS_MIN+=	Support/Options.cpp
7435517e702SDimitry AndricSRCS_LLD+=	Support/Parallel.cpp
744986e05bcSDimitry AndricSRCS_MIN+=	Support/Path.cpp
745986e05bcSDimitry AndricSRCS_MIN+=	Support/PluginLoader.cpp
746986e05bcSDimitry AndricSRCS_MIN+=	Support/PrettyStackTrace.cpp
747986e05bcSDimitry AndricSRCS_MIN+=	Support/Process.cpp
748986e05bcSDimitry AndricSRCS_MIN+=	Support/Program.cpp
749986e05bcSDimitry AndricSRCS_MIN+=	Support/RWMutex.cpp
750986e05bcSDimitry AndricSRCS_MIN+=	Support/RandomNumberGenerator.cpp
751986e05bcSDimitry AndricSRCS_MIN+=	Support/Regex.cpp
752986e05bcSDimitry AndricSRCS_MIN+=	Support/SHA1.cpp
753986e05bcSDimitry AndricSRCS_MIN+=	Support/ScaledNumber.cpp
754986e05bcSDimitry AndricSRCS_MIN+=	Support/ScopedPrinter.cpp
755986e05bcSDimitry AndricSRCS_MIN+=	Support/Signals.cpp
756986e05bcSDimitry AndricSRCS_MIN+=	Support/SmallPtrSet.cpp
757986e05bcSDimitry AndricSRCS_MIN+=	Support/SmallVector.cpp
758986e05bcSDimitry AndricSRCS_MIN+=	Support/SourceMgr.cpp
759986e05bcSDimitry AndricSRCS_MIN+=	Support/SpecialCaseList.cpp
760986e05bcSDimitry AndricSRCS_MIN+=	Support/Statistic.cpp
761986e05bcSDimitry AndricSRCS_MIN+=	Support/StringExtras.cpp
762986e05bcSDimitry AndricSRCS_MIN+=	Support/StringMap.cpp
763986e05bcSDimitry AndricSRCS_MIN+=	Support/StringRef.cpp
764986e05bcSDimitry AndricSRCS_MIN+=	Support/StringSaver.cpp
765986e05bcSDimitry AndricSRCS_EXT+=	Support/SystemUtils.cpp
7661ae4f0f6SDimitry AndricSRCS_LLD+=	Support/TarWriter.cpp
767986e05bcSDimitry AndricSRCS_MIN+=	Support/TargetParser.cpp
768986e05bcSDimitry AndricSRCS_MIN+=	Support/TargetRegistry.cpp
769986e05bcSDimitry AndricSRCS_MIN+=	Support/ThreadLocal.cpp
77009bfd043SDimitry AndricSRCS_MIN+=	Support/ThreadPool.cpp
771986e05bcSDimitry AndricSRCS_MIN+=	Support/Threading.cpp
772986e05bcSDimitry AndricSRCS_MIN+=	Support/Timer.cpp
773986e05bcSDimitry AndricSRCS_MIN+=	Support/ToolOutputFile.cpp
77409bfd043SDimitry AndricSRCS_MIN+=	Support/TrigramIndex.cpp
775986e05bcSDimitry AndricSRCS_MIN+=	Support/Triple.cpp
776986e05bcSDimitry AndricSRCS_MIN+=	Support/Twine.cpp
777986e05bcSDimitry AndricSRCS_MIN+=	Support/Unicode.cpp
778986e05bcSDimitry AndricSRCS_MIN+=	Support/Valgrind.cpp
779986e05bcSDimitry AndricSRCS_MIN+=	Support/YAMLParser.cpp
780986e05bcSDimitry AndricSRCS_MIN+=	Support/YAMLTraits.cpp
781986e05bcSDimitry AndricSRCS_MIN+=	Support/circular_raw_ostream.cpp
782986e05bcSDimitry AndricSRCS_MIN+=	Support/raw_os_ostream.cpp
783986e05bcSDimitry AndricSRCS_MIN+=	Support/raw_ostream.cpp
784986e05bcSDimitry AndricSRCS_MIN+=	Support/regcomp.c
785986e05bcSDimitry AndricSRCS_MIN+=	Support/regerror.c
786986e05bcSDimitry AndricSRCS_MIN+=	Support/regexec.c
787986e05bcSDimitry AndricSRCS_MIN+=	Support/regfree.c
788986e05bcSDimitry AndricSRCS_MIN+=	Support/regstrlcpy.c
7890fc5d238SDimitry AndricSRCS_LLD+=	Support/xxhash.cpp
790986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Error.cpp
791986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Main.cpp
792986e05bcSDimitry AndricSRCS_MIN+=	TableGen/Record.cpp
793986e05bcSDimitry AndricSRCS_MIN+=	TableGen/SetTheory.cpp
794986e05bcSDimitry AndricSRCS_MIN+=	TableGen/StringMatcher.cpp
795986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TGLexer.cpp
796986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TGParser.cpp
797986e05bcSDimitry AndricSRCS_MIN+=	TableGen/TableGenBackend.cpp
798cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} != "no"
799986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64A53Fix835769.cpp
800986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64A57FPLoadBalancing.cpp
801986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64AdvSIMDScalarPass.cpp
802986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64AsmPrinter.cpp
8033d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CallLowering.cpp
804986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
805986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CollectLOH.cpp
806edd7eaddSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64CondBrTuning.cpp
807986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ConditionOptimizer.cpp
808986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ConditionalCompares.cpp
809986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
810986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ExpandPseudoInsts.cpp
811b40b48b8SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FalkorHWPFFix.cpp
812986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FastISel.cpp
813986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64FrameLowering.cpp
814986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ISelDAGToDAG.cpp
815986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64ISelLowering.cpp
816986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64InstrInfo.cpp
8173d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64InstructionSelector.cpp
8183d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64LegalizerInfo.cpp
819986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64LoadStoreOptimizer.cpp
820986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64MCInstLower.cpp
8215897d2f0SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64MacroFusion.cpp
822986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PBQPRegAlloc.cpp
823986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64PromoteConstant.cpp
824986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RedundantCopyElimination.cpp
8253d54deb3SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RegisterBankInfo.cpp
826986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64RegisterInfo.cpp
82736cb3905SDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SIMDInstrOpt.cpp
828986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64SelectionDAGInfo.cpp
829986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64StorePairSuppress.cpp
830986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64Subtarget.cpp
831986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetMachine.cpp
832986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetObjectFile.cpp
833986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AArch64TargetTransformInfo.cpp
834986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/AsmParser/AArch64AsmParser.cpp
83530d4828eSDimitry AndricSRCS_XDW+=	Target/AArch64/Disassembler/AArch64Disassembler.cpp
83630d4828eSDimitry AndricSRCS_XDW+=	Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
837986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
838986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
839986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
840986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
841986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
842986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
843986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
844986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
845986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
846986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
847a580b014SDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
848a580b014SDimitry AndricSRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
849986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
850986e05bcSDimitry AndricSRCS_MIN+=	Target/AArch64/Utils/AArch64BaseInfo.cpp
851cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_AARCH64
852cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_ARM} != "no"
853986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/A15SDOptimizer.cpp
854986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMAsmPrinter.cpp
855986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBaseInstrInfo.cpp
856986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMBaseRegisterInfo.cpp
8573d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMCallLowering.cpp
85809bfd043SDimitry AndricSRCS_MIN+=	Target/ARM/ARMComputeBlockSize.cpp
859986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMConstantIslandPass.cpp
860986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMConstantPoolValue.cpp
861986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMExpandPseudoInsts.cpp
862986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMFastISel.cpp
863986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMFrameLowering.cpp
864986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMHazardRecognizer.cpp
865986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMISelDAGToDAG.cpp
866986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMISelLowering.cpp
867986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMInstrInfo.cpp
8683d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMInstructionSelector.cpp
8693d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMLegalizerInfo.cpp
870986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMLoadStoreOptimizer.cpp
871986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMCInstLower.cpp
872986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMachineFunctionInfo.cpp
873edd7eaddSDimitry AndricSRCS_MIN+=	Target/ARM/ARMMacroFusion.cpp
874986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMOptimizeBarriersPass.cpp
8753d54deb3SDimitry AndricSRCS_MIN+=	Target/ARM/ARMRegisterBankInfo.cpp
876986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMRegisterInfo.cpp
877986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMSelectionDAGInfo.cpp
878986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMSubtarget.cpp
879986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetMachine.cpp
880986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetObjectFile.cpp
881986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ARMTargetTransformInfo.cpp
882986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/AsmParser/ARMAsmParser.cpp
883986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Disassembler/ARMDisassembler.cpp
884986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/InstPrinter/ARMInstPrinter.cpp
885986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
886986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
887986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
888986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
889986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
890986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCExpr.cpp
891986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
892986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
893986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
894986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
895986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
896986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
897986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
898986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/MLxExpansionPass.cpp
899986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/TargetInfo/ARMTargetInfo.cpp
900986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb1FrameLowering.cpp
901986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb1InstrInfo.cpp
902986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2ITBlockPass.cpp
903986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2InstrInfo.cpp
904986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/Thumb2SizeReduction.cpp
905986e05bcSDimitry AndricSRCS_MIN+=	Target/ARM/ThumbRegisterInfo.cpp
90636cb3905SDimitry AndricSRCS_MIN+=	Target/ARM/Utils/ARMBaseInfo.cpp
907cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_ARM
908cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_MIPS} != "no"
909986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/AsmParser/MipsAsmParser.cpp
91030d4828eSDimitry AndricSRCS_XDW+=	Target/Mips/Disassembler/MipsDisassembler.cpp
911986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/InstPrinter/MipsInstPrinter.cpp
912986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
913986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIInfo.cpp
914986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
915986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
916986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
917986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
918986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
919986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCExpr.cpp
920986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
921986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
922986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
923986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
924f37b6182SDimitry AndricSRCS_MIN+=	Target/Mips/MicroMipsSizeReduction.cpp
925986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16FrameLowering.cpp
926986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16HardFloat.cpp
927986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16HardFloatInfo.cpp
928986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16ISelDAGToDAG.cpp
929986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16ISelLowering.cpp
930986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16InstrInfo.cpp
931986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/Mips16RegisterInfo.cpp
932986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsAnalyzeImmediate.cpp
933986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsAsmPrinter.cpp
934986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsCCState.cpp
935986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsConstantIslandPass.cpp
936986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsDelaySlotFiller.cpp
937986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsFastISel.cpp
938986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsFrameLowering.cpp
939986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsHazardSchedule.cpp
940986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsISelDAGToDAG.cpp
941986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsISelLowering.cpp
942986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsInstrInfo.cpp
943986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsLongBranch.cpp
944986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsMCInstLower.cpp
945986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsMachineFunction.cpp
946986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsModuleISelDAGToDAG.cpp
947986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsOptimizePICCall.cpp
948986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsOs16.cpp
949986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsRegisterInfo.cpp
950986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEFrameLowering.cpp
951986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEISelDAGToDAG.cpp
952986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEISelLowering.cpp
953986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSEInstrInfo.cpp
954986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSERegisterInfo.cpp
955986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsSubtarget.cpp
956986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsTargetMachine.cpp
957986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/MipsTargetObjectFile.cpp
958986e05bcSDimitry AndricSRCS_MIN+=	Target/Mips/TargetInfo/MipsTargetInfo.cpp
959cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_MIPS
960cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_POWERPC} != "no"
961986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/AsmParser/PPCAsmParser.cpp
962986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/Disassembler/PPCDisassembler.cpp
963986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
964986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
965986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
966986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
967986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
968986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
969986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
970986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
971986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCPredicates.cpp
972986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCAsmPrinter.cpp
973986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBoolRetToInt.cpp
97436cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBranchCoalescing.cpp
975986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCBranchSelector.cpp
976986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCCState.cpp
977986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCCTRLoops.cpp
978986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCEarlyReturn.cpp
9795897d2f0SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCExpandISEL.cpp
980986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCFastISel.cpp
981986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCFrameLowering.cpp
982986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCHazardRecognizers.cpp
983986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCISelDAGToDAG.cpp
984986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCISelLowering.cpp
985986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCInstrInfo.cpp
986986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCLoopPreIncPrep.cpp
987986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMCInstLower.cpp
988986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMIPeephole.cpp
989986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCMachineFunctionInfo.cpp
99036cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCPreEmitPeephole.cpp
991986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCQPXLoadSplat.cpp
99236cb3905SDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCReduceCRLogicals.cpp
993986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCRegisterInfo.cpp
994986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCSubtarget.cpp
995986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTLSDynamicCall.cpp
996986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTOCRegDeps.cpp
997986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetMachine.cpp
998986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetObjectFile.cpp
999986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCTargetTransformInfo.cpp
1000986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXCopy.cpp
1001986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXFMAMutate.cpp
1002986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/PPCVSXSwapRemoval.cpp
1003986e05bcSDimitry AndricSRCS_MIN+=	Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
1004cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_POWERPC
1005cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_SPARC} != "no"
1006986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/AsmParser/SparcAsmParser.cpp
1007986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/DelaySlotFiller.cpp
100830d4828eSDimitry AndricSRCS_XDW+=	Target/Sparc/Disassembler/SparcDisassembler.cpp
1009986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/InstPrinter/SparcInstPrinter.cpp
1010986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/LeonPasses.cpp
1011986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
1012986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
1013986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
1014986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
1015986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
1016986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
1017986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp
1018986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcAsmPrinter.cpp
1019986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcFrameLowering.cpp
1020986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcISelDAGToDAG.cpp
1021986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcISelLowering.cpp
1022986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcInstrInfo.cpp
1023986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcMCInstLower.cpp
1024986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcMachineFunctionInfo.cpp
1025986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcRegisterInfo.cpp
1026986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcSubtarget.cpp
1027986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcTargetMachine.cpp
1028986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/SparcTargetObjectFile.cpp
1029986e05bcSDimitry AndricSRCS_MIN+=	Target/Sparc/TargetInfo/SparcTargetInfo.cpp
1030cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_SPARC
1031986e05bcSDimitry AndricSRCS_MIN+=	Target/Target.cpp
103209bfd043SDimitry AndricSRCS_MIN+=	Target/TargetIntrinsicInfo.cpp
1033986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetLoweringObjectFile.cpp
1034986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetMachine.cpp
1035986e05bcSDimitry AndricSRCS_MIN+=	Target/TargetMachineC.cpp
1036cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_X86} != "no"
1037986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/AsmParser/X86AsmInstrumentation.cpp
1038986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/AsmParser/X86AsmParser.cpp
103930d4828eSDimitry AndricSRCS_XDW+=	Target/X86/Disassembler/X86Disassembler.cpp
104030d4828eSDimitry AndricSRCS_XDW+=	Target/X86/Disassembler/X86DisassemblerDecoder.cpp
1041986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86ATTInstPrinter.cpp
1042986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86InstComments.cpp
1043986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/InstPrinter/X86IntelInstPrinter.cpp
1044986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86AsmBackend.cpp
1045986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
1046986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
1047986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
1048986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
1049986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
1050986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
1051986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
105236cb3905SDimitry AndricSRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
1053986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/TargetInfo/X86TargetInfo.cpp
1054986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/Utils/X86ShuffleDecode.cpp
1055986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86AsmPrinter.cpp
1056986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86CallFrameOptimization.cpp
10573d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86CallLowering.cpp
105809bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86CallingConv.cpp
1059b40b48b8SDimitry AndricSRCS_MIN+=	Target/X86/X86CmovConversion.cpp
106036cb3905SDimitry AndricSRCS_MIN+=	Target/X86/X86DomainReassignment.cpp
106109bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86EvexToVex.cpp
1062986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ExpandPseudo.cpp
1063986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FastISel.cpp
1064986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupBWInsts.cpp
1065986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupLEAs.cpp
1066986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FixupSetCC.cpp
10670556cfadSDimitry AndricSRCS_MIN+=	Target/X86/X86FlagsCopyLowering.cpp
1068986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FloatingPoint.cpp
1069986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86FrameLowering.cpp
1070986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ISelDAGToDAG.cpp
1071986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ISelLowering.cpp
107209bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86InstrFMA3Info.cpp
1073986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86InstrInfo.cpp
10743d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86InstructionSelector.cpp
107509bfd043SDimitry AndricSRCS_MIN+=	Target/X86/X86InterleavedAccess.cpp
10763d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86LegalizerInfo.cpp
1077986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86MCInstLower.cpp
1078986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86MachineFunctionInfo.cpp
10795897d2f0SDimitry AndricSRCS_MIN+=	Target/X86/X86MacroFusion.cpp
1080986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86OptimizeLEAs.cpp
1081986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86PadShortFunction.cpp
10823d54deb3SDimitry AndricSRCS_MIN+=	Target/X86/X86RegisterBankInfo.cpp
1083986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86RegisterInfo.cpp
108407577dfeSDimitry AndricSRCS_MIN+=	Target/X86/X86RetpolineThunks.cpp
1085986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86SelectionDAGInfo.cpp
1086986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86ShuffleDecodeConstantPool.cpp
1087986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86Subtarget.cpp
1088986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetMachine.cpp
1089986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetObjectFile.cpp
1090986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86TargetTransformInfo.cpp
1091986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86VZeroUpper.cpp
1092986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86WinAllocaExpander.cpp
1093986e05bcSDimitry AndricSRCS_MIN+=	Target/X86/X86WinEHState.cpp
1094cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_X86
1095b40b48b8SDimitry AndricSRCS_EXT+=	ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
10965517e702SDimitry AndricSRCS_EXL+=	ToolDrivers/llvm-lib/LibDriver.cpp
109709bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroCleanup.cpp
109809bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroEarly.cpp
109909bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroElide.cpp
110009bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroFrame.cpp
110109bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/CoroSplit.cpp
110209bfd043SDimitry AndricSRCS_MIN+=	Transforms/Coroutines/Coroutines.cpp
110309bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/AlwaysInliner.cpp
1104986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ArgumentPromotion.cpp
1105986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/BarrierNoopPass.cpp
110636cb3905SDimitry AndricSRCS_MIN+=	Transforms/IPO/CalledValuePropagation.cpp
1107986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ConstantMerge.cpp
1108986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/CrossDSOCFI.cpp
1109986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/DeadArgumentElimination.cpp
1110986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ElimAvailExtern.cpp
1111986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ExtractGV.cpp
1112986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/ForceFunctionAttrs.cpp
1113986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/FunctionAttrs.cpp
1114986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/FunctionImport.cpp
1115986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalDCE.cpp
1116986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalOpt.cpp
111709bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/GlobalSplit.cpp
1118986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/IPConstantPropagation.cpp
1119986e05bcSDimitry AndricSRCS_EXT+=	Transforms/IPO/IPO.cpp
1120986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/InferFunctionAttrs.cpp
1121986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/InlineSimple.cpp
1122986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/Inliner.cpp
1123986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/Internalize.cpp
1124986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/LoopExtractor.cpp
1125986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/LowerTypeTests.cpp
1126986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/MergeFunctions.cpp
1127986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PartialInlining.cpp
1128986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PassManagerBuilder.cpp
1129986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/PruneEH.cpp
1130986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/SampleProfile.cpp
1131986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/StripDeadPrototypes.cpp
1132986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/StripSymbols.cpp
113309bfd043SDimitry AndricSRCS_MIN+=	Transforms/IPO/ThinLTOBitcodeWriter.cpp
1134986e05bcSDimitry AndricSRCS_MIN+=	Transforms/IPO/WholeProgramDevirt.cpp
1135986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAddSub.cpp
1136986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineAndOrXor.cpp
1137986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCalls.cpp
1138986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCasts.cpp
1139986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineCompares.cpp
1140986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
1141986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineMulDivRem.cpp
1142986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombinePHI.cpp
1143986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineSelect.cpp
1144986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineShifts.cpp
1145986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
1146986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstCombineVectorOps.cpp
1147986e05bcSDimitry AndricSRCS_MIN+=	Transforms/InstCombine/InstructionCombining.cpp
1148986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/AddressSanitizer.cpp
1149986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/BoundsChecking.cpp
1150986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/DataFlowSanitizer.cpp
1151986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/EfficiencySanitizer.cpp
1152986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/GCOVProfiling.cpp
115336cb3905SDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/HWAddressSanitizer.cpp
1154986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/IndirectCallPromotion.cpp
1155986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/InstrProfiling.cpp
1156986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/Instrumentation.cpp
1157986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/MemorySanitizer.cpp
1158986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PGOInstrumentation.cpp
115924d58133SDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
1160986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/SanitizerCoverage.cpp
1161986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Instrumentation/ThreadSanitizer.cpp
1162986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/DependencyAnalysis.cpp
1163986e05bcSDimitry AndricSRCS_EXT+=	Transforms/ObjCARC/ObjCARC.cpp
1164986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCAPElim.cpp
1165986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCContract.cpp
1166986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCExpand.cpp
1167986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ObjCARCOpts.cpp
1168986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysis.cpp
1169986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
1170986e05bcSDimitry AndricSRCS_MIN+=	Transforms/ObjCARC/PtrState.cpp
1171986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ADCE.cpp
1172986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/AlignmentFromAssumptions.cpp
1173986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/BDCE.cpp
117436cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/CallSiteSplitting.cpp
1175986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ConstantHoisting.cpp
1176986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/ConstantProp.cpp
1177986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/CorrelatedValuePropagation.cpp
1178986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/DCE.cpp
1179986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/DeadStoreElimination.cpp
118036cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/DivRemPairs.cpp
1181986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/EarlyCSE.cpp
1182986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/FlattenCFGPass.cpp
1183986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Float2Int.cpp
1184986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVN.cpp
1185986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVNHoist.cpp
1186302affcbSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GVNSink.cpp
1187986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/GuardWidening.cpp
1188f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/IVUsersPrinter.cpp
1189986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/IndVarSimplify.cpp
1190986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/InductiveRangeCheckElimination.cpp
1191050e2df1SDimitry AndricSRCS_EXT+=	Transforms/Scalar/InferAddressSpaces.cpp
1192986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/JumpThreading.cpp
1193986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LICM.cpp
1194f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
1195986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDataPrefetch.cpp
1196986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDeletion.cpp
1197986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopDistribute.cpp
1198986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopIdiomRecognize.cpp
119909bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopInstSimplify.cpp
1200986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopInterchange.cpp
1201986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopLoadElimination.cpp
1202f1a29dd3SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopPassManager.cpp
12035897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopPredication.cpp
1204986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopRerollPass.cpp
1205986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopRotation.cpp
1206986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopSimplifyCFG.cpp
120709bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopSink.cpp
1208986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopStrengthReduce.cpp
1209986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnrollPass.cpp
1210986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopUnswitch.cpp
1211986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LoopVersioningLICM.cpp
1212986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerAtomic.cpp
1213986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerExpectIntrinsic.cpp
1214986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/LowerGuardIntrinsic.cpp
1215986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MemCpyOptimizer.cpp
121636cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/MergeICmps.cpp
1217986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/MergedLoadStoreMotion.cpp
1218986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/NaryReassociate.cpp
121909bfd043SDimitry AndricSRCS_MIN+=	Transforms/Scalar/NewGVN.cpp
1220986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/PartiallyInlineLibCalls.cpp
1221986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/PlaceSafepoints.cpp
1222986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Reassociate.cpp
1223986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Reg2Mem.cpp
1224986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/RewriteStatepointsForGC.cpp
1225986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SCCP.cpp
1226986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SROA.cpp
1227986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Scalar/Scalar.cpp
1228986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Scalarizer.cpp
1229986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
1230f37b6182SDimitry AndricSRCS_MIN+=	Transforms/Scalar/SimpleLoopUnswitch.cpp
1231986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SimplifyCFGPass.cpp
1232986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/Sink.cpp
123336cb3905SDimitry AndricSRCS_MIN+=	Transforms/Scalar/SpeculateAroundPHIs.cpp
1234986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/SpeculativeExecution.cpp
1235986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/StraightLineStrengthReduce.cpp
1236986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/StructurizeCFG.cpp
1237986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Scalar/TailRecursionElimination.cpp
1238986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ASanStackFrameLayout.cpp
1239986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/AddDiscriminators.cpp
1240986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BasicBlockUtils.cpp
1241986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BreakCriticalEdges.cpp
1242986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BuildLibCalls.cpp
1243986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/BypassSlowDivision.cpp
124436cb3905SDimitry AndricSRCS_MIN+=	Transforms/Utils/CallPromotionUtils.cpp
1245986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CloneFunction.cpp
1246986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CloneModule.cpp
1247986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CodeExtractor.cpp
1248986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/CtorUtils.cpp
1249986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/DemoteRegToStack.cpp
125036cb3905SDimitry AndricSRCS_MIN+=	Transforms/Utils/EntryExitInstrumenter.cpp
125109bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/EscapeEnumerator.cpp
1252986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Evaluator.cpp
1253986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/FlattenCFG.cpp
125409bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/FunctionComparator.cpp
1255986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/FunctionImportUtils.cpp
1256986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/GlobalStatus.cpp
125709bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
1258986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/InlineFunction.cpp
1259986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/InstructionNamer.cpp
1260986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/IntegerDivision.cpp
1261986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LCSSA.cpp
126209bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/LibCallsShrinkWrap.cpp
1263986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Local.cpp
1264986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopSimplify.cpp
1265986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnroll.cpp
126609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollPeel.cpp
1267986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUnrollRuntime.cpp
1268986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopUtils.cpp
1269986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LoopVersioning.cpp
1270986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LowerInvoke.cpp
1271986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/LowerSwitch.cpp
1272986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/Mem2Reg.cpp
1273986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/MetaRenamer.cpp
1274986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ModuleUtils.cpp
127509bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/NameAnonGlobals.cpp
1276a580b014SDimitry AndricSRCS_MIN+=	Transforms/Utils/OrderedInstructions.cpp
12775897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Utils/PredicateInfo.cpp
1278986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/PromoteMemoryToRegister.cpp
1279986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SSAUpdater.cpp
1280986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SanitizerStats.cpp
1281986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyCFG.cpp
1282986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyIndVar.cpp
1283986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyInstructions.cpp
1284986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SimplifyLibCalls.cpp
1285986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SplitModule.cpp
128609bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/StripGCRelocates.cpp
128709bfd043SDimitry AndricSRCS_MIN+=	Transforms/Utils/StripNonLineTableDebugInfo.cpp
1288986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/SymbolRewriter.cpp
1289986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/UnifyFunctionExitNodes.cpp
1290986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Utils/Utils.cpp
12915897d2f0SDimitry AndricSRCS_MIN+=	Transforms/Utils/VNCoercion.cpp
1292986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Utils/ValueMapper.cpp
1293986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoadStoreVectorizer.cpp
1294986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/LoopVectorize.cpp
1295986e05bcSDimitry AndricSRCS_MIN+=	Transforms/Vectorize/SLPVectorizer.cpp
129636cb3905SDimitry AndricSRCS_MIN+=	Transforms/Vectorize/VPlan.cpp
1297986e05bcSDimitry AndricSRCS_EXT+=	Transforms/Vectorize/Vectorize.cpp
1298050e2df1SDimitry AndricSRCS_EXT+=	XRay/InstrumentationMap.cpp
1299986e05bcSDimitry Andric
1300986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_MIN}
1301*caf90252SBryan Drewery.if !defined(TOOLS_PREFIX) || ${MK_LLD_BOOTSTRAP} != "no"
130230d4828eSDimitry AndricSRCS_ALL+=	${SRCS_MIW}
130330d4828eSDimitry Andric.endif
1304986e05bcSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no"
1305986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_EXT}
1306986e05bcSDimitry Andric.endif
1307986e05bcSDimitry Andric.if ${MK_CLANG_FULL} != "no"
1308986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_FUL}
1309986e05bcSDimitry Andric.endif
131078187278SBryan Drewery.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLD} != "no" || \
131178187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
131275bc38b9SEd MasteSRCS_ALL+=	${SRCS_EXL}
131375bc38b9SEd Maste.endif
131478187278SBryan Drewery.if ${MK_LLD} != "no" || \
131578187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
13160fc5d238SDimitry AndricSRCS_ALL+=	${SRCS_LLD}
13170fc5d238SDimitry Andric.endif
1318986e05bcSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
1319986e05bcSDimitry AndricSRCS_ALL+=	${SRCS_XDB}
1320986e05bcSDimitry Andric.endif
132178187278SBryan Drewery.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || ${MK_LLD} != "no" || \
132278187278SBryan Drewery    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
132375bc38b9SEd MasteSRCS_ALL+=	${SRCS_XDL}
132475bc38b9SEd Maste.endif
132530d4828eSDimitry Andric.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || !defined(TOOLS_PREFIX)
132630d4828eSDimitry AndricSRCS_ALL+=	${SRCS_XDW}
132730d4828eSDimitry Andric.endif
1328986e05bcSDimitry AndricSRCS+=		${SRCS_ALL:O}
1329986e05bcSDimitry Andric
133009bfd043SDimitry Andricllvm/IR/Attributes.gen: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1331986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-attrs \
1332050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1333986e05bcSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Attributes.td
133409bfd043SDimitry AndricTGHDRS+=	llvm/IR/Attributes.gen
1335986e05bcSDimitry Andric
1336986e05bcSDimitry Andricllvm/IR/Intrinsics.gen: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1337986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-intrinsic \
1338050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1339986e05bcSDimitry Andric	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1340986e05bcSDimitry AndricTGHDRS+=	llvm/IR/Intrinsics.gen
1341986e05bcSDimitry Andric
1342986e05bcSDimitry AndricAttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1343986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-attrs \
1344050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1345986e05bcSDimitry Andric	    ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1346986e05bcSDimitry AndricTGHDRS+=	AttributesCompatFunc.inc
1347986e05bcSDimitry Andric
1348b40b48b8SDimitry Andricllvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1349986e05bcSDimitry Andric	${LLVM_TBLGEN} -gen-opt-parser-defs \
1350050e2df1SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
13515517e702SDimitry Andric	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1352b40b48b8SDimitry AndricTGHDRS+=	llvm-lib/Options.inc
1353b40b48b8SDimitry AndricCFLAGS.LibDriver.cpp+=	-I${.OBJDIR}/llvm-lib
1354b40b48b8SDimitry Andric
1355b40b48b8SDimitry Andricllvm-dlltool/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1356b40b48b8SDimitry Andric	${LLVM_TBLGEN} -gen-opt-parser-defs \
1357b40b48b8SDimitry Andric	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1358b40b48b8SDimitry Andric	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1359b40b48b8SDimitry AndricTGHDRS+=	llvm-dlltool/Options.inc
1360b40b48b8SDimitry AndricCFLAGS.DlltoolDriver.cpp+=	-I${.OBJDIR}/llvm-dlltool
1361986e05bcSDimitry Andric
1362cd283100SBryan Drewerybeforebuild:
1363cd283100SBryan Drewery# 20170724 remove stale Options.inc file, of which there are two different
136437cd60a3SDimitry Andric# versions after upstream r308421, one for llvm-lib, one for llvm-dlltool
1365cd283100SBryan Drewery.for f in Options.inc
1366cd283100SBryan Drewery.if exists(${f}) || exists(${f}.d)
1367cd283100SBryan Drewery	@echo Removing stale generated ${f} files
1368cd283100SBryan Drewery	@rm -f ${f} ${f}.d
1369cd283100SBryan Drewery.endif
1370cd283100SBryan Drewery.endfor
1371cd283100SBryan Drewery
1372986e05bcSDimitry Andric# Note: some rules are superfluous, not every combination is valid.
1373986e05bcSDimitry Andric.for arch in \
1374986e05bcSDimitry Andric	AArch64/AArch64 ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
1375986e05bcSDimitry Andric. for hdr in \
1376986e05bcSDimitry Andric	AsmMatcher/-gen-asm-matcher \
1377986e05bcSDimitry Andric	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
1378986e05bcSDimitry Andric	AsmWriter/-gen-asm-writer \
1379986e05bcSDimitry Andric	CallingConv/-gen-callingconv \
1380986e05bcSDimitry Andric	CodeEmitter/-gen-emitter \
1381986e05bcSDimitry Andric	DAGISel/-gen-dag-isel \
1382986e05bcSDimitry Andric	DisassemblerTables/-gen-disassembler \
13835897d2f0SDimitry Andric	EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \
1384986e05bcSDimitry Andric	FastISel/-gen-fast-isel \
13853d54deb3SDimitry Andric	GlobalISel/-gen-global-isel \
1386986e05bcSDimitry Andric	InstrInfo/-gen-instr-info \
1387986e05bcSDimitry Andric	MCCodeEmitter/-gen-emitter \
1388986e05bcSDimitry Andric	MCPseudoLowering/-gen-pseudo-lowering \
13895897d2f0SDimitry Andric	RegisterBank/-gen-register-bank \
1390986e05bcSDimitry Andric	RegisterInfo/-gen-register-info \
1391986e05bcSDimitry Andric	SubtargetInfo/-gen-subtarget \
139236cb3905SDimitry Andric	SystemOperands/-gen-searchable-tables \
139336cb3905SDimitry Andric	SystemRegister/-gen-searchable-tables
1394986e05bcSDimitry Andric${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1395986e05bcSDimitry Andric	${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
1396986e05bcSDimitry Andric	    -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
1397050e2df1SDimitry Andric	    -d ${.TARGET}.d -o ${.TARGET} \
1398986e05bcSDimitry Andric	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1399986e05bcSDimitry Andric. endfor
1400986e05bcSDimitry Andric.endfor
1401cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_AARCH64} != "no"
1402986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmMatcher.inc
1403986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmWriter.inc
1404986e05bcSDimitry AndricTGHDRS+=	AArch64GenAsmWriter1.inc
1405986e05bcSDimitry AndricTGHDRS+=	AArch64GenCallingConv.inc
1406986e05bcSDimitry AndricTGHDRS+=	AArch64GenDAGISel.inc
1407986e05bcSDimitry AndricTGHDRS+=	AArch64GenDisassemblerTables.inc
1408986e05bcSDimitry AndricTGHDRS+=	AArch64GenFastISel.inc
14093d54deb3SDimitry AndricTGHDRS+=	AArch64GenGlobalISel.inc
1410986e05bcSDimitry AndricTGHDRS+=	AArch64GenInstrInfo.inc
1411986e05bcSDimitry AndricTGHDRS+=	AArch64GenMCCodeEmitter.inc
1412986e05bcSDimitry AndricTGHDRS+=	AArch64GenMCPseudoLowering.inc
14135897d2f0SDimitry AndricTGHDRS+=	AArch64GenRegisterBank.inc
1414986e05bcSDimitry AndricTGHDRS+=	AArch64GenRegisterInfo.inc
1415986e05bcSDimitry AndricTGHDRS+=	AArch64GenSubtargetInfo.inc
1416986e05bcSDimitry AndricTGHDRS+=	AArch64GenSystemOperands.inc
1417cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_AARCH64
1418cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_ARM} != "no"
1419986e05bcSDimitry AndricTGHDRS+=	ARMGenAsmMatcher.inc
1420986e05bcSDimitry AndricTGHDRS+=	ARMGenAsmWriter.inc
1421986e05bcSDimitry AndricTGHDRS+=	ARMGenCallingConv.inc
1422986e05bcSDimitry AndricTGHDRS+=	ARMGenDAGISel.inc
1423986e05bcSDimitry AndricTGHDRS+=	ARMGenDisassemblerTables.inc
1424986e05bcSDimitry AndricTGHDRS+=	ARMGenFastISel.inc
14253d54deb3SDimitry AndricTGHDRS+=	ARMGenGlobalISel.inc
1426986e05bcSDimitry AndricTGHDRS+=	ARMGenInstrInfo.inc
1427986e05bcSDimitry AndricTGHDRS+=	ARMGenMCCodeEmitter.inc
1428986e05bcSDimitry AndricTGHDRS+=	ARMGenMCPseudoLowering.inc
14295897d2f0SDimitry AndricTGHDRS+=	ARMGenRegisterBank.inc
1430986e05bcSDimitry AndricTGHDRS+=	ARMGenRegisterInfo.inc
1431986e05bcSDimitry AndricTGHDRS+=	ARMGenSubtargetInfo.inc
143236cb3905SDimitry AndricTGHDRS+=	ARMGenSystemRegister.inc
1433cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_ARM
1434cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_MIPS} != "no"
1435986e05bcSDimitry AndricTGHDRS+=	MipsGenAsmMatcher.inc
1436986e05bcSDimitry AndricTGHDRS+=	MipsGenAsmWriter.inc
1437986e05bcSDimitry AndricTGHDRS+=	MipsGenCallingConv.inc
1438986e05bcSDimitry AndricTGHDRS+=	MipsGenDAGISel.inc
1439986e05bcSDimitry AndricTGHDRS+=	MipsGenDisassemblerTables.inc
1440986e05bcSDimitry AndricTGHDRS+=	MipsGenFastISel.inc
1441986e05bcSDimitry AndricTGHDRS+=	MipsGenInstrInfo.inc
1442986e05bcSDimitry AndricTGHDRS+=	MipsGenMCCodeEmitter.inc
1443986e05bcSDimitry AndricTGHDRS+=	MipsGenMCPseudoLowering.inc
1444986e05bcSDimitry AndricTGHDRS+=	MipsGenRegisterInfo.inc
1445986e05bcSDimitry AndricTGHDRS+=	MipsGenSubtargetInfo.inc
1446cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_MIPS
1447cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_POWERPC} != "no"
1448986e05bcSDimitry AndricTGHDRS+=	PPCGenAsmMatcher.inc
1449986e05bcSDimitry AndricTGHDRS+=	PPCGenAsmWriter.inc
1450986e05bcSDimitry AndricTGHDRS+=	PPCGenCallingConv.inc
1451986e05bcSDimitry AndricTGHDRS+=	PPCGenDAGISel.inc
1452986e05bcSDimitry AndricTGHDRS+=	PPCGenDisassemblerTables.inc
1453986e05bcSDimitry AndricTGHDRS+=	PPCGenFastISel.inc
1454986e05bcSDimitry AndricTGHDRS+=	PPCGenInstrInfo.inc
1455986e05bcSDimitry AndricTGHDRS+=	PPCGenMCCodeEmitter.inc
1456986e05bcSDimitry AndricTGHDRS+=	PPCGenRegisterInfo.inc
1457986e05bcSDimitry AndricTGHDRS+=	PPCGenSubtargetInfo.inc
1458cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_POWERPC
1459cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_SPARC} != "no"
1460986e05bcSDimitry AndricTGHDRS+=	SparcGenAsmMatcher.inc
1461986e05bcSDimitry AndricTGHDRS+=	SparcGenAsmWriter.inc
1462986e05bcSDimitry AndricTGHDRS+=	SparcGenCallingConv.inc
1463986e05bcSDimitry AndricTGHDRS+=	SparcGenDAGISel.inc
1464986e05bcSDimitry AndricTGHDRS+=	SparcGenDisassemblerTables.inc
1465986e05bcSDimitry AndricTGHDRS+=	SparcGenInstrInfo.inc
1466986e05bcSDimitry AndricTGHDRS+=	SparcGenMCCodeEmitter.inc
1467986e05bcSDimitry AndricTGHDRS+=	SparcGenRegisterInfo.inc
1468986e05bcSDimitry AndricTGHDRS+=	SparcGenSubtargetInfo.inc
1469cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_SPARC
1470cbafd263SDimitry Andric.if ${MK_LLVM_TARGET_X86} != "no"
1471986e05bcSDimitry AndricTGHDRS+=	X86GenAsmMatcher.inc
1472986e05bcSDimitry AndricTGHDRS+=	X86GenAsmWriter.inc
1473986e05bcSDimitry AndricTGHDRS+=	X86GenAsmWriter1.inc
1474986e05bcSDimitry AndricTGHDRS+=	X86GenCallingConv.inc
1475986e05bcSDimitry AndricTGHDRS+=	X86GenDAGISel.inc
1476986e05bcSDimitry AndricTGHDRS+=	X86GenDisassemblerTables.inc
14775897d2f0SDimitry AndricTGHDRS+=	X86GenEVEX2VEXTables.inc
1478986e05bcSDimitry AndricTGHDRS+=	X86GenFastISel.inc
14793d54deb3SDimitry AndricTGHDRS+=	X86GenGlobalISel.inc
1480986e05bcSDimitry AndricTGHDRS+=	X86GenInstrInfo.inc
14815897d2f0SDimitry AndricTGHDRS+=	X86GenRegisterBank.inc
1482986e05bcSDimitry AndricTGHDRS+=	X86GenRegisterInfo.inc
1483986e05bcSDimitry AndricTGHDRS+=	X86GenSubtargetInfo.inc
1484cbafd263SDimitry Andric.endif # MK_LLVM_TARGET_X86
1485986e05bcSDimitry Andric
1486ddf95e2aSBryan DreweryDEPENDFILES+=	${TGHDRS:C/$/.d/}
1487986e05bcSDimitry AndricDPSRCS+=	${TGHDRS}
1488986e05bcSDimitry AndricCLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1489986e05bcSDimitry Andric
1490986e05bcSDimitry Andric.include "../llvm.build.mk"
1491986e05bcSDimitry Andric.include <bsd.lib.mk>
1492