xref: /freebsd/lib/clang/libllvm/Makefile (revision 3496c981ac86b0541bdbc9a211f7847a97df008d)
1# $FreeBSD$
2
3.include <src.opts.mk>
4.include "../llvm.pre.mk"
5
6LIB=		llvm
7INTERNALLIB=
8
9CFLAGS+=	-I${.OBJDIR}
10
11.if ${MK_LLVM_TARGET_AARCH64} == "no" && ${MK_LLVM_TARGET_ARM} == "no" && \
12    ${MK_LLVM_TARGET_MIPS} == "no" && ${MK_LLVM_TARGET_POWERPC} == "no" && \
13    ${MK_LLVM_TARGET_SPARC} == "no" && ${MK_LLVM_TARGET_X86} == "no"
14.error Please enable at least one of: MK_LLVM_TARGET_AARCH64,\
15 MK_LLVM_TARGET_ARM, MK_LLVM_TARGET_MIPS, MK_LLVM_TARGET_POWERPC,\
16 MK_LLVM_TARGET_SPARC, or MK_LLVM_TARGET_X86
17.endif
18
19.for arch in AArch64 ARM Mips PowerPC Sparc X86
20. if ${MK_LLVM_TARGET_${arch:tu}} != "no"
21CFLAGS+=	-I${LLVM_SRCS}/lib/Target/${arch}
22. endif
23.endfor
24
25SRCDIR=		lib
26
27SRCS_MIN+=	Analysis/AliasAnalysis.cpp
28SRCS_MIN+=	Analysis/AliasAnalysisEvaluator.cpp
29SRCS_MIN+=	Analysis/AliasAnalysisSummary.cpp
30SRCS_MIN+=	Analysis/AliasSetTracker.cpp
31SRCS_EXT+=	Analysis/Analysis.cpp
32SRCS_MIN+=	Analysis/AssumptionCache.cpp
33SRCS_MIN+=	Analysis/BasicAliasAnalysis.cpp
34SRCS_MIN+=	Analysis/BlockFrequencyInfo.cpp
35SRCS_MIN+=	Analysis/BlockFrequencyInfoImpl.cpp
36SRCS_MIN+=	Analysis/BranchProbabilityInfo.cpp
37SRCS_MIN+=	Analysis/CFG.cpp
38SRCS_MIN+=	Analysis/CFGPrinter.cpp
39SRCS_MIN+=	Analysis/CFLAndersAliasAnalysis.cpp
40SRCS_MIN+=	Analysis/CFLSteensAliasAnalysis.cpp
41SRCS_MIN+=	Analysis/CGSCCPassManager.cpp
42SRCS_MIN+=	Analysis/CallGraph.cpp
43SRCS_MIN+=	Analysis/CallGraphSCCPass.cpp
44SRCS_MIN+=	Analysis/CallPrinter.cpp
45SRCS_MIN+=	Analysis/CaptureTracking.cpp
46SRCS_MIN+=	Analysis/CmpInstAnalysis.cpp
47SRCS_MIN+=	Analysis/CodeMetrics.cpp
48SRCS_MIN+=	Analysis/ConstantFolding.cpp
49SRCS_MIN+=	Analysis/CostModel.cpp
50SRCS_MIN+=	Analysis/Delinearization.cpp
51SRCS_MIN+=	Analysis/DemandedBits.cpp
52SRCS_MIN+=	Analysis/DependenceAnalysis.cpp
53SRCS_MIN+=	Analysis/DivergenceAnalysis.cpp
54SRCS_MIN+=	Analysis/DomPrinter.cpp
55SRCS_MIN+=	Analysis/DominanceFrontier.cpp
56SRCS_MIN+=	Analysis/EHPersonalities.cpp
57SRCS_MIN+=	Analysis/GlobalsModRef.cpp
58SRCS_MIN+=	Analysis/IVUsers.cpp
59SRCS_MIN+=	Analysis/IndirectCallPromotionAnalysis.cpp
60SRCS_MIN+=	Analysis/InlineCost.cpp
61SRCS_MIN+=	Analysis/InstCount.cpp
62SRCS_MIN+=	Analysis/InstructionSimplify.cpp
63SRCS_MIN+=	Analysis/Interval.cpp
64SRCS_MIN+=	Analysis/IntervalPartition.cpp
65SRCS_MIN+=	Analysis/IteratedDominanceFrontier.cpp
66SRCS_MIN+=	Analysis/LazyBlockFrequencyInfo.cpp
67SRCS_MIN+=	Analysis/LazyBranchProbabilityInfo.cpp
68SRCS_MIN+=	Analysis/LazyCallGraph.cpp
69SRCS_MIN+=	Analysis/LazyValueInfo.cpp
70SRCS_MIN+=	Analysis/Lint.cpp
71SRCS_MIN+=	Analysis/Loads.cpp
72SRCS_MIN+=	Analysis/LoopAccessAnalysis.cpp
73SRCS_MIN+=	Analysis/LoopAnalysisManager.cpp
74SRCS_MIN+=	Analysis/LoopInfo.cpp
75SRCS_MIN+=	Analysis/LoopPass.cpp
76SRCS_MIN+=	Analysis/LoopUnrollAnalyzer.cpp
77SRCS_MIN+=	Analysis/MemDepPrinter.cpp
78SRCS_MIN+=	Analysis/MemDerefPrinter.cpp
79SRCS_MIN+=	Analysis/MemoryBuiltins.cpp
80SRCS_MIN+=	Analysis/MemoryDependenceAnalysis.cpp
81SRCS_MIN+=	Analysis/MemoryLocation.cpp
82SRCS_MIN+=	Analysis/MemorySSA.cpp
83SRCS_MIN+=	Analysis/MemorySSAUpdater.cpp
84SRCS_MIN+=	Analysis/ModuleDebugInfoPrinter.cpp
85SRCS_MIN+=	Analysis/ModuleSummaryAnalysis.cpp
86SRCS_MIN+=	Analysis/ObjCARCAliasAnalysis.cpp
87SRCS_MIN+=	Analysis/ObjCARCAnalysisUtils.cpp
88SRCS_MIN+=	Analysis/ObjCARCInstKind.cpp
89SRCS_MIN+=	Analysis/OptimizationRemarkEmitter.cpp
90SRCS_MIN+=	Analysis/OrderedBasicBlock.cpp
91SRCS_MIN+=	Analysis/PHITransAddr.cpp
92SRCS_MIN+=	Analysis/PostDominators.cpp
93SRCS_MIN+=	Analysis/ProfileSummaryInfo.cpp
94SRCS_MIN+=	Analysis/PtrUseVisitor.cpp
95SRCS_MIN+=	Analysis/RegionInfo.cpp
96SRCS_MIN+=	Analysis/RegionPass.cpp
97SRCS_MIN+=	Analysis/RegionPrinter.cpp
98SRCS_MIN+=	Analysis/ScalarEvolution.cpp
99SRCS_MIN+=	Analysis/ScalarEvolutionAliasAnalysis.cpp
100SRCS_MIN+=	Analysis/ScalarEvolutionExpander.cpp
101SRCS_MIN+=	Analysis/ScalarEvolutionNormalization.cpp
102SRCS_MIN+=	Analysis/ScopedNoAliasAA.cpp
103SRCS_MIN+=	Analysis/TargetLibraryInfo.cpp
104SRCS_MIN+=	Analysis/TargetTransformInfo.cpp
105SRCS_MIN+=	Analysis/Trace.cpp
106SRCS_MIN+=	Analysis/TypeBasedAliasAnalysis.cpp
107SRCS_MIN+=	Analysis/TypeMetadataUtils.cpp
108SRCS_MIN+=	Analysis/ValueLattice.cpp
109SRCS_MIN+=	Analysis/ValueLatticeUtils.cpp
110SRCS_MIN+=	Analysis/ValueTracking.cpp
111SRCS_MIN+=	Analysis/VectorUtils.cpp
112SRCS_MIN+=	AsmParser/LLLexer.cpp
113SRCS_MIN+=	AsmParser/LLParser.cpp
114SRCS_MIN+=	AsmParser/Parser.cpp
115SRCS_MIN+=	BinaryFormat/Dwarf.cpp
116SRCS_MIN+=	BinaryFormat/Magic.cpp
117SRCS_MIN+=	Bitcode/Reader/BitReader.cpp
118SRCS_MIN+=	Bitcode/Reader/BitcodeReader.cpp
119SRCS_MIN+=	Bitcode/Reader/BitstreamReader.cpp
120SRCS_MIN+=	Bitcode/Reader/MetadataLoader.cpp
121SRCS_MIN+=	Bitcode/Reader/ValueList.cpp
122SRCS_MIN+=	Bitcode/Writer/BitWriter.cpp
123SRCS_MIN+=	Bitcode/Writer/BitcodeWriter.cpp
124SRCS_MIN+=	Bitcode/Writer/BitcodeWriterPass.cpp
125SRCS_MIN+=	Bitcode/Writer/ValueEnumerator.cpp
126SRCS_MIN+=	CodeGen/AggressiveAntiDepBreaker.cpp
127SRCS_MIN+=	CodeGen/AllocationOrder.cpp
128SRCS_MIN+=	CodeGen/Analysis.cpp
129SRCS_MIN+=	CodeGen/AsmPrinter/ARMException.cpp
130SRCS_MIN+=	CodeGen/AsmPrinter/AddressPool.cpp
131SRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinter.cpp
132SRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
133SRCS_MIN+=	CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
134SRCS_MIN+=	CodeGen/AsmPrinter/CodeViewDebug.cpp
135SRCS_MIN+=	CodeGen/AsmPrinter/DIE.cpp
136SRCS_MIN+=	CodeGen/AsmPrinter/DIEHash.cpp
137SRCS_MIN+=	CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
138SRCS_MIN+=	CodeGen/AsmPrinter/DebugHandlerBase.cpp
139SRCS_MIN+=	CodeGen/AsmPrinter/DebugLocStream.cpp
140SRCS_MIN+=	CodeGen/AsmPrinter/DwarfAccelTable.cpp
141SRCS_MIN+=	CodeGen/AsmPrinter/DwarfCFIException.cpp
142SRCS_MIN+=	CodeGen/AsmPrinter/DwarfCompileUnit.cpp
143SRCS_MIN+=	CodeGen/AsmPrinter/DwarfDebug.cpp
144SRCS_MIN+=	CodeGen/AsmPrinter/DwarfExpression.cpp
145SRCS_MIN+=	CodeGen/AsmPrinter/DwarfFile.cpp
146SRCS_MIN+=	CodeGen/AsmPrinter/DwarfStringPool.cpp
147SRCS_MIN+=	CodeGen/AsmPrinter/DwarfUnit.cpp
148SRCS_MIN+=	CodeGen/AsmPrinter/EHStreamer.cpp
149SRCS_MIN+=	CodeGen/AsmPrinter/ErlangGCPrinter.cpp
150SRCS_MIN+=	CodeGen/AsmPrinter/OcamlGCPrinter.cpp
151SRCS_MIN+=	CodeGen/AsmPrinter/WinException.cpp
152SRCS_MIN+=	CodeGen/AtomicExpandPass.cpp
153SRCS_MIN+=	CodeGen/BasicTargetTransformInfo.cpp
154SRCS_MIN+=	CodeGen/BranchFolding.cpp
155SRCS_MIN+=	CodeGen/BranchRelaxation.cpp
156SRCS_MIN+=	CodeGen/BuiltinGCs.cpp
157SRCS_MIN+=	CodeGen/CalcSpillWeights.cpp
158SRCS_MIN+=	CodeGen/CallingConvLower.cpp
159SRCS_MIN+=	CodeGen/CodeGen.cpp
160SRCS_MIN+=	CodeGen/CodeGenPrepare.cpp
161SRCS_MIN+=	CodeGen/CriticalAntiDepBreaker.cpp
162SRCS_MIN+=	CodeGen/DFAPacketizer.cpp
163SRCS_MIN+=	CodeGen/DeadMachineInstructionElim.cpp
164SRCS_MIN+=	CodeGen/DetectDeadLanes.cpp
165SRCS_MIN+=	CodeGen/DwarfEHPrepare.cpp
166SRCS_MIN+=	CodeGen/EarlyIfConversion.cpp
167SRCS_MIN+=	CodeGen/EdgeBundles.cpp
168SRCS_MIN+=	CodeGen/ExecutionDepsFix.cpp
169SRCS_MIN+=	CodeGen/ExpandISelPseudos.cpp
170SRCS_MIN+=	CodeGen/ExpandMemCmp.cpp
171SRCS_MIN+=	CodeGen/ExpandPostRAPseudos.cpp
172SRCS_MIN+=	CodeGen/ExpandReductions.cpp
173SRCS_MIN+=	CodeGen/FEntryInserter.cpp
174SRCS_MIN+=	CodeGen/FaultMaps.cpp
175SRCS_MIN+=	CodeGen/FuncletLayout.cpp
176SRCS_MIN+=	CodeGen/GCMetadata.cpp
177SRCS_MIN+=	CodeGen/GCMetadataPrinter.cpp
178SRCS_MIN+=	CodeGen/GCRootLowering.cpp
179SRCS_MIN+=	CodeGen/GCStrategy.cpp
180SRCS_MIN+=	CodeGen/GlobalISel/CallLowering.cpp
181SRCS_MIN+=	CodeGen/GlobalISel/GlobalISel.cpp
182SRCS_MIN+=	CodeGen/GlobalISel/IRTranslator.cpp
183SRCS_MIN+=	CodeGen/GlobalISel/InstructionSelect.cpp
184SRCS_MIN+=	CodeGen/GlobalISel/InstructionSelector.cpp
185SRCS_MIN+=	CodeGen/GlobalISel/Legalizer.cpp
186SRCS_MIN+=	CodeGen/GlobalISel/LegalizerHelper.cpp
187SRCS_MIN+=	CodeGen/GlobalISel/LegalizerInfo.cpp
188SRCS_MIN+=	CodeGen/GlobalISel/Localizer.cpp
189SRCS_MIN+=	CodeGen/GlobalISel/MachineIRBuilder.cpp
190SRCS_MIN+=	CodeGen/GlobalISel/RegBankSelect.cpp
191SRCS_MIN+=	CodeGen/GlobalISel/RegisterBank.cpp
192SRCS_MIN+=	CodeGen/GlobalISel/RegisterBankInfo.cpp
193SRCS_MIN+=	CodeGen/GlobalISel/Utils.cpp
194SRCS_MIN+=	CodeGen/GlobalMerge.cpp
195SRCS_MIN+=	CodeGen/IfConversion.cpp
196SRCS_MIN+=	CodeGen/ImplicitNullChecks.cpp
197SRCS_MIN+=	CodeGen/IndirectBrExpandPass.cpp
198SRCS_MIN+=	CodeGen/InlineSpiller.cpp
199SRCS_MIN+=	CodeGen/InterferenceCache.cpp
200SRCS_MIN+=	CodeGen/InterleavedAccessPass.cpp
201SRCS_MIN+=	CodeGen/IntrinsicLowering.cpp
202SRCS_MIN+=	CodeGen/LLVMTargetMachine.cpp
203SRCS_MIN+=	CodeGen/LatencyPriorityQueue.cpp
204SRCS_MIN+=	CodeGen/LazyMachineBlockFrequencyInfo.cpp
205SRCS_MIN+=	CodeGen/LexicalScopes.cpp
206SRCS_MIN+=	CodeGen/LiveDebugValues.cpp
207SRCS_MIN+=	CodeGen/LiveDebugVariables.cpp
208SRCS_MIN+=	CodeGen/LiveInterval.cpp
209SRCS_MIN+=	CodeGen/LiveIntervalUnion.cpp
210SRCS_MIN+=	CodeGen/LiveIntervals.cpp
211SRCS_MIN+=	CodeGen/LivePhysRegs.cpp
212SRCS_MIN+=	CodeGen/LiveRangeCalc.cpp
213SRCS_MIN+=	CodeGen/LiveRangeEdit.cpp
214SRCS_MIN+=	CodeGen/LiveRangeShrink.cpp
215SRCS_MIN+=	CodeGen/LiveRegMatrix.cpp
216SRCS_MIN+=	CodeGen/LiveRegUnits.cpp
217SRCS_MIN+=	CodeGen/LiveStacks.cpp
218SRCS_MIN+=	CodeGen/LiveVariables.cpp
219SRCS_MIN+=	CodeGen/LocalStackSlotAllocation.cpp
220SRCS_MIN+=	CodeGen/LowLevelType.cpp
221SRCS_MIN+=	CodeGen/LowerEmuTLS.cpp
222SRCS_MIN+=	CodeGen/MIRCanonicalizerPass.cpp
223SRCS_EXT+=	CodeGen/MIRParser/MILexer.cpp
224SRCS_EXT+=	CodeGen/MIRParser/MIParser.cpp
225SRCS_EXT+=	CodeGen/MIRParser/MIRParser.cpp
226SRCS_MIN+=	CodeGen/MIRPrinter.cpp
227SRCS_MIN+=	CodeGen/MIRPrintingPass.cpp
228SRCS_MIN+=	CodeGen/MachineBasicBlock.cpp
229SRCS_MIN+=	CodeGen/MachineBlockFrequencyInfo.cpp
230SRCS_MIN+=	CodeGen/MachineBlockPlacement.cpp
231SRCS_MIN+=	CodeGen/MachineBranchProbabilityInfo.cpp
232SRCS_MIN+=	CodeGen/MachineCSE.cpp
233SRCS_MIN+=	CodeGen/MachineCombiner.cpp
234SRCS_MIN+=	CodeGen/MachineCopyPropagation.cpp
235SRCS_MIN+=	CodeGen/MachineDominanceFrontier.cpp
236SRCS_MIN+=	CodeGen/MachineDominators.cpp
237SRCS_MIN+=	CodeGen/MachineFrameInfo.cpp
238SRCS_MIN+=	CodeGen/MachineFunction.cpp
239SRCS_MIN+=	CodeGen/MachineFunctionPass.cpp
240SRCS_MIN+=	CodeGen/MachineFunctionPrinterPass.cpp
241SRCS_MIN+=	CodeGen/MachineInstr.cpp
242SRCS_MIN+=	CodeGen/MachineInstrBundle.cpp
243SRCS_MIN+=	CodeGen/MachineLICM.cpp
244SRCS_MIN+=	CodeGen/MachineLoopInfo.cpp
245SRCS_MIN+=	CodeGen/MachineModuleInfo.cpp
246SRCS_MIN+=	CodeGen/MachineModuleInfoImpls.cpp
247SRCS_MIN+=	CodeGen/MachineOperand.cpp
248SRCS_MIN+=	CodeGen/MachineOptimizationRemarkEmitter.cpp
249SRCS_MIN+=	CodeGen/MachineOutliner.cpp
250SRCS_MIN+=	CodeGen/MachinePassRegistry.cpp
251SRCS_MIN+=	CodeGen/MachinePipeliner.cpp
252SRCS_MIN+=	CodeGen/MachinePostDominators.cpp
253SRCS_MIN+=	CodeGen/MachineRegionInfo.cpp
254SRCS_MIN+=	CodeGen/MachineRegisterInfo.cpp
255SRCS_MIN+=	CodeGen/MachineSSAUpdater.cpp
256SRCS_MIN+=	CodeGen/MachineScheduler.cpp
257SRCS_MIN+=	CodeGen/MachineSink.cpp
258SRCS_MIN+=	CodeGen/MachineTraceMetrics.cpp
259SRCS_MIN+=	CodeGen/MachineVerifier.cpp
260SRCS_MIN+=	CodeGen/MacroFusion.cpp
261SRCS_MIN+=	CodeGen/OptimizePHIs.cpp
262SRCS_MIN+=	CodeGen/PHIElimination.cpp
263SRCS_MIN+=	CodeGen/PHIEliminationUtils.cpp
264SRCS_MIN+=	CodeGen/ParallelCG.cpp
265SRCS_MIN+=	CodeGen/PatchableFunction.cpp
266SRCS_MIN+=	CodeGen/PeepholeOptimizer.cpp
267SRCS_MIN+=	CodeGen/PostRAHazardRecognizer.cpp
268SRCS_MIN+=	CodeGen/PostRASchedulerList.cpp
269SRCS_MIN+=	CodeGen/PreISelIntrinsicLowering.cpp
270SRCS_MIN+=	CodeGen/ProcessImplicitDefs.cpp
271SRCS_MIN+=	CodeGen/PrologEpilogInserter.cpp
272SRCS_MIN+=	CodeGen/PseudoSourceValue.cpp
273SRCS_MIN+=	CodeGen/RegAllocBase.cpp
274SRCS_MIN+=	CodeGen/RegAllocBasic.cpp
275SRCS_MIN+=	CodeGen/RegAllocFast.cpp
276SRCS_MIN+=	CodeGen/RegAllocGreedy.cpp
277SRCS_MIN+=	CodeGen/RegAllocPBQP.cpp
278SRCS_MIN+=	CodeGen/RegUsageInfoCollector.cpp
279SRCS_MIN+=	CodeGen/RegUsageInfoPropagate.cpp
280SRCS_MIN+=	CodeGen/RegisterClassInfo.cpp
281SRCS_MIN+=	CodeGen/RegisterCoalescer.cpp
282SRCS_MIN+=	CodeGen/RegisterPressure.cpp
283SRCS_MIN+=	CodeGen/RegisterScavenging.cpp
284SRCS_MIN+=	CodeGen/RegisterUsageInfo.cpp
285SRCS_MIN+=	CodeGen/RenameIndependentSubregs.cpp
286SRCS_MIN+=	CodeGen/ResetMachineFunctionPass.cpp
287SRCS_MIN+=	CodeGen/SafeStack.cpp
288SRCS_MIN+=	CodeGen/SafeStackColoring.cpp
289SRCS_MIN+=	CodeGen/SafeStackLayout.cpp
290SRCS_MIN+=	CodeGen/ScalarizeMaskedMemIntrin.cpp
291SRCS_MIN+=	CodeGen/ScheduleDAG.cpp
292SRCS_MIN+=	CodeGen/ScheduleDAGInstrs.cpp
293SRCS_MIN+=	CodeGen/ScheduleDAGPrinter.cpp
294SRCS_MIN+=	CodeGen/ScoreboardHazardRecognizer.cpp
295SRCS_MIN+=	CodeGen/SelectionDAG/DAGCombiner.cpp
296SRCS_MIN+=	CodeGen/SelectionDAG/FastISel.cpp
297SRCS_MIN+=	CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
298SRCS_MIN+=	CodeGen/SelectionDAG/InstrEmitter.cpp
299SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeDAG.cpp
300SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
301SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
302SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypes.cpp
303SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
304SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorOps.cpp
305SRCS_MIN+=	CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
306SRCS_MIN+=	CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
307SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGFast.cpp
308SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
309SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
310SRCS_MIN+=	CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
311SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAG.cpp
312SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
313SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
314SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGDumper.cpp
315SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGISel.cpp
316SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
317SRCS_MIN+=	CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
318SRCS_MIN+=	CodeGen/SelectionDAG/StatepointLowering.cpp
319SRCS_MIN+=	CodeGen/SelectionDAG/TargetLowering.cpp
320SRCS_MIN+=	CodeGen/ShadowStackGCLowering.cpp
321SRCS_MIN+=	CodeGen/ShrinkWrap.cpp
322SRCS_MIN+=	CodeGen/SjLjEHPrepare.cpp
323SRCS_MIN+=	CodeGen/SlotIndexes.cpp
324SRCS_MIN+=	CodeGen/SpillPlacement.cpp
325SRCS_MIN+=	CodeGen/SplitKit.cpp
326SRCS_MIN+=	CodeGen/StackColoring.cpp
327SRCS_MIN+=	CodeGen/StackMapLivenessAnalysis.cpp
328SRCS_MIN+=	CodeGen/StackMaps.cpp
329SRCS_MIN+=	CodeGen/StackProtector.cpp
330SRCS_MIN+=	CodeGen/StackSlotColoring.cpp
331SRCS_MIN+=	CodeGen/TailDuplication.cpp
332SRCS_MIN+=	CodeGen/TailDuplicator.cpp
333SRCS_MIN+=	CodeGen/TargetFrameLoweringImpl.cpp
334SRCS_MIN+=	CodeGen/TargetInstrInfo.cpp
335SRCS_MIN+=	CodeGen/TargetLoweringBase.cpp
336SRCS_MIN+=	CodeGen/TargetLoweringObjectFileImpl.cpp
337SRCS_MIN+=	CodeGen/TargetOptionsImpl.cpp
338SRCS_MIN+=	CodeGen/TargetPassConfig.cpp
339SRCS_MIN+=	CodeGen/TargetRegisterInfo.cpp
340SRCS_MIN+=	CodeGen/TargetSchedule.cpp
341SRCS_MIN+=	CodeGen/TargetSubtargetInfo.cpp
342SRCS_MIN+=	CodeGen/TwoAddressInstructionPass.cpp
343SRCS_MIN+=	CodeGen/UnreachableBlockElim.cpp
344SRCS_MIN+=	CodeGen/VirtRegMap.cpp
345SRCS_MIN+=	CodeGen/WinEHPrepare.cpp
346SRCS_MIN+=	CodeGen/XRayInstrumentation.cpp
347SRCS_EXT+=	DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
348SRCS_MIN+=	DebugInfo/CodeView/CVSymbolVisitor.cpp
349SRCS_MIN+=	DebugInfo/CodeView/CVTypeVisitor.cpp
350SRCS_MIN+=	DebugInfo/CodeView/CodeViewError.cpp
351SRCS_MIN+=	DebugInfo/CodeView/CodeViewRecordIO.cpp
352SRCS_MIN+=	DebugInfo/CodeView/ContinuationRecordBuilder.cpp
353SRCS_EXT+=	DebugInfo/CodeView/DebugChecksumsSubsection.cpp
354SRCS_EXT+=	DebugInfo/CodeView/DebugCrossExSubsection.cpp
355SRCS_EXT+=	DebugInfo/CodeView/DebugCrossImpSubsection.cpp
356SRCS_EXT+=	DebugInfo/CodeView/DebugFrameDataSubsection.cpp
357SRCS_EXT+=	DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
358SRCS_EXT+=	DebugInfo/CodeView/DebugLinesSubsection.cpp
359SRCS_EXT+=	DebugInfo/CodeView/DebugStringTableSubsection.cpp
360SRCS_EXT+=	DebugInfo/CodeView/DebugSubsection.cpp
361SRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionRecord.cpp
362SRCS_EXT+=	DebugInfo/CodeView/DebugSubsectionVisitor.cpp
363SRCS_EXT+=	DebugInfo/CodeView/DebugSymbolRVASubsection.cpp
364SRCS_EXT+=	DebugInfo/CodeView/DebugSymbolsSubsection.cpp
365SRCS_EXT+=	DebugInfo/CodeView/EnumTables.cpp
366SRCS_MIN+=	DebugInfo/CodeView/Formatters.cpp
367SRCS_MIN+=	DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
368SRCS_EXT+=	DebugInfo/CodeView/LazyRandomTypeCollection.cpp
369SRCS_MIN+=	DebugInfo/CodeView/Line.cpp
370SRCS_EXT+=	DebugInfo/CodeView/MergingTypeTableBuilder.cpp
371SRCS_MIN+=	DebugInfo/CodeView/RecordName.cpp
372SRCS_MIN+=	DebugInfo/CodeView/RecordSerialization.cpp
373SRCS_MIN+=	DebugInfo/CodeView/SimpleTypeSerializer.cpp
374SRCS_EXT+=	DebugInfo/CodeView/StringsAndChecksums.cpp
375SRCS_MIN+=	DebugInfo/CodeView/SymbolDumper.cpp
376SRCS_MIN+=	DebugInfo/CodeView/SymbolRecordMapping.cpp
377SRCS_EXT+=	DebugInfo/CodeView/SymbolSerializer.cpp
378SRCS_MIN+=	DebugInfo/CodeView/TypeDumpVisitor.cpp
379SRCS_MIN+=	DebugInfo/CodeView/TypeHashing.cpp
380SRCS_MIN+=	DebugInfo/CodeView/TypeIndex.cpp
381SRCS_MIN+=	DebugInfo/CodeView/TypeIndexDiscovery.cpp
382SRCS_MIN+=	DebugInfo/CodeView/TypeRecordMapping.cpp
383SRCS_MIN+=	DebugInfo/CodeView/TypeStreamMerger.cpp
384SRCS_MIN+=	DebugInfo/CodeView/TypeTableCollection.cpp
385SRCS_MIW+=	DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
386SRCS_MIW+=	DebugInfo/DWARF/DWARFAcceleratorTable.cpp
387SRCS_MIW+=	DebugInfo/DWARF/DWARFCompileUnit.cpp
388SRCS_MIW+=	DebugInfo/DWARF/DWARFContext.cpp
389SRCS_MIW+=	DebugInfo/DWARF/DWARFDataExtractor.cpp
390SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAbbrev.cpp
391SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugArangeSet.cpp
392SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugAranges.cpp
393SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugFrame.cpp
394SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
395SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLine.cpp
396SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugLoc.cpp
397SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugMacro.cpp
398SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugPubTable.cpp
399SRCS_MIW+=	DebugInfo/DWARF/DWARFDebugRangeList.cpp
400SRCS_MIW+=	DebugInfo/DWARF/DWARFDie.cpp
401SRCS_MIW+=	DebugInfo/DWARF/DWARFExpression.cpp
402SRCS_MIW+=	DebugInfo/DWARF/DWARFFormValue.cpp
403SRCS_MIW+=	DebugInfo/DWARF/DWARFGdbIndex.cpp
404SRCS_MIW+=	DebugInfo/DWARF/DWARFTypeUnit.cpp
405SRCS_MIW+=	DebugInfo/DWARF/DWARFUnit.cpp
406SRCS_MIW+=	DebugInfo/DWARF/DWARFUnitIndex.cpp
407SRCS_MIW+=	DebugInfo/DWARF/DWARFVerifier.cpp
408SRCS_MIW+=	DebugInfo/DWARF/SyntaxHighlighting.cpp
409SRCS_MIN+=	DebugInfo/MSF/MSFBuilder.cpp
410SRCS_MIN+=	DebugInfo/MSF/MSFCommon.cpp
411SRCS_MIN+=	DebugInfo/MSF/MSFError.cpp
412SRCS_MIN+=	DebugInfo/MSF/MappedBlockStream.cpp
413SRCS_EXT+=	DebugInfo/PDB/GenericError.cpp
414SRCS_EXT+=	DebugInfo/PDB/IPDBSourceFile.cpp
415SRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
416SRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
417SRCS_EXT+=	DebugInfo/PDB/Native/DbiModuleList.cpp
418SRCS_EXT+=	DebugInfo/PDB/Native/DbiStream.cpp
419SRCS_EXT+=	DebugInfo/PDB/Native/DbiStreamBuilder.cpp
420SRCS_EXT+=	DebugInfo/PDB/Native/EnumTables.cpp
421SRCS_EXT+=	DebugInfo/PDB/Native/GSIStreamBuilder.cpp
422SRCS_EXT+=	DebugInfo/PDB/Native/GlobalsStream.cpp
423SRCS_EXT+=	DebugInfo/PDB/Native/Hash.cpp
424SRCS_EXT+=	DebugInfo/PDB/Native/HashTable.cpp
425SRCS_EXT+=	DebugInfo/PDB/Native/InfoStream.cpp
426SRCS_EXT+=	DebugInfo/PDB/Native/InfoStreamBuilder.cpp
427SRCS_EXT+=	DebugInfo/PDB/Native/ModuleDebugStream.cpp
428SRCS_EXT+=	DebugInfo/PDB/Native/NamedStreamMap.cpp
429SRCS_EXT+=	DebugInfo/PDB/Native/NativeBuiltinSymbol.cpp
430SRCS_EXT+=	DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
431SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumModules.cpp
432SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumSymbol.cpp
433SRCS_EXT+=	DebugInfo/PDB/Native/NativeEnumTypes.cpp
434SRCS_EXT+=	DebugInfo/PDB/Native/NativeExeSymbol.cpp
435SRCS_EXT+=	DebugInfo/PDB/Native/NativeRawSymbol.cpp
436SRCS_EXT+=	DebugInfo/PDB/Native/NativeSession.cpp
437SRCS_EXT+=	DebugInfo/PDB/Native/PDBFile.cpp
438SRCS_EXT+=	DebugInfo/PDB/Native/PDBFileBuilder.cpp
439SRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTable.cpp
440SRCS_EXT+=	DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
441SRCS_EXT+=	DebugInfo/PDB/Native/PublicsStream.cpp
442SRCS_EXT+=	DebugInfo/PDB/Native/RawError.cpp
443SRCS_EXT+=	DebugInfo/PDB/Native/SymbolStream.cpp
444SRCS_EXT+=	DebugInfo/PDB/Native/TpiHashing.cpp
445SRCS_EXT+=	DebugInfo/PDB/Native/TpiStream.cpp
446SRCS_EXT+=	DebugInfo/PDB/Native/TpiStreamBuilder.cpp
447SRCS_EXT+=	DebugInfo/PDB/PDB.cpp
448SRCS_EXT+=	DebugInfo/PDB/PDBContext.cpp
449SRCS_EXT+=	DebugInfo/PDB/PDBExtras.cpp
450SRCS_EXT+=	DebugInfo/PDB/PDBInterfaceAnchors.cpp
451SRCS_EXT+=	DebugInfo/PDB/PDBSymDumper.cpp
452SRCS_EXT+=	DebugInfo/PDB/PDBSymbol.cpp
453SRCS_EXT+=	DebugInfo/PDB/PDBSymbolAnnotation.cpp
454SRCS_EXT+=	DebugInfo/PDB/PDBSymbolBlock.cpp
455SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompiland.cpp
456SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandDetails.cpp
457SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCompilandEnv.cpp
458SRCS_EXT+=	DebugInfo/PDB/PDBSymbolCustom.cpp
459SRCS_EXT+=	DebugInfo/PDB/PDBSymbolData.cpp
460SRCS_EXT+=	DebugInfo/PDB/PDBSymbolExe.cpp
461SRCS_EXT+=	DebugInfo/PDB/PDBSymbolFunc.cpp
462SRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp
463SRCS_EXT+=	DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp
464SRCS_EXT+=	DebugInfo/PDB/PDBSymbolLabel.cpp
465SRCS_EXT+=	DebugInfo/PDB/PDBSymbolPublicSymbol.cpp
466SRCS_EXT+=	DebugInfo/PDB/PDBSymbolThunk.cpp
467SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeArray.cpp
468SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp
469SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp
470SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeCustom.cpp
471SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeDimension.cpp
472SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeEnum.cpp
473SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFriend.cpp
474SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp
475SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
476SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeManaged.cpp
477SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypePointer.cpp
478SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeTypedef.cpp
479SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeUDT.cpp
480SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTable.cpp
481SRCS_EXT+=	DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp
482SRCS_EXT+=	DebugInfo/PDB/PDBSymbolUnknown.cpp
483SRCS_EXT+=	DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
484SRCS_EXT+=	DebugInfo/PDB/UDTLayout.cpp
485SRCS_EXT+=	DebugInfo/Symbolize/DIPrinter.cpp
486SRCS_MIW+=	DebugInfo/Symbolize/SymbolizableObjectFile.cpp
487SRCS_MIW+=	DebugInfo/Symbolize/Symbolize.cpp
488SRCS_MIN+=	Demangle/ItaniumDemangle.cpp
489SRCS_XDB+=	ExecutionEngine/ExecutionEngine.cpp
490SRCS_XDB+=	ExecutionEngine/ExecutionEngineBindings.cpp
491SRCS_XDB+=	ExecutionEngine/GDBRegistrationListener.cpp
492SRCS_XDB+=	ExecutionEngine/Interpreter/Execution.cpp
493SRCS_XDB+=	ExecutionEngine/Interpreter/ExternalFunctions.cpp
494SRCS_XDB+=	ExecutionEngine/Interpreter/Interpreter.cpp
495SRCS_XDB+=	ExecutionEngine/MCJIT/MCJIT.cpp
496SRCS_EXT+=	ExecutionEngine/Orc/ExecutionUtils.cpp
497SRCS_EXT+=	ExecutionEngine/Orc/IndirectionUtils.cpp
498SRCS_EXT+=	ExecutionEngine/Orc/NullResolver.cpp
499SRCS_EXT+=	ExecutionEngine/Orc/OrcABISupport.cpp
500SRCS_EXT+=	ExecutionEngine/Orc/OrcCBindings.cpp
501SRCS_EXT+=	ExecutionEngine/Orc/OrcError.cpp
502SRCS_EXT+=	ExecutionEngine/Orc/OrcMCJITReplacement.cpp
503SRCS_EXT+=	ExecutionEngine/Orc/RPCUtils.cpp
504SRCS_XDB+=	ExecutionEngine/RuntimeDyld/JITSymbol.cpp
505SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
506SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
507SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
508SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
509SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
510SRCS_XDB+=	ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
511SRCS_XDB+=	ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
512SRCS_XDB+=	ExecutionEngine/SectionMemoryManager.cpp
513SRCS_XDB+=	ExecutionEngine/TargetSelect.cpp
514SRCS_MIN+=	IR/AsmWriter.cpp
515SRCS_MIN+=	IR/Attributes.cpp
516SRCS_MIN+=	IR/AutoUpgrade.cpp
517SRCS_MIN+=	IR/BasicBlock.cpp
518SRCS_MIN+=	IR/Comdat.cpp
519SRCS_MIN+=	IR/ConstantFold.cpp
520SRCS_MIN+=	IR/ConstantRange.cpp
521SRCS_MIN+=	IR/Constants.cpp
522SRCS_MIN+=	IR/Core.cpp
523SRCS_MIN+=	IR/DIBuilder.cpp
524SRCS_MIN+=	IR/DataLayout.cpp
525SRCS_MIN+=	IR/DebugInfo.cpp
526SRCS_MIN+=	IR/DebugInfoMetadata.cpp
527SRCS_MIN+=	IR/DebugLoc.cpp
528SRCS_MIN+=	IR/DiagnosticHandler.cpp
529SRCS_MIN+=	IR/DiagnosticInfo.cpp
530SRCS_MIN+=	IR/DiagnosticPrinter.cpp
531SRCS_MIN+=	IR/Dominators.cpp
532SRCS_MIN+=	IR/Function.cpp
533SRCS_MIN+=	IR/GVMaterializer.cpp
534SRCS_MIN+=	IR/Globals.cpp
535SRCS_MIN+=	IR/IRBuilder.cpp
536SRCS_MIN+=	IR/IRPrintingPasses.cpp
537SRCS_MIN+=	IR/InlineAsm.cpp
538SRCS_MIN+=	IR/Instruction.cpp
539SRCS_MIN+=	IR/Instructions.cpp
540SRCS_MIN+=	IR/IntrinsicInst.cpp
541SRCS_MIN+=	IR/LLVMContext.cpp
542SRCS_MIN+=	IR/LLVMContextImpl.cpp
543SRCS_MIN+=	IR/LegacyPassManager.cpp
544SRCS_MIN+=	IR/MDBuilder.cpp
545SRCS_MIN+=	IR/Mangler.cpp
546SRCS_MIN+=	IR/Metadata.cpp
547SRCS_MIN+=	IR/Module.cpp
548SRCS_MIN+=	IR/ModuleSummaryIndex.cpp
549SRCS_MIN+=	IR/Operator.cpp
550SRCS_MIN+=	IR/OptBisect.cpp
551SRCS_MIN+=	IR/Pass.cpp
552SRCS_MIN+=	IR/PassManager.cpp
553SRCS_MIN+=	IR/PassRegistry.cpp
554SRCS_MIN+=	IR/ProfileSummary.cpp
555SRCS_MIN+=	IR/SafepointIRVerifier.cpp
556SRCS_MIN+=	IR/Statepoint.cpp
557SRCS_MIN+=	IR/Type.cpp
558SRCS_MIN+=	IR/TypeFinder.cpp
559SRCS_MIN+=	IR/Use.cpp
560SRCS_MIN+=	IR/User.cpp
561SRCS_MIN+=	IR/Value.cpp
562SRCS_MIN+=	IR/ValueSymbolTable.cpp
563SRCS_MIN+=	IR/ValueTypes.cpp
564SRCS_MIN+=	IR/Verifier.cpp
565SRCS_MIN+=	IRReader/IRReader.cpp
566SRCS_EXL+=	LTO/Caching.cpp
567SRCS_MIN+=	LTO/LTO.cpp
568SRCS_MIN+=	LTO/LTOBackend.cpp
569SRCS_EXL+=	LTO/LTOCodeGenerator.cpp
570SRCS_EXL+=	LTO/LTOModule.cpp
571SRCS_EXL+=	LTO/ThinLTOCodeGenerator.cpp
572SRCS_MIN+=	LTO/UpdateCompilerUsed.cpp
573SRCS_MIN+=	LineEditor/LineEditor.cpp
574SRCS_MIN+=	Linker/IRMover.cpp
575SRCS_MIN+=	Linker/LinkModules.cpp
576SRCS_MIN+=	MC/ConstantPools.cpp
577SRCS_MIN+=	MC/ELFObjectWriter.cpp
578SRCS_MIN+=	MC/MCAsmBackend.cpp
579SRCS_MIN+=	MC/MCAsmInfo.cpp
580SRCS_MIN+=	MC/MCAsmInfoCOFF.cpp
581SRCS_MIN+=	MC/MCAsmInfoDarwin.cpp
582SRCS_MIN+=	MC/MCAsmInfoELF.cpp
583SRCS_MIN+=	MC/MCAsmStreamer.cpp
584SRCS_MIN+=	MC/MCAssembler.cpp
585SRCS_MIN+=	MC/MCCodeEmitter.cpp
586SRCS_MIN+=	MC/MCCodePadder.cpp
587SRCS_MIN+=	MC/MCCodeView.cpp
588SRCS_MIN+=	MC/MCContext.cpp
589SRCS_XDL+=	MC/MCDisassembler/Disassembler.cpp
590SRCS_XDW+=	MC/MCDisassembler/MCDisassembler.cpp
591SRCS_XDW+=	MC/MCDisassembler/MCExternalSymbolizer.cpp
592SRCS_MIN+=	MC/MCDisassembler/MCRelocationInfo.cpp
593SRCS_XDW+=	MC/MCDisassembler/MCSymbolizer.cpp
594SRCS_MIN+=	MC/MCDwarf.cpp
595SRCS_MIN+=	MC/MCELFObjectTargetWriter.cpp
596SRCS_MIN+=	MC/MCELFStreamer.cpp
597SRCS_MIN+=	MC/MCExpr.cpp
598SRCS_MIN+=	MC/MCFragment.cpp
599SRCS_MIN+=	MC/MCInst.cpp
600SRCS_MIN+=	MC/MCInstPrinter.cpp
601SRCS_MIN+=	MC/MCInstrAnalysis.cpp
602SRCS_MIN+=	MC/MCInstrDesc.cpp
603SRCS_MIN+=	MC/MCLinkerOptimizationHint.cpp
604SRCS_MIN+=	MC/MCMachOStreamer.cpp
605SRCS_MIN+=	MC/MCMachObjectTargetWriter.cpp
606SRCS_MIN+=	MC/MCNullStreamer.cpp
607SRCS_MIN+=	MC/MCObjectFileInfo.cpp
608SRCS_MIN+=	MC/MCObjectStreamer.cpp
609SRCS_MIN+=	MC/MCObjectWriter.cpp
610SRCS_MIN+=	MC/MCParser/AsmLexer.cpp
611SRCS_MIN+=	MC/MCParser/AsmParser.cpp
612SRCS_MIN+=	MC/MCParser/COFFAsmParser.cpp
613SRCS_MIN+=	MC/MCParser/DarwinAsmParser.cpp
614SRCS_MIN+=	MC/MCParser/ELFAsmParser.cpp
615SRCS_MIN+=	MC/MCParser/MCAsmLexer.cpp
616SRCS_MIN+=	MC/MCParser/MCAsmParser.cpp
617SRCS_MIN+=	MC/MCParser/MCAsmParserExtension.cpp
618SRCS_MIN+=	MC/MCParser/MCTargetAsmParser.cpp
619SRCS_MIN+=	MC/MCRegisterInfo.cpp
620SRCS_MIN+=	MC/MCSchedule.cpp
621SRCS_MIN+=	MC/MCSection.cpp
622SRCS_MIN+=	MC/MCSectionCOFF.cpp
623SRCS_MIN+=	MC/MCSectionELF.cpp
624SRCS_MIN+=	MC/MCSectionMachO.cpp
625SRCS_MIN+=	MC/MCSectionWasm.cpp
626SRCS_MIN+=	MC/MCStreamer.cpp
627SRCS_MIN+=	MC/MCSubtargetInfo.cpp
628SRCS_MIN+=	MC/MCSymbol.cpp
629SRCS_MIN+=	MC/MCSymbolELF.cpp
630SRCS_MIN+=	MC/MCTargetOptions.cpp
631SRCS_MIN+=	MC/MCValue.cpp
632SRCS_MIN+=	MC/MCWasmStreamer.cpp
633SRCS_MIN+=	MC/MCWin64EH.cpp
634SRCS_MIN+=	MC/MCWinCOFFStreamer.cpp
635SRCS_MIN+=	MC/MCWinEH.cpp
636SRCS_MIN+=	MC/MachObjectWriter.cpp
637SRCS_MIN+=	MC/StringTableBuilder.cpp
638SRCS_MIN+=	MC/SubtargetFeature.cpp
639SRCS_MIN+=	MC/WinCOFFObjectWriter.cpp
640SRCS_MIN+=	Object/Archive.cpp
641SRCS_MIN+=	Object/ArchiveWriter.cpp
642SRCS_MIN+=	Object/Binary.cpp
643SRCS_EXT+=	Object/COFFImportFile.cpp
644SRCS_EXT+=	Object/COFFModuleDefinition.cpp
645SRCS_MIN+=	Object/COFFObjectFile.cpp
646SRCS_MIN+=	Object/Decompressor.cpp
647SRCS_MIN+=	Object/ELF.cpp
648SRCS_MIN+=	Object/ELFObjectFile.cpp
649SRCS_MIN+=	Object/Error.cpp
650SRCS_MIN+=	Object/IRObjectFile.cpp
651SRCS_MIN+=	Object/IRSymtab.cpp
652SRCS_MIN+=	Object/MachOObjectFile.cpp
653SRCS_MIN+=	Object/MachOUniversal.cpp
654SRCS_MIN+=	Object/ModuleSymbolTable.cpp
655SRCS_EXT+=	Object/Object.cpp
656SRCS_MIN+=	Object/ObjectFile.cpp
657SRCS_MIN+=	Object/RecordStreamer.cpp
658SRCS_MIW+=	Object/SymbolSize.cpp
659SRCS_MIN+=	Object/SymbolicFile.cpp
660SRCS_MIN+=	Object/WasmObjectFile.cpp
661SRCS_MIN+=	Object/WindowsResource.cpp
662SRCS_MIN+=	ObjectYAML/COFFYAML.cpp
663SRCS_EXT+=	ObjectYAML/CodeViewYAMLDebugSections.cpp
664SRCS_EXT+=	ObjectYAML/CodeViewYAMLSymbols.cpp
665SRCS_EXT+=	ObjectYAML/CodeViewYAMLTypes.cpp
666SRCS_MIN+=	ObjectYAML/DWARFYAML.cpp
667SRCS_MIN+=	ObjectYAML/ELFYAML.cpp
668SRCS_MIN+=	ObjectYAML/MachOYAML.cpp
669SRCS_EXT+=	ObjectYAML/YAML.cpp
670SRCS_MIN+=	Option/Arg.cpp
671SRCS_MIN+=	Option/ArgList.cpp
672SRCS_MIN+=	Option/OptTable.cpp
673SRCS_MIN+=	Option/Option.cpp
674SRCS_MIN+=	Passes/PassBuilder.cpp
675SRCS_MIN+=	ProfileData/Coverage/CoverageMapping.cpp
676SRCS_MIN+=	ProfileData/Coverage/CoverageMappingReader.cpp
677SRCS_MIN+=	ProfileData/Coverage/CoverageMappingWriter.cpp
678SRCS_MIN+=	ProfileData/GCOV.cpp
679SRCS_MIN+=	ProfileData/InstrProf.cpp
680SRCS_MIN+=	ProfileData/InstrProfReader.cpp
681SRCS_MIN+=	ProfileData/InstrProfWriter.cpp
682SRCS_MIN+=	ProfileData/ProfileSummaryBuilder.cpp
683SRCS_MIN+=	ProfileData/SampleProf.cpp
684SRCS_MIN+=	ProfileData/SampleProfReader.cpp
685SRCS_EXT+=	ProfileData/SampleProfWriter.cpp
686SRCS_MIN+=	Support/APFloat.cpp
687SRCS_MIN+=	Support/APInt.cpp
688SRCS_MIN+=	Support/APSInt.cpp
689SRCS_MIN+=	Support/ARMAttributeParser.cpp
690SRCS_MIN+=	Support/ARMBuildAttrs.cpp
691SRCS_MIN+=	Support/Allocator.cpp
692SRCS_MIN+=	Support/Atomic.cpp
693SRCS_MIN+=	Support/BinaryStreamError.cpp
694SRCS_MIN+=	Support/BinaryStreamReader.cpp
695SRCS_MIN+=	Support/BinaryStreamRef.cpp
696SRCS_MIN+=	Support/BinaryStreamWriter.cpp
697SRCS_MIN+=	Support/BlockFrequency.cpp
698SRCS_MIN+=	Support/BranchProbability.cpp
699SRCS_EXT+=	Support/COM.cpp
700SRCS_MIN+=	Support/CachePruning.cpp
701SRCS_MIN+=	Support/Chrono.cpp
702SRCS_MIN+=	Support/CodeGenCoverage.cpp
703SRCS_MIN+=	Support/CommandLine.cpp
704SRCS_MIN+=	Support/Compression.cpp
705SRCS_MIN+=	Support/ConvertUTF.cpp
706SRCS_MIN+=	Support/ConvertUTFWrapper.cpp
707SRCS_MIN+=	Support/CrashRecoveryContext.cpp
708SRCS_MIN+=	Support/DAGDeltaAlgorithm.cpp
709SRCS_MIN+=	Support/DataExtractor.cpp
710SRCS_MIN+=	Support/Debug.cpp
711SRCS_MIN+=	Support/DebugCounter.cpp
712SRCS_MIN+=	Support/DeltaAlgorithm.cpp
713SRCS_MIN+=	Support/DynamicLibrary.cpp
714SRCS_MIN+=	Support/Errno.cpp
715SRCS_MIN+=	Support/Error.cpp
716SRCS_MIN+=	Support/ErrorHandling.cpp
717SRCS_EXL+=	Support/FileOutputBuffer.cpp
718SRCS_EXT+=	Support/FileUtilities.cpp
719SRCS_MIN+=	Support/FoldingSet.cpp
720SRCS_MIN+=	Support/FormatVariadic.cpp
721SRCS_MIN+=	Support/FormattedStream.cpp
722SRCS_MIN+=	Support/GlobPattern.cpp
723SRCS_MIN+=	Support/GraphWriter.cpp
724SRCS_MIN+=	Support/Hashing.cpp
725SRCS_MIN+=	Support/Host.cpp
726SRCS_MIN+=	Support/IntEqClasses.cpp
727SRCS_MIN+=	Support/IntervalMap.cpp
728SRCS_MIN+=	Support/JamCRC.cpp
729SRCS_MIN+=	Support/KnownBits.cpp
730SRCS_MIN+=	Support/LEB128.cpp
731SRCS_MIN+=	Support/LineIterator.cpp
732SRCS_MIN+=	Support/Locale.cpp
733SRCS_MIN+=	Support/LockFileManager.cpp
734SRCS_MIN+=	Support/LowLevelType.cpp
735SRCS_MIN+=	Support/MD5.cpp
736SRCS_MIN+=	Support/ManagedStatic.cpp
737SRCS_MIN+=	Support/MathExtras.cpp
738SRCS_XDL+=	Support/Memory.cpp
739SRCS_MIN+=	Support/MemoryBuffer.cpp
740SRCS_MIN+=	Support/Mutex.cpp
741SRCS_MIN+=	Support/NativeFormatting.cpp
742SRCS_MIN+=	Support/Options.cpp
743SRCS_LLD+=	Support/Parallel.cpp
744SRCS_MIN+=	Support/Path.cpp
745SRCS_MIN+=	Support/PluginLoader.cpp
746SRCS_MIN+=	Support/PrettyStackTrace.cpp
747SRCS_MIN+=	Support/Process.cpp
748SRCS_MIN+=	Support/Program.cpp
749SRCS_MIN+=	Support/RWMutex.cpp
750SRCS_MIN+=	Support/RandomNumberGenerator.cpp
751SRCS_MIN+=	Support/Regex.cpp
752SRCS_MIN+=	Support/SHA1.cpp
753SRCS_MIN+=	Support/ScaledNumber.cpp
754SRCS_MIN+=	Support/ScopedPrinter.cpp
755SRCS_MIN+=	Support/Signals.cpp
756SRCS_MIN+=	Support/SmallPtrSet.cpp
757SRCS_MIN+=	Support/SmallVector.cpp
758SRCS_MIN+=	Support/SourceMgr.cpp
759SRCS_MIN+=	Support/SpecialCaseList.cpp
760SRCS_MIN+=	Support/Statistic.cpp
761SRCS_MIN+=	Support/StringExtras.cpp
762SRCS_MIN+=	Support/StringMap.cpp
763SRCS_MIN+=	Support/StringRef.cpp
764SRCS_MIN+=	Support/StringSaver.cpp
765SRCS_EXT+=	Support/SystemUtils.cpp
766SRCS_LLD+=	Support/TarWriter.cpp
767SRCS_MIN+=	Support/TargetParser.cpp
768SRCS_MIN+=	Support/TargetRegistry.cpp
769SRCS_MIN+=	Support/ThreadLocal.cpp
770SRCS_MIN+=	Support/ThreadPool.cpp
771SRCS_MIN+=	Support/Threading.cpp
772SRCS_MIN+=	Support/Timer.cpp
773SRCS_MIN+=	Support/ToolOutputFile.cpp
774SRCS_MIN+=	Support/TrigramIndex.cpp
775SRCS_MIN+=	Support/Triple.cpp
776SRCS_MIN+=	Support/Twine.cpp
777SRCS_MIN+=	Support/Unicode.cpp
778SRCS_MIN+=	Support/Valgrind.cpp
779SRCS_MIN+=	Support/YAMLParser.cpp
780SRCS_MIN+=	Support/YAMLTraits.cpp
781SRCS_MIN+=	Support/circular_raw_ostream.cpp
782SRCS_MIN+=	Support/raw_os_ostream.cpp
783SRCS_MIN+=	Support/raw_ostream.cpp
784SRCS_MIN+=	Support/regcomp.c
785SRCS_MIN+=	Support/regerror.c
786SRCS_MIN+=	Support/regexec.c
787SRCS_MIN+=	Support/regfree.c
788SRCS_MIN+=	Support/regstrlcpy.c
789SRCS_LLD+=	Support/xxhash.cpp
790SRCS_MIN+=	TableGen/Error.cpp
791SRCS_MIN+=	TableGen/Main.cpp
792SRCS_MIN+=	TableGen/Record.cpp
793SRCS_MIN+=	TableGen/SetTheory.cpp
794SRCS_MIN+=	TableGen/StringMatcher.cpp
795SRCS_MIN+=	TableGen/TGLexer.cpp
796SRCS_MIN+=	TableGen/TGParser.cpp
797SRCS_MIN+=	TableGen/TableGenBackend.cpp
798.if ${MK_LLVM_TARGET_AARCH64} != "no"
799SRCS_MIN+=	Target/AArch64/AArch64A53Fix835769.cpp
800SRCS_MIN+=	Target/AArch64/AArch64A57FPLoadBalancing.cpp
801SRCS_MIN+=	Target/AArch64/AArch64AdvSIMDScalarPass.cpp
802SRCS_MIN+=	Target/AArch64/AArch64AsmPrinter.cpp
803SRCS_MIN+=	Target/AArch64/AArch64CallLowering.cpp
804SRCS_MIN+=	Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
805SRCS_MIN+=	Target/AArch64/AArch64CollectLOH.cpp
806SRCS_MIN+=	Target/AArch64/AArch64CondBrTuning.cpp
807SRCS_MIN+=	Target/AArch64/AArch64ConditionOptimizer.cpp
808SRCS_MIN+=	Target/AArch64/AArch64ConditionalCompares.cpp
809SRCS_MIN+=	Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
810SRCS_MIN+=	Target/AArch64/AArch64ExpandPseudoInsts.cpp
811SRCS_MIN+=	Target/AArch64/AArch64FalkorHWPFFix.cpp
812SRCS_MIN+=	Target/AArch64/AArch64FastISel.cpp
813SRCS_MIN+=	Target/AArch64/AArch64FrameLowering.cpp
814SRCS_MIN+=	Target/AArch64/AArch64ISelDAGToDAG.cpp
815SRCS_MIN+=	Target/AArch64/AArch64ISelLowering.cpp
816SRCS_MIN+=	Target/AArch64/AArch64InstrInfo.cpp
817SRCS_MIN+=	Target/AArch64/AArch64InstructionSelector.cpp
818SRCS_MIN+=	Target/AArch64/AArch64LegalizerInfo.cpp
819SRCS_MIN+=	Target/AArch64/AArch64LoadStoreOptimizer.cpp
820SRCS_MIN+=	Target/AArch64/AArch64MCInstLower.cpp
821SRCS_MIN+=	Target/AArch64/AArch64MacroFusion.cpp
822SRCS_MIN+=	Target/AArch64/AArch64PBQPRegAlloc.cpp
823SRCS_MIN+=	Target/AArch64/AArch64PromoteConstant.cpp
824SRCS_MIN+=	Target/AArch64/AArch64RedundantCopyElimination.cpp
825SRCS_MIN+=	Target/AArch64/AArch64RegisterBankInfo.cpp
826SRCS_MIN+=	Target/AArch64/AArch64RegisterInfo.cpp
827SRCS_MIN+=	Target/AArch64/AArch64SIMDInstrOpt.cpp
828SRCS_MIN+=	Target/AArch64/AArch64SelectionDAGInfo.cpp
829SRCS_MIN+=	Target/AArch64/AArch64StorePairSuppress.cpp
830SRCS_MIN+=	Target/AArch64/AArch64Subtarget.cpp
831SRCS_MIN+=	Target/AArch64/AArch64TargetMachine.cpp
832SRCS_MIN+=	Target/AArch64/AArch64TargetObjectFile.cpp
833SRCS_MIN+=	Target/AArch64/AArch64TargetTransformInfo.cpp
834SRCS_MIN+=	Target/AArch64/AsmParser/AArch64AsmParser.cpp
835SRCS_XDW+=	Target/AArch64/Disassembler/AArch64Disassembler.cpp
836SRCS_XDW+=	Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
837SRCS_MIN+=	Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
838SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
839SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
840SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
841SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
842SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
843SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
844SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
845SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
846SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
847SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
848SRCS_MIN+=	Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
849SRCS_MIN+=	Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
850SRCS_MIN+=	Target/AArch64/Utils/AArch64BaseInfo.cpp
851.endif # MK_LLVM_TARGET_AARCH64
852.if ${MK_LLVM_TARGET_ARM} != "no"
853SRCS_MIN+=	Target/ARM/A15SDOptimizer.cpp
854SRCS_MIN+=	Target/ARM/ARMAsmPrinter.cpp
855SRCS_MIN+=	Target/ARM/ARMBaseInstrInfo.cpp
856SRCS_MIN+=	Target/ARM/ARMBaseRegisterInfo.cpp
857SRCS_MIN+=	Target/ARM/ARMCallLowering.cpp
858SRCS_MIN+=	Target/ARM/ARMComputeBlockSize.cpp
859SRCS_MIN+=	Target/ARM/ARMConstantIslandPass.cpp
860SRCS_MIN+=	Target/ARM/ARMConstantPoolValue.cpp
861SRCS_MIN+=	Target/ARM/ARMExpandPseudoInsts.cpp
862SRCS_MIN+=	Target/ARM/ARMFastISel.cpp
863SRCS_MIN+=	Target/ARM/ARMFrameLowering.cpp
864SRCS_MIN+=	Target/ARM/ARMHazardRecognizer.cpp
865SRCS_MIN+=	Target/ARM/ARMISelDAGToDAG.cpp
866SRCS_MIN+=	Target/ARM/ARMISelLowering.cpp
867SRCS_MIN+=	Target/ARM/ARMInstrInfo.cpp
868SRCS_MIN+=	Target/ARM/ARMInstructionSelector.cpp
869SRCS_MIN+=	Target/ARM/ARMLegalizerInfo.cpp
870SRCS_MIN+=	Target/ARM/ARMLoadStoreOptimizer.cpp
871SRCS_MIN+=	Target/ARM/ARMMCInstLower.cpp
872SRCS_MIN+=	Target/ARM/ARMMachineFunctionInfo.cpp
873SRCS_MIN+=	Target/ARM/ARMMacroFusion.cpp
874SRCS_MIN+=	Target/ARM/ARMOptimizeBarriersPass.cpp
875SRCS_MIN+=	Target/ARM/ARMRegisterBankInfo.cpp
876SRCS_MIN+=	Target/ARM/ARMRegisterInfo.cpp
877SRCS_MIN+=	Target/ARM/ARMSelectionDAGInfo.cpp
878SRCS_MIN+=	Target/ARM/ARMSubtarget.cpp
879SRCS_MIN+=	Target/ARM/ARMTargetMachine.cpp
880SRCS_MIN+=	Target/ARM/ARMTargetObjectFile.cpp
881SRCS_MIN+=	Target/ARM/ARMTargetTransformInfo.cpp
882SRCS_MIN+=	Target/ARM/AsmParser/ARMAsmParser.cpp
883SRCS_MIN+=	Target/ARM/Disassembler/ARMDisassembler.cpp
884SRCS_MIN+=	Target/ARM/InstPrinter/ARMInstPrinter.cpp
885SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
886SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
887SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
888SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
889SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
890SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCExpr.cpp
891SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
892SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
893SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
894SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
895SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
896SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
897SRCS_MIN+=	Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
898SRCS_MIN+=	Target/ARM/MLxExpansionPass.cpp
899SRCS_MIN+=	Target/ARM/TargetInfo/ARMTargetInfo.cpp
900SRCS_MIN+=	Target/ARM/Thumb1FrameLowering.cpp
901SRCS_MIN+=	Target/ARM/Thumb1InstrInfo.cpp
902SRCS_MIN+=	Target/ARM/Thumb2ITBlockPass.cpp
903SRCS_MIN+=	Target/ARM/Thumb2InstrInfo.cpp
904SRCS_MIN+=	Target/ARM/Thumb2SizeReduction.cpp
905SRCS_MIN+=	Target/ARM/ThumbRegisterInfo.cpp
906SRCS_MIN+=	Target/ARM/Utils/ARMBaseInfo.cpp
907.endif # MK_LLVM_TARGET_ARM
908.if ${MK_LLVM_TARGET_MIPS} != "no"
909SRCS_MIN+=	Target/Mips/AsmParser/MipsAsmParser.cpp
910SRCS_XDW+=	Target/Mips/Disassembler/MipsDisassembler.cpp
911SRCS_MIN+=	Target/Mips/InstPrinter/MipsInstPrinter.cpp
912SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
913SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsABIInfo.cpp
914SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
915SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
916SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
917SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
918SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
919SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCExpr.cpp
920SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
921SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
922SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
923SRCS_MIN+=	Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
924SRCS_MIN+=	Target/Mips/MicroMipsSizeReduction.cpp
925SRCS_MIN+=	Target/Mips/Mips16FrameLowering.cpp
926SRCS_MIN+=	Target/Mips/Mips16HardFloat.cpp
927SRCS_MIN+=	Target/Mips/Mips16HardFloatInfo.cpp
928SRCS_MIN+=	Target/Mips/Mips16ISelDAGToDAG.cpp
929SRCS_MIN+=	Target/Mips/Mips16ISelLowering.cpp
930SRCS_MIN+=	Target/Mips/Mips16InstrInfo.cpp
931SRCS_MIN+=	Target/Mips/Mips16RegisterInfo.cpp
932SRCS_MIN+=	Target/Mips/MipsAnalyzeImmediate.cpp
933SRCS_MIN+=	Target/Mips/MipsAsmPrinter.cpp
934SRCS_MIN+=	Target/Mips/MipsCCState.cpp
935SRCS_MIN+=	Target/Mips/MipsConstantIslandPass.cpp
936SRCS_MIN+=	Target/Mips/MipsDelaySlotFiller.cpp
937SRCS_MIN+=	Target/Mips/MipsFastISel.cpp
938SRCS_MIN+=	Target/Mips/MipsFrameLowering.cpp
939SRCS_MIN+=	Target/Mips/MipsHazardSchedule.cpp
940SRCS_MIN+=	Target/Mips/MipsISelDAGToDAG.cpp
941SRCS_MIN+=	Target/Mips/MipsISelLowering.cpp
942SRCS_MIN+=	Target/Mips/MipsInstrInfo.cpp
943SRCS_MIN+=	Target/Mips/MipsLongBranch.cpp
944SRCS_MIN+=	Target/Mips/MipsMCInstLower.cpp
945SRCS_MIN+=	Target/Mips/MipsMachineFunction.cpp
946SRCS_MIN+=	Target/Mips/MipsModuleISelDAGToDAG.cpp
947SRCS_MIN+=	Target/Mips/MipsOptimizePICCall.cpp
948SRCS_MIN+=	Target/Mips/MipsOs16.cpp
949SRCS_MIN+=	Target/Mips/MipsRegisterInfo.cpp
950SRCS_MIN+=	Target/Mips/MipsSEFrameLowering.cpp
951SRCS_MIN+=	Target/Mips/MipsSEISelDAGToDAG.cpp
952SRCS_MIN+=	Target/Mips/MipsSEISelLowering.cpp
953SRCS_MIN+=	Target/Mips/MipsSEInstrInfo.cpp
954SRCS_MIN+=	Target/Mips/MipsSERegisterInfo.cpp
955SRCS_MIN+=	Target/Mips/MipsSubtarget.cpp
956SRCS_MIN+=	Target/Mips/MipsTargetMachine.cpp
957SRCS_MIN+=	Target/Mips/MipsTargetObjectFile.cpp
958SRCS_MIN+=	Target/Mips/TargetInfo/MipsTargetInfo.cpp
959.endif # MK_LLVM_TARGET_MIPS
960.if ${MK_LLVM_TARGET_POWERPC} != "no"
961SRCS_MIN+=	Target/PowerPC/AsmParser/PPCAsmParser.cpp
962SRCS_MIN+=	Target/PowerPC/Disassembler/PPCDisassembler.cpp
963SRCS_MIN+=	Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
964SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
965SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
966SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
967SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
968SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
969SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
970SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
971SRCS_MIN+=	Target/PowerPC/MCTargetDesc/PPCPredicates.cpp
972SRCS_MIN+=	Target/PowerPC/PPCAsmPrinter.cpp
973SRCS_MIN+=	Target/PowerPC/PPCBoolRetToInt.cpp
974SRCS_MIN+=	Target/PowerPC/PPCBranchCoalescing.cpp
975SRCS_MIN+=	Target/PowerPC/PPCBranchSelector.cpp
976SRCS_MIN+=	Target/PowerPC/PPCCCState.cpp
977SRCS_MIN+=	Target/PowerPC/PPCCTRLoops.cpp
978SRCS_MIN+=	Target/PowerPC/PPCEarlyReturn.cpp
979SRCS_MIN+=	Target/PowerPC/PPCExpandISEL.cpp
980SRCS_MIN+=	Target/PowerPC/PPCFastISel.cpp
981SRCS_MIN+=	Target/PowerPC/PPCFrameLowering.cpp
982SRCS_MIN+=	Target/PowerPC/PPCHazardRecognizers.cpp
983SRCS_MIN+=	Target/PowerPC/PPCISelDAGToDAG.cpp
984SRCS_MIN+=	Target/PowerPC/PPCISelLowering.cpp
985SRCS_MIN+=	Target/PowerPC/PPCInstrInfo.cpp
986SRCS_MIN+=	Target/PowerPC/PPCLoopPreIncPrep.cpp
987SRCS_MIN+=	Target/PowerPC/PPCMCInstLower.cpp
988SRCS_MIN+=	Target/PowerPC/PPCMIPeephole.cpp
989SRCS_MIN+=	Target/PowerPC/PPCMachineFunctionInfo.cpp
990SRCS_MIN+=	Target/PowerPC/PPCPreEmitPeephole.cpp
991SRCS_MIN+=	Target/PowerPC/PPCQPXLoadSplat.cpp
992SRCS_MIN+=	Target/PowerPC/PPCReduceCRLogicals.cpp
993SRCS_MIN+=	Target/PowerPC/PPCRegisterInfo.cpp
994SRCS_MIN+=	Target/PowerPC/PPCSubtarget.cpp
995SRCS_MIN+=	Target/PowerPC/PPCTLSDynamicCall.cpp
996SRCS_MIN+=	Target/PowerPC/PPCTOCRegDeps.cpp
997SRCS_MIN+=	Target/PowerPC/PPCTargetMachine.cpp
998SRCS_MIN+=	Target/PowerPC/PPCTargetObjectFile.cpp
999SRCS_MIN+=	Target/PowerPC/PPCTargetTransformInfo.cpp
1000SRCS_MIN+=	Target/PowerPC/PPCVSXCopy.cpp
1001SRCS_MIN+=	Target/PowerPC/PPCVSXFMAMutate.cpp
1002SRCS_MIN+=	Target/PowerPC/PPCVSXSwapRemoval.cpp
1003SRCS_MIN+=	Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
1004.endif # MK_LLVM_TARGET_POWERPC
1005.if ${MK_LLVM_TARGET_SPARC} != "no"
1006SRCS_MIN+=	Target/Sparc/AsmParser/SparcAsmParser.cpp
1007SRCS_MIN+=	Target/Sparc/DelaySlotFiller.cpp
1008SRCS_XDW+=	Target/Sparc/Disassembler/SparcDisassembler.cpp
1009SRCS_MIN+=	Target/Sparc/InstPrinter/SparcInstPrinter.cpp
1010SRCS_MIN+=	Target/Sparc/LeonPasses.cpp
1011SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
1012SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
1013SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
1014SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
1015SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
1016SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
1017SRCS_MIN+=	Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp
1018SRCS_MIN+=	Target/Sparc/SparcAsmPrinter.cpp
1019SRCS_MIN+=	Target/Sparc/SparcFrameLowering.cpp
1020SRCS_MIN+=	Target/Sparc/SparcISelDAGToDAG.cpp
1021SRCS_MIN+=	Target/Sparc/SparcISelLowering.cpp
1022SRCS_MIN+=	Target/Sparc/SparcInstrInfo.cpp
1023SRCS_MIN+=	Target/Sparc/SparcMCInstLower.cpp
1024SRCS_MIN+=	Target/Sparc/SparcMachineFunctionInfo.cpp
1025SRCS_MIN+=	Target/Sparc/SparcRegisterInfo.cpp
1026SRCS_MIN+=	Target/Sparc/SparcSubtarget.cpp
1027SRCS_MIN+=	Target/Sparc/SparcTargetMachine.cpp
1028SRCS_MIN+=	Target/Sparc/SparcTargetObjectFile.cpp
1029SRCS_MIN+=	Target/Sparc/TargetInfo/SparcTargetInfo.cpp
1030.endif # MK_LLVM_TARGET_SPARC
1031SRCS_MIN+=	Target/Target.cpp
1032SRCS_MIN+=	Target/TargetIntrinsicInfo.cpp
1033SRCS_MIN+=	Target/TargetLoweringObjectFile.cpp
1034SRCS_MIN+=	Target/TargetMachine.cpp
1035SRCS_MIN+=	Target/TargetMachineC.cpp
1036.if ${MK_LLVM_TARGET_X86} != "no"
1037SRCS_MIN+=	Target/X86/AsmParser/X86AsmInstrumentation.cpp
1038SRCS_MIN+=	Target/X86/AsmParser/X86AsmParser.cpp
1039SRCS_XDW+=	Target/X86/Disassembler/X86Disassembler.cpp
1040SRCS_XDW+=	Target/X86/Disassembler/X86DisassemblerDecoder.cpp
1041SRCS_MIN+=	Target/X86/InstPrinter/X86ATTInstPrinter.cpp
1042SRCS_MIN+=	Target/X86/InstPrinter/X86InstComments.cpp
1043SRCS_MIN+=	Target/X86/InstPrinter/X86IntelInstPrinter.cpp
1044SRCS_MIN+=	Target/X86/MCTargetDesc/X86AsmBackend.cpp
1045SRCS_MIN+=	Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
1046SRCS_MIN+=	Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
1047SRCS_MIN+=	Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
1048SRCS_MIN+=	Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
1049SRCS_MIN+=	Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
1050SRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
1051SRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
1052SRCS_MIN+=	Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
1053SRCS_MIN+=	Target/X86/TargetInfo/X86TargetInfo.cpp
1054SRCS_MIN+=	Target/X86/Utils/X86ShuffleDecode.cpp
1055SRCS_MIN+=	Target/X86/X86AsmPrinter.cpp
1056SRCS_MIN+=	Target/X86/X86CallFrameOptimization.cpp
1057SRCS_MIN+=	Target/X86/X86CallLowering.cpp
1058SRCS_MIN+=	Target/X86/X86CallingConv.cpp
1059SRCS_MIN+=	Target/X86/X86CmovConversion.cpp
1060SRCS_MIN+=	Target/X86/X86DomainReassignment.cpp
1061SRCS_MIN+=	Target/X86/X86EvexToVex.cpp
1062SRCS_MIN+=	Target/X86/X86ExpandPseudo.cpp
1063SRCS_MIN+=	Target/X86/X86FastISel.cpp
1064SRCS_MIN+=	Target/X86/X86FixupBWInsts.cpp
1065SRCS_MIN+=	Target/X86/X86FixupLEAs.cpp
1066SRCS_MIN+=	Target/X86/X86FixupSetCC.cpp
1067SRCS_MIN+=	Target/X86/X86FlagsCopyLowering.cpp
1068SRCS_MIN+=	Target/X86/X86FloatingPoint.cpp
1069SRCS_MIN+=	Target/X86/X86FrameLowering.cpp
1070SRCS_MIN+=	Target/X86/X86ISelDAGToDAG.cpp
1071SRCS_MIN+=	Target/X86/X86ISelLowering.cpp
1072SRCS_MIN+=	Target/X86/X86InstrFMA3Info.cpp
1073SRCS_MIN+=	Target/X86/X86InstrInfo.cpp
1074SRCS_MIN+=	Target/X86/X86InstructionSelector.cpp
1075SRCS_MIN+=	Target/X86/X86InterleavedAccess.cpp
1076SRCS_MIN+=	Target/X86/X86LegalizerInfo.cpp
1077SRCS_MIN+=	Target/X86/X86MCInstLower.cpp
1078SRCS_MIN+=	Target/X86/X86MachineFunctionInfo.cpp
1079SRCS_MIN+=	Target/X86/X86MacroFusion.cpp
1080SRCS_MIN+=	Target/X86/X86OptimizeLEAs.cpp
1081SRCS_MIN+=	Target/X86/X86PadShortFunction.cpp
1082SRCS_MIN+=	Target/X86/X86RegisterBankInfo.cpp
1083SRCS_MIN+=	Target/X86/X86RegisterInfo.cpp
1084SRCS_MIN+=	Target/X86/X86RetpolineThunks.cpp
1085SRCS_MIN+=	Target/X86/X86SelectionDAGInfo.cpp
1086SRCS_MIN+=	Target/X86/X86ShuffleDecodeConstantPool.cpp
1087SRCS_MIN+=	Target/X86/X86Subtarget.cpp
1088SRCS_MIN+=	Target/X86/X86TargetMachine.cpp
1089SRCS_MIN+=	Target/X86/X86TargetObjectFile.cpp
1090SRCS_MIN+=	Target/X86/X86TargetTransformInfo.cpp
1091SRCS_MIN+=	Target/X86/X86VZeroUpper.cpp
1092SRCS_MIN+=	Target/X86/X86WinAllocaExpander.cpp
1093SRCS_MIN+=	Target/X86/X86WinEHState.cpp
1094.endif # MK_LLVM_TARGET_X86
1095SRCS_EXT+=	ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
1096SRCS_EXL+=	ToolDrivers/llvm-lib/LibDriver.cpp
1097SRCS_MIN+=	Transforms/Coroutines/CoroCleanup.cpp
1098SRCS_MIN+=	Transforms/Coroutines/CoroEarly.cpp
1099SRCS_MIN+=	Transforms/Coroutines/CoroElide.cpp
1100SRCS_MIN+=	Transforms/Coroutines/CoroFrame.cpp
1101SRCS_MIN+=	Transforms/Coroutines/CoroSplit.cpp
1102SRCS_MIN+=	Transforms/Coroutines/Coroutines.cpp
1103SRCS_MIN+=	Transforms/IPO/AlwaysInliner.cpp
1104SRCS_MIN+=	Transforms/IPO/ArgumentPromotion.cpp
1105SRCS_MIN+=	Transforms/IPO/BarrierNoopPass.cpp
1106SRCS_MIN+=	Transforms/IPO/CalledValuePropagation.cpp
1107SRCS_MIN+=	Transforms/IPO/ConstantMerge.cpp
1108SRCS_MIN+=	Transforms/IPO/CrossDSOCFI.cpp
1109SRCS_MIN+=	Transforms/IPO/DeadArgumentElimination.cpp
1110SRCS_MIN+=	Transforms/IPO/ElimAvailExtern.cpp
1111SRCS_MIN+=	Transforms/IPO/ExtractGV.cpp
1112SRCS_MIN+=	Transforms/IPO/ForceFunctionAttrs.cpp
1113SRCS_MIN+=	Transforms/IPO/FunctionAttrs.cpp
1114SRCS_MIN+=	Transforms/IPO/FunctionImport.cpp
1115SRCS_MIN+=	Transforms/IPO/GlobalDCE.cpp
1116SRCS_MIN+=	Transforms/IPO/GlobalOpt.cpp
1117SRCS_MIN+=	Transforms/IPO/GlobalSplit.cpp
1118SRCS_MIN+=	Transforms/IPO/IPConstantPropagation.cpp
1119SRCS_EXT+=	Transforms/IPO/IPO.cpp
1120SRCS_MIN+=	Transforms/IPO/InferFunctionAttrs.cpp
1121SRCS_MIN+=	Transforms/IPO/InlineSimple.cpp
1122SRCS_MIN+=	Transforms/IPO/Inliner.cpp
1123SRCS_MIN+=	Transforms/IPO/Internalize.cpp
1124SRCS_MIN+=	Transforms/IPO/LoopExtractor.cpp
1125SRCS_MIN+=	Transforms/IPO/LowerTypeTests.cpp
1126SRCS_MIN+=	Transforms/IPO/MergeFunctions.cpp
1127SRCS_MIN+=	Transforms/IPO/PartialInlining.cpp
1128SRCS_MIN+=	Transforms/IPO/PassManagerBuilder.cpp
1129SRCS_MIN+=	Transforms/IPO/PruneEH.cpp
1130SRCS_MIN+=	Transforms/IPO/SampleProfile.cpp
1131SRCS_MIN+=	Transforms/IPO/StripDeadPrototypes.cpp
1132SRCS_MIN+=	Transforms/IPO/StripSymbols.cpp
1133SRCS_MIN+=	Transforms/IPO/ThinLTOBitcodeWriter.cpp
1134SRCS_MIN+=	Transforms/IPO/WholeProgramDevirt.cpp
1135SRCS_MIN+=	Transforms/InstCombine/InstCombineAddSub.cpp
1136SRCS_MIN+=	Transforms/InstCombine/InstCombineAndOrXor.cpp
1137SRCS_MIN+=	Transforms/InstCombine/InstCombineCalls.cpp
1138SRCS_MIN+=	Transforms/InstCombine/InstCombineCasts.cpp
1139SRCS_MIN+=	Transforms/InstCombine/InstCombineCompares.cpp
1140SRCS_MIN+=	Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
1141SRCS_MIN+=	Transforms/InstCombine/InstCombineMulDivRem.cpp
1142SRCS_MIN+=	Transforms/InstCombine/InstCombinePHI.cpp
1143SRCS_MIN+=	Transforms/InstCombine/InstCombineSelect.cpp
1144SRCS_MIN+=	Transforms/InstCombine/InstCombineShifts.cpp
1145SRCS_MIN+=	Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
1146SRCS_MIN+=	Transforms/InstCombine/InstCombineVectorOps.cpp
1147SRCS_MIN+=	Transforms/InstCombine/InstructionCombining.cpp
1148SRCS_MIN+=	Transforms/Instrumentation/AddressSanitizer.cpp
1149SRCS_MIN+=	Transforms/Instrumentation/BoundsChecking.cpp
1150SRCS_MIN+=	Transforms/Instrumentation/DataFlowSanitizer.cpp
1151SRCS_MIN+=	Transforms/Instrumentation/EfficiencySanitizer.cpp
1152SRCS_MIN+=	Transforms/Instrumentation/GCOVProfiling.cpp
1153SRCS_MIN+=	Transforms/Instrumentation/HWAddressSanitizer.cpp
1154SRCS_MIN+=	Transforms/Instrumentation/IndirectCallPromotion.cpp
1155SRCS_MIN+=	Transforms/Instrumentation/InstrProfiling.cpp
1156SRCS_MIN+=	Transforms/Instrumentation/Instrumentation.cpp
1157SRCS_MIN+=	Transforms/Instrumentation/MemorySanitizer.cpp
1158SRCS_MIN+=	Transforms/Instrumentation/PGOInstrumentation.cpp
1159SRCS_MIN+=	Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
1160SRCS_MIN+=	Transforms/Instrumentation/SanitizerCoverage.cpp
1161SRCS_MIN+=	Transforms/Instrumentation/ThreadSanitizer.cpp
1162SRCS_MIN+=	Transforms/ObjCARC/DependencyAnalysis.cpp
1163SRCS_EXT+=	Transforms/ObjCARC/ObjCARC.cpp
1164SRCS_MIN+=	Transforms/ObjCARC/ObjCARCAPElim.cpp
1165SRCS_MIN+=	Transforms/ObjCARC/ObjCARCContract.cpp
1166SRCS_MIN+=	Transforms/ObjCARC/ObjCARCExpand.cpp
1167SRCS_MIN+=	Transforms/ObjCARC/ObjCARCOpts.cpp
1168SRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysis.cpp
1169SRCS_MIN+=	Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
1170SRCS_MIN+=	Transforms/ObjCARC/PtrState.cpp
1171SRCS_MIN+=	Transforms/Scalar/ADCE.cpp
1172SRCS_MIN+=	Transforms/Scalar/AlignmentFromAssumptions.cpp
1173SRCS_MIN+=	Transforms/Scalar/BDCE.cpp
1174SRCS_MIN+=	Transforms/Scalar/CallSiteSplitting.cpp
1175SRCS_MIN+=	Transforms/Scalar/ConstantHoisting.cpp
1176SRCS_MIN+=	Transforms/Scalar/ConstantProp.cpp
1177SRCS_MIN+=	Transforms/Scalar/CorrelatedValuePropagation.cpp
1178SRCS_MIN+=	Transforms/Scalar/DCE.cpp
1179SRCS_MIN+=	Transforms/Scalar/DeadStoreElimination.cpp
1180SRCS_MIN+=	Transforms/Scalar/DivRemPairs.cpp
1181SRCS_MIN+=	Transforms/Scalar/EarlyCSE.cpp
1182SRCS_MIN+=	Transforms/Scalar/FlattenCFGPass.cpp
1183SRCS_MIN+=	Transforms/Scalar/Float2Int.cpp
1184SRCS_MIN+=	Transforms/Scalar/GVN.cpp
1185SRCS_MIN+=	Transforms/Scalar/GVNHoist.cpp
1186SRCS_MIN+=	Transforms/Scalar/GVNSink.cpp
1187SRCS_MIN+=	Transforms/Scalar/GuardWidening.cpp
1188SRCS_MIN+=	Transforms/Scalar/IVUsersPrinter.cpp
1189SRCS_MIN+=	Transforms/Scalar/IndVarSimplify.cpp
1190SRCS_MIN+=	Transforms/Scalar/InductiveRangeCheckElimination.cpp
1191SRCS_EXT+=	Transforms/Scalar/InferAddressSpaces.cpp
1192SRCS_MIN+=	Transforms/Scalar/JumpThreading.cpp
1193SRCS_MIN+=	Transforms/Scalar/LICM.cpp
1194SRCS_MIN+=	Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
1195SRCS_MIN+=	Transforms/Scalar/LoopDataPrefetch.cpp
1196SRCS_MIN+=	Transforms/Scalar/LoopDeletion.cpp
1197SRCS_MIN+=	Transforms/Scalar/LoopDistribute.cpp
1198SRCS_MIN+=	Transforms/Scalar/LoopIdiomRecognize.cpp
1199SRCS_MIN+=	Transforms/Scalar/LoopInstSimplify.cpp
1200SRCS_MIN+=	Transforms/Scalar/LoopInterchange.cpp
1201SRCS_MIN+=	Transforms/Scalar/LoopLoadElimination.cpp
1202SRCS_MIN+=	Transforms/Scalar/LoopPassManager.cpp
1203SRCS_MIN+=	Transforms/Scalar/LoopPredication.cpp
1204SRCS_MIN+=	Transforms/Scalar/LoopRerollPass.cpp
1205SRCS_MIN+=	Transforms/Scalar/LoopRotation.cpp
1206SRCS_MIN+=	Transforms/Scalar/LoopSimplifyCFG.cpp
1207SRCS_MIN+=	Transforms/Scalar/LoopSink.cpp
1208SRCS_MIN+=	Transforms/Scalar/LoopStrengthReduce.cpp
1209SRCS_MIN+=	Transforms/Scalar/LoopUnrollPass.cpp
1210SRCS_MIN+=	Transforms/Scalar/LoopUnswitch.cpp
1211SRCS_MIN+=	Transforms/Scalar/LoopVersioningLICM.cpp
1212SRCS_MIN+=	Transforms/Scalar/LowerAtomic.cpp
1213SRCS_MIN+=	Transforms/Scalar/LowerExpectIntrinsic.cpp
1214SRCS_MIN+=	Transforms/Scalar/LowerGuardIntrinsic.cpp
1215SRCS_MIN+=	Transforms/Scalar/MemCpyOptimizer.cpp
1216SRCS_MIN+=	Transforms/Scalar/MergeICmps.cpp
1217SRCS_MIN+=	Transforms/Scalar/MergedLoadStoreMotion.cpp
1218SRCS_MIN+=	Transforms/Scalar/NaryReassociate.cpp
1219SRCS_MIN+=	Transforms/Scalar/NewGVN.cpp
1220SRCS_MIN+=	Transforms/Scalar/PartiallyInlineLibCalls.cpp
1221SRCS_MIN+=	Transforms/Scalar/PlaceSafepoints.cpp
1222SRCS_MIN+=	Transforms/Scalar/Reassociate.cpp
1223SRCS_MIN+=	Transforms/Scalar/Reg2Mem.cpp
1224SRCS_MIN+=	Transforms/Scalar/RewriteStatepointsForGC.cpp
1225SRCS_MIN+=	Transforms/Scalar/SCCP.cpp
1226SRCS_MIN+=	Transforms/Scalar/SROA.cpp
1227SRCS_EXT+=	Transforms/Scalar/Scalar.cpp
1228SRCS_MIN+=	Transforms/Scalar/Scalarizer.cpp
1229SRCS_MIN+=	Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
1230SRCS_MIN+=	Transforms/Scalar/SimpleLoopUnswitch.cpp
1231SRCS_MIN+=	Transforms/Scalar/SimplifyCFGPass.cpp
1232SRCS_MIN+=	Transforms/Scalar/Sink.cpp
1233SRCS_MIN+=	Transforms/Scalar/SpeculateAroundPHIs.cpp
1234SRCS_MIN+=	Transforms/Scalar/SpeculativeExecution.cpp
1235SRCS_MIN+=	Transforms/Scalar/StraightLineStrengthReduce.cpp
1236SRCS_MIN+=	Transforms/Scalar/StructurizeCFG.cpp
1237SRCS_MIN+=	Transforms/Scalar/TailRecursionElimination.cpp
1238SRCS_MIN+=	Transforms/Utils/ASanStackFrameLayout.cpp
1239SRCS_MIN+=	Transforms/Utils/AddDiscriminators.cpp
1240SRCS_MIN+=	Transforms/Utils/BasicBlockUtils.cpp
1241SRCS_MIN+=	Transforms/Utils/BreakCriticalEdges.cpp
1242SRCS_MIN+=	Transforms/Utils/BuildLibCalls.cpp
1243SRCS_MIN+=	Transforms/Utils/BypassSlowDivision.cpp
1244SRCS_MIN+=	Transforms/Utils/CallPromotionUtils.cpp
1245SRCS_MIN+=	Transforms/Utils/CloneFunction.cpp
1246SRCS_MIN+=	Transforms/Utils/CloneModule.cpp
1247SRCS_MIN+=	Transforms/Utils/CodeExtractor.cpp
1248SRCS_MIN+=	Transforms/Utils/CtorUtils.cpp
1249SRCS_MIN+=	Transforms/Utils/DemoteRegToStack.cpp
1250SRCS_MIN+=	Transforms/Utils/EntryExitInstrumenter.cpp
1251SRCS_MIN+=	Transforms/Utils/EscapeEnumerator.cpp
1252SRCS_MIN+=	Transforms/Utils/Evaluator.cpp
1253SRCS_MIN+=	Transforms/Utils/FlattenCFG.cpp
1254SRCS_MIN+=	Transforms/Utils/FunctionComparator.cpp
1255SRCS_MIN+=	Transforms/Utils/FunctionImportUtils.cpp
1256SRCS_MIN+=	Transforms/Utils/GlobalStatus.cpp
1257SRCS_MIN+=	Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
1258SRCS_MIN+=	Transforms/Utils/InlineFunction.cpp
1259SRCS_MIN+=	Transforms/Utils/InstructionNamer.cpp
1260SRCS_MIN+=	Transforms/Utils/IntegerDivision.cpp
1261SRCS_MIN+=	Transforms/Utils/LCSSA.cpp
1262SRCS_MIN+=	Transforms/Utils/LibCallsShrinkWrap.cpp
1263SRCS_MIN+=	Transforms/Utils/Local.cpp
1264SRCS_MIN+=	Transforms/Utils/LoopSimplify.cpp
1265SRCS_MIN+=	Transforms/Utils/LoopUnroll.cpp
1266SRCS_MIN+=	Transforms/Utils/LoopUnrollPeel.cpp
1267SRCS_MIN+=	Transforms/Utils/LoopUnrollRuntime.cpp
1268SRCS_MIN+=	Transforms/Utils/LoopUtils.cpp
1269SRCS_MIN+=	Transforms/Utils/LoopVersioning.cpp
1270SRCS_MIN+=	Transforms/Utils/LowerInvoke.cpp
1271SRCS_MIN+=	Transforms/Utils/LowerSwitch.cpp
1272SRCS_MIN+=	Transforms/Utils/Mem2Reg.cpp
1273SRCS_MIN+=	Transforms/Utils/MetaRenamer.cpp
1274SRCS_MIN+=	Transforms/Utils/ModuleUtils.cpp
1275SRCS_MIN+=	Transforms/Utils/NameAnonGlobals.cpp
1276SRCS_MIN+=	Transforms/Utils/OrderedInstructions.cpp
1277SRCS_MIN+=	Transforms/Utils/PredicateInfo.cpp
1278SRCS_MIN+=	Transforms/Utils/PromoteMemoryToRegister.cpp
1279SRCS_MIN+=	Transforms/Utils/SSAUpdater.cpp
1280SRCS_MIN+=	Transforms/Utils/SanitizerStats.cpp
1281SRCS_MIN+=	Transforms/Utils/SimplifyCFG.cpp
1282SRCS_MIN+=	Transforms/Utils/SimplifyIndVar.cpp
1283SRCS_MIN+=	Transforms/Utils/SimplifyInstructions.cpp
1284SRCS_MIN+=	Transforms/Utils/SimplifyLibCalls.cpp
1285SRCS_MIN+=	Transforms/Utils/SplitModule.cpp
1286SRCS_MIN+=	Transforms/Utils/StripGCRelocates.cpp
1287SRCS_MIN+=	Transforms/Utils/StripNonLineTableDebugInfo.cpp
1288SRCS_MIN+=	Transforms/Utils/SymbolRewriter.cpp
1289SRCS_MIN+=	Transforms/Utils/UnifyFunctionExitNodes.cpp
1290SRCS_EXT+=	Transforms/Utils/Utils.cpp
1291SRCS_MIN+=	Transforms/Utils/VNCoercion.cpp
1292SRCS_MIN+=	Transforms/Utils/ValueMapper.cpp
1293SRCS_MIN+=	Transforms/Vectorize/LoadStoreVectorizer.cpp
1294SRCS_MIN+=	Transforms/Vectorize/LoopVectorize.cpp
1295SRCS_MIN+=	Transforms/Vectorize/SLPVectorizer.cpp
1296SRCS_MIN+=	Transforms/Vectorize/VPlan.cpp
1297SRCS_EXT+=	Transforms/Vectorize/Vectorize.cpp
1298SRCS_EXT+=	XRay/InstrumentationMap.cpp
1299
1300SRCS_ALL+=	${SRCS_MIN}
1301.if !defined(TOOLS_PREFIX) || ${MK_LLD_BOOTSTRAP} != "no"
1302SRCS_ALL+=	${SRCS_MIW}
1303.endif
1304.if ${MK_CLANG_EXTRAS} != "no"
1305SRCS_ALL+=	${SRCS_EXT}
1306.endif
1307.if ${MK_CLANG_FULL} != "no"
1308SRCS_ALL+=	${SRCS_FUL}
1309.endif
1310.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLD} != "no" || \
1311    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
1312SRCS_ALL+=	${SRCS_EXL}
1313.endif
1314.if ${MK_LLD} != "no" || \
1315    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
1316SRCS_ALL+=	${SRCS_LLD}
1317.endif
1318.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
1319SRCS_ALL+=	${SRCS_XDB}
1320.endif
1321.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || ${MK_LLD} != "no" || \
1322    (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
1323SRCS_ALL+=	${SRCS_XDL}
1324.endif
1325.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || !defined(TOOLS_PREFIX)
1326SRCS_ALL+=	${SRCS_XDW}
1327.endif
1328SRCS+=		${SRCS_ALL:O}
1329
1330llvm/IR/Attributes.gen: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1331	${LLVM_TBLGEN} -gen-attrs \
1332	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1333	    ${LLVM_SRCS}/include/llvm/IR/Attributes.td
1334TGHDRS+=	llvm/IR/Attributes.gen
1335
1336llvm/IR/Intrinsics.gen: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1337	${LLVM_TBLGEN} -gen-intrinsic \
1338	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1339	    ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
1340TGHDRS+=	llvm/IR/Intrinsics.gen
1341
1342AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1343	${LLVM_TBLGEN} -gen-attrs \
1344	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1345	    ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
1346TGHDRS+=	AttributesCompatFunc.inc
1347
1348llvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1349	${LLVM_TBLGEN} -gen-opt-parser-defs \
1350	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1351	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
1352TGHDRS+=	llvm-lib/Options.inc
1353CFLAGS.LibDriver.cpp+=	-I${.OBJDIR}/llvm-lib
1354
1355llvm-dlltool/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1356	${LLVM_TBLGEN} -gen-opt-parser-defs \
1357	    -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
1358	    ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
1359TGHDRS+=	llvm-dlltool/Options.inc
1360CFLAGS.DlltoolDriver.cpp+=	-I${.OBJDIR}/llvm-dlltool
1361
1362beforebuild:
1363# 20170724 remove stale Options.inc file, of which there are two different
1364# versions after upstream r308421, one for llvm-lib, one for llvm-dlltool
1365.for f in Options.inc
1366.if exists(${f}) || exists(${f}.d)
1367	@echo Removing stale generated ${f} files
1368	@rm -f ${f} ${f}.d
1369.endif
1370.endfor
1371
1372# Note: some rules are superfluous, not every combination is valid.
1373.for arch in \
1374	AArch64/AArch64 ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
1375. for hdr in \
1376	AsmMatcher/-gen-asm-matcher \
1377	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
1378	AsmWriter/-gen-asm-writer \
1379	CallingConv/-gen-callingconv \
1380	CodeEmitter/-gen-emitter \
1381	DAGISel/-gen-dag-isel \
1382	DisassemblerTables/-gen-disassembler \
1383	EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \
1384	FastISel/-gen-fast-isel \
1385	GlobalISel/-gen-global-isel \
1386	InstrInfo/-gen-instr-info \
1387	MCCodeEmitter/-gen-emitter \
1388	MCPseudoLowering/-gen-pseudo-lowering \
1389	RegisterBank/-gen-register-bank \
1390	RegisterInfo/-gen-register-info \
1391	SubtargetInfo/-gen-subtarget \
1392	SystemOperands/-gen-searchable-tables \
1393	SystemRegister/-gen-searchable-tables
1394${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1395	${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
1396	    -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
1397	    -d ${.TARGET}.d -o ${.TARGET} \
1398	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
1399. endfor
1400.endfor
1401.if ${MK_LLVM_TARGET_AARCH64} != "no"
1402TGHDRS+=	AArch64GenAsmMatcher.inc
1403TGHDRS+=	AArch64GenAsmWriter.inc
1404TGHDRS+=	AArch64GenAsmWriter1.inc
1405TGHDRS+=	AArch64GenCallingConv.inc
1406TGHDRS+=	AArch64GenDAGISel.inc
1407TGHDRS+=	AArch64GenDisassemblerTables.inc
1408TGHDRS+=	AArch64GenFastISel.inc
1409TGHDRS+=	AArch64GenGlobalISel.inc
1410TGHDRS+=	AArch64GenInstrInfo.inc
1411TGHDRS+=	AArch64GenMCCodeEmitter.inc
1412TGHDRS+=	AArch64GenMCPseudoLowering.inc
1413TGHDRS+=	AArch64GenRegisterBank.inc
1414TGHDRS+=	AArch64GenRegisterInfo.inc
1415TGHDRS+=	AArch64GenSubtargetInfo.inc
1416TGHDRS+=	AArch64GenSystemOperands.inc
1417.endif # MK_LLVM_TARGET_AARCH64
1418.if ${MK_LLVM_TARGET_ARM} != "no"
1419TGHDRS+=	ARMGenAsmMatcher.inc
1420TGHDRS+=	ARMGenAsmWriter.inc
1421TGHDRS+=	ARMGenCallingConv.inc
1422TGHDRS+=	ARMGenDAGISel.inc
1423TGHDRS+=	ARMGenDisassemblerTables.inc
1424TGHDRS+=	ARMGenFastISel.inc
1425TGHDRS+=	ARMGenGlobalISel.inc
1426TGHDRS+=	ARMGenInstrInfo.inc
1427TGHDRS+=	ARMGenMCCodeEmitter.inc
1428TGHDRS+=	ARMGenMCPseudoLowering.inc
1429TGHDRS+=	ARMGenRegisterBank.inc
1430TGHDRS+=	ARMGenRegisterInfo.inc
1431TGHDRS+=	ARMGenSubtargetInfo.inc
1432TGHDRS+=	ARMGenSystemRegister.inc
1433.endif # MK_LLVM_TARGET_ARM
1434.if ${MK_LLVM_TARGET_MIPS} != "no"
1435TGHDRS+=	MipsGenAsmMatcher.inc
1436TGHDRS+=	MipsGenAsmWriter.inc
1437TGHDRS+=	MipsGenCallingConv.inc
1438TGHDRS+=	MipsGenDAGISel.inc
1439TGHDRS+=	MipsGenDisassemblerTables.inc
1440TGHDRS+=	MipsGenFastISel.inc
1441TGHDRS+=	MipsGenInstrInfo.inc
1442TGHDRS+=	MipsGenMCCodeEmitter.inc
1443TGHDRS+=	MipsGenMCPseudoLowering.inc
1444TGHDRS+=	MipsGenRegisterInfo.inc
1445TGHDRS+=	MipsGenSubtargetInfo.inc
1446.endif # MK_LLVM_TARGET_MIPS
1447.if ${MK_LLVM_TARGET_POWERPC} != "no"
1448TGHDRS+=	PPCGenAsmMatcher.inc
1449TGHDRS+=	PPCGenAsmWriter.inc
1450TGHDRS+=	PPCGenCallingConv.inc
1451TGHDRS+=	PPCGenDAGISel.inc
1452TGHDRS+=	PPCGenDisassemblerTables.inc
1453TGHDRS+=	PPCGenFastISel.inc
1454TGHDRS+=	PPCGenInstrInfo.inc
1455TGHDRS+=	PPCGenMCCodeEmitter.inc
1456TGHDRS+=	PPCGenRegisterInfo.inc
1457TGHDRS+=	PPCGenSubtargetInfo.inc
1458.endif # MK_LLVM_TARGET_POWERPC
1459.if ${MK_LLVM_TARGET_SPARC} != "no"
1460TGHDRS+=	SparcGenAsmMatcher.inc
1461TGHDRS+=	SparcGenAsmWriter.inc
1462TGHDRS+=	SparcGenCallingConv.inc
1463TGHDRS+=	SparcGenDAGISel.inc
1464TGHDRS+=	SparcGenDisassemblerTables.inc
1465TGHDRS+=	SparcGenInstrInfo.inc
1466TGHDRS+=	SparcGenMCCodeEmitter.inc
1467TGHDRS+=	SparcGenRegisterInfo.inc
1468TGHDRS+=	SparcGenSubtargetInfo.inc
1469.endif # MK_LLVM_TARGET_SPARC
1470.if ${MK_LLVM_TARGET_X86} != "no"
1471TGHDRS+=	X86GenAsmMatcher.inc
1472TGHDRS+=	X86GenAsmWriter.inc
1473TGHDRS+=	X86GenAsmWriter1.inc
1474TGHDRS+=	X86GenCallingConv.inc
1475TGHDRS+=	X86GenDAGISel.inc
1476TGHDRS+=	X86GenDisassemblerTables.inc
1477TGHDRS+=	X86GenEVEX2VEXTables.inc
1478TGHDRS+=	X86GenFastISel.inc
1479TGHDRS+=	X86GenGlobalISel.inc
1480TGHDRS+=	X86GenInstrInfo.inc
1481TGHDRS+=	X86GenRegisterBank.inc
1482TGHDRS+=	X86GenRegisterInfo.inc
1483TGHDRS+=	X86GenSubtargetInfo.inc
1484.endif # MK_LLVM_TARGET_X86
1485
1486DEPENDFILES+=	${TGHDRS:C/$/.d/}
1487DPSRCS+=	${TGHDRS}
1488CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1489
1490.include "../llvm.build.mk"
1491.include <bsd.lib.mk>
1492