xref: /minix3/external/bsd/llvm/lib/libLLVMCodeGen/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.30 2015/01/29 20:41:35 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	LLVMCodeGen
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/CodeGen
8f4a2713aSLionel Sambuc
9f4a2713aSLionel SambucSRCS+=	AggressiveAntiDepBreaker.cpp \
10f4a2713aSLionel Sambuc	AllocationOrder.cpp \
11f4a2713aSLionel Sambuc	Analysis.cpp \
12*0a6a1f1dSLionel Sambuc	AtomicExpandPass.cpp \
13f4a2713aSLionel Sambuc	BasicTargetTransformInfo.cpp \
14f4a2713aSLionel Sambuc	BranchFolding.cpp \
15f4a2713aSLionel Sambuc	CalcSpillWeights.cpp \
16f4a2713aSLionel Sambuc	CallingConvLower.cpp \
17f4a2713aSLionel Sambuc	CodeGen.cpp \
18*0a6a1f1dSLionel Sambuc	CodeGenPrepare.cpp \
19f4a2713aSLionel Sambuc	CriticalAntiDepBreaker.cpp \
20f4a2713aSLionel Sambuc	DFAPacketizer.cpp \
21f4a2713aSLionel Sambuc	DeadMachineInstructionElim.cpp \
22f4a2713aSLionel Sambuc	DwarfEHPrepare.cpp \
23f4a2713aSLionel Sambuc	EarlyIfConversion.cpp \
24f4a2713aSLionel Sambuc	EdgeBundles.cpp \
25f4a2713aSLionel Sambuc	ErlangGC.cpp \
26f4a2713aSLionel Sambuc	ExecutionDepsFix.cpp \
27f4a2713aSLionel Sambuc	ExpandISelPseudos.cpp \
28f4a2713aSLionel Sambuc	ExpandPostRAPseudos.cpp \
29*0a6a1f1dSLionel Sambuc	ForwardControlFlowIntegrity.cpp \
30f4a2713aSLionel Sambuc	GCMetadata.cpp \
31f4a2713aSLionel Sambuc	GCMetadataPrinter.cpp \
32f4a2713aSLionel Sambuc	GCStrategy.cpp \
33*0a6a1f1dSLionel Sambuc	GlobalMerge.cpp \
34f4a2713aSLionel Sambuc	IfConversion.cpp \
35f4a2713aSLionel Sambuc	InlineSpiller.cpp \
36f4a2713aSLionel Sambuc	InterferenceCache.cpp \
37f4a2713aSLionel Sambuc	IntrinsicLowering.cpp \
38*0a6a1f1dSLionel Sambuc	JumpInstrTables.cpp \
39f4a2713aSLionel Sambuc	LLVMTargetMachine.cpp \
40f4a2713aSLionel Sambuc	LatencyPriorityQueue.cpp \
41f4a2713aSLionel Sambuc	LexicalScopes.cpp \
42f4a2713aSLionel Sambuc	LiveDebugVariables.cpp \
43f4a2713aSLionel Sambuc	LiveInterval.cpp \
44f4a2713aSLionel Sambuc	LiveIntervalAnalysis.cpp \
45f4a2713aSLionel Sambuc	LiveIntervalUnion.cpp \
46*0a6a1f1dSLionel Sambuc	LivePhysRegs.cpp \
47f4a2713aSLionel Sambuc	LiveRangeCalc.cpp \
48f4a2713aSLionel Sambuc	LiveRangeEdit.cpp \
49f4a2713aSLionel Sambuc	LiveRegMatrix.cpp \
50f4a2713aSLionel Sambuc	LiveStackAnalysis.cpp \
51f4a2713aSLionel Sambuc	LiveVariables.cpp \
52f4a2713aSLionel Sambuc	LocalStackSlotAllocation.cpp \
53f4a2713aSLionel Sambuc	MachineBasicBlock.cpp \
54f4a2713aSLionel Sambuc	MachineBranchProbabilityInfo.cpp \
55f4a2713aSLionel Sambuc	MachineBlockFrequencyInfo.cpp \
56f4a2713aSLionel Sambuc	MachineBlockPlacement.cpp \
57f4a2713aSLionel Sambuc	MachineCopyPropagation.cpp \
58f4a2713aSLionel Sambuc	MachineCSE.cpp \
59*0a6a1f1dSLionel Sambuc	MachineCombiner.cpp \
60*0a6a1f1dSLionel Sambuc	MachineDominanceFrontier.cpp \
61f4a2713aSLionel Sambuc	MachineDominators.cpp \
62f4a2713aSLionel Sambuc	MachineFunction.cpp \
63f4a2713aSLionel Sambuc	MachineFunctionAnalysis.cpp \
64f4a2713aSLionel Sambuc	MachineFunctionPass.cpp \
65f4a2713aSLionel Sambuc	MachineFunctionPrinterPass.cpp \
66f4a2713aSLionel Sambuc	MachineInstr.cpp \
67f4a2713aSLionel Sambuc	MachineInstrBundle.cpp \
68f4a2713aSLionel Sambuc	MachineLICM.cpp \
69f4a2713aSLionel Sambuc	MachineLoopInfo.cpp \
70f4a2713aSLionel Sambuc	MachineModuleInfo.cpp \
71f4a2713aSLionel Sambuc	MachineModuleInfoImpls.cpp \
72f4a2713aSLionel Sambuc	MachinePassRegistry.cpp \
73f4a2713aSLionel Sambuc	MachinePostDominators.cpp \
74*0a6a1f1dSLionel Sambuc	MachineRegionInfo.cpp \
75f4a2713aSLionel Sambuc	MachineRegisterInfo.cpp \
76f4a2713aSLionel Sambuc	MachineSSAUpdater.cpp \
77f4a2713aSLionel Sambuc	MachineScheduler.cpp \
78f4a2713aSLionel Sambuc	MachineSink.cpp \
79f4a2713aSLionel Sambuc	MachineTraceMetrics.cpp \
80f4a2713aSLionel Sambuc	MachineVerifier.cpp \
81f4a2713aSLionel Sambuc	OcamlGC.cpp \
82f4a2713aSLionel Sambuc	OptimizePHIs.cpp \
83f4a2713aSLionel Sambuc	PHIElimination.cpp \
84f4a2713aSLionel Sambuc	PHIEliminationUtils.cpp \
85f4a2713aSLionel Sambuc	Passes.cpp \
86f4a2713aSLionel Sambuc	PeepholeOptimizer.cpp \
87f4a2713aSLionel Sambuc	ScoreboardHazardRecognizer.cpp \
88f4a2713aSLionel Sambuc	PostRASchedulerList.cpp \
89f4a2713aSLionel Sambuc	ProcessImplicitDefs.cpp \
90f4a2713aSLionel Sambuc	PrologEpilogInserter.cpp \
91f4a2713aSLionel Sambuc	PseudoSourceValue.cpp \
92f4a2713aSLionel Sambuc	RegAllocBase.cpp \
93f4a2713aSLionel Sambuc	RegAllocBasic.cpp \
94f4a2713aSLionel Sambuc	RegAllocFast.cpp \
95f4a2713aSLionel Sambuc	RegAllocGreedy.cpp \
96f4a2713aSLionel Sambuc	RegAllocPBQP.cpp \
97f4a2713aSLionel Sambuc	RegisterClassInfo.cpp \
98f4a2713aSLionel Sambuc	RegisterCoalescer.cpp \
99f4a2713aSLionel Sambuc	RegisterPressure.cpp \
100f4a2713aSLionel Sambuc	RegisterScavenging.cpp \
101f4a2713aSLionel Sambuc	ScheduleDAG.cpp \
102f4a2713aSLionel Sambuc	ScheduleDAGInstrs.cpp \
103f4a2713aSLionel Sambuc	ScheduleDAGPrinter.cpp \
104f4a2713aSLionel Sambuc	ShadowStackGC.cpp \
105f4a2713aSLionel Sambuc	SjLjEHPrepare.cpp \
106f4a2713aSLionel Sambuc	SlotIndexes.cpp \
107f4a2713aSLionel Sambuc	SpillPlacement.cpp \
108f4a2713aSLionel Sambuc	SplitKit.cpp \
109f4a2713aSLionel Sambuc	StackColoring.cpp \
110*0a6a1f1dSLionel Sambuc	StackMapLivenessAnalysis.cpp \
111f4a2713aSLionel Sambuc	StackMaps.cpp \
112f4a2713aSLionel Sambuc	StackProtector.cpp \
113f4a2713aSLionel Sambuc	StackSlotColoring.cpp \
114*0a6a1f1dSLionel Sambuc	StatepointExampleGC.cpp \
115f4a2713aSLionel Sambuc	TailDuplication.cpp \
116f4a2713aSLionel Sambuc	TargetFrameLoweringImpl.cpp \
117f4a2713aSLionel Sambuc	TargetInstrInfo.cpp \
118f4a2713aSLionel Sambuc	TargetLoweringBase.cpp \
119f4a2713aSLionel Sambuc	TargetLoweringObjectFileImpl.cpp \
120f4a2713aSLionel Sambuc	TargetOptionsImpl.cpp \
121f4a2713aSLionel Sambuc	TargetRegisterInfo.cpp \
122f4a2713aSLionel Sambuc	TargetSchedule.cpp \
123f4a2713aSLionel Sambuc	TwoAddressInstructionPass.cpp \
124f4a2713aSLionel Sambuc	UnreachableBlockElim.cpp \
125f4a2713aSLionel Sambuc	VirtRegMap.cpp
126f4a2713aSLionel Sambuc
127f4a2713aSLionel Sambuc.if defined(HOSTLIB)
128f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
129f4a2713aSLionel Sambuc# Crashes some versions of GCC
130f4a2713aSLionel SambucCPPFLAGS.RenderMachineFunction.cpp+= -O0
131f4a2713aSLionel Sambuc.else
132f4a2713aSLionel Sambuc.include <bsd.lib.mk>
133f4a2713aSLionel Sambuc.endif
134