113 lines
2.5 KiB
Makefile
113 lines
2.5 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2011/06/08 08:48:39 joerg Exp $
|
|
|
|
LIB= LLVMCodeGen
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${LLVM_SRCDIR}/lib/CodeGen
|
|
|
|
SRCS+= AggressiveAntiDepBreaker.cpp \
|
|
AllocationOrder.cpp \
|
|
Analysis.cpp \
|
|
BranchFolding.cpp \
|
|
CalcSpillWeights.cpp \
|
|
CallingConvLower.cpp \
|
|
CodeGen.cpp \
|
|
CodePlacementOpt.cpp \
|
|
CriticalAntiDepBreaker.cpp \
|
|
DeadMachineInstructionElim.cpp \
|
|
DwarfEHPrepare.cpp \
|
|
EdgeBundles.cpp \
|
|
ELFCodeEmitter.cpp \
|
|
ELFWriter.cpp \
|
|
ExpandISelPseudos.cpp \
|
|
GCMetadata.cpp \
|
|
GCMetadataPrinter.cpp \
|
|
GCStrategy.cpp \
|
|
IfConversion.cpp \
|
|
InlineSpiller.cpp \
|
|
InterferenceCache.cpp \
|
|
IntrinsicLowering.cpp \
|
|
LLVMTargetMachine.cpp \
|
|
LatencyPriorityQueue.cpp \
|
|
LiveDebugVariables.cpp \
|
|
LiveInterval.cpp \
|
|
LiveIntervalAnalysis.cpp \
|
|
LiveIntervalUnion.cpp \
|
|
LiveStackAnalysis.cpp \
|
|
LiveVariables.cpp \
|
|
LiveRangeEdit.cpp \
|
|
LocalStackSlotAllocation.cpp \
|
|
LowerSubregs.cpp \
|
|
MachineBasicBlock.cpp \
|
|
MachineCSE.cpp \
|
|
MachineDominators.cpp \
|
|
MachineFunction.cpp \
|
|
MachineFunctionAnalysis.cpp \
|
|
MachineFunctionPass.cpp \
|
|
MachineFunctionPrinterPass.cpp \
|
|
MachineInstr.cpp \
|
|
MachineLICM.cpp \
|
|
MachineLoopInfo.cpp \
|
|
MachineLoopRanges.cpp \
|
|
MachineModuleInfo.cpp \
|
|
MachineModuleInfoImpls.cpp \
|
|
MachinePassRegistry.cpp \
|
|
MachineRegisterInfo.cpp \
|
|
MachineSSAUpdater.cpp \
|
|
MachineSink.cpp \
|
|
MachineVerifier.cpp \
|
|
ObjectCodeEmitter.cpp \
|
|
OcamlGC.cpp \
|
|
OptimizePHIs.cpp \
|
|
PHIElimination.cpp \
|
|
PHIEliminationUtils.cpp \
|
|
Passes.cpp \
|
|
PeepholeOptimizer.cpp \
|
|
ScoreboardHazardRecognizer.cpp \
|
|
PostRASchedulerList.cpp \
|
|
PreAllocSplitting.cpp \
|
|
ProcessImplicitDefs.cpp \
|
|
PrologEpilogInserter.cpp \
|
|
PseudoSourceValue.cpp \
|
|
RegAllocBasic.cpp \
|
|
RegAllocFast.cpp \
|
|
RegAllocGreedy.cpp \
|
|
RegAllocLinearScan.cpp \
|
|
RegAllocPBQP.cpp \
|
|
RegisterClassInfo.cpp \
|
|
RegisterCoalescer.cpp \
|
|
RegisterScavenging.cpp \
|
|
RenderMachineFunction.cpp \
|
|
ScheduleDAG.cpp \
|
|
ScheduleDAGEmit.cpp \
|
|
ScheduleDAGInstrs.cpp \
|
|
ScheduleDAGPrinter.cpp \
|
|
ShadowStackGC.cpp \
|
|
ShrinkWrapping.cpp \
|
|
SimpleRegisterCoalescing.cpp \
|
|
SjLjEHPrepare.cpp \
|
|
SlotIndexes.cpp \
|
|
Spiller.cpp \
|
|
SpillPlacement.cpp \
|
|
SplitKit.cpp \
|
|
Splitter.cpp \
|
|
StackProtector.cpp \
|
|
StackSlotColoring.cpp \
|
|
StrongPHIElimination.cpp \
|
|
TailDuplication.cpp \
|
|
TargetInstrInfoImpl.cpp \
|
|
TargetLoweringObjectFileImpl.cpp \
|
|
TwoAddressInstructionPass.cpp \
|
|
UnreachableBlockElim.cpp \
|
|
VirtRegMap.cpp \
|
|
VirtRegRewriter.cpp
|
|
|
|
.if defined(HOSTLIB)
|
|
.include <bsd.hostlib.mk>
|
|
# Crashes some versions of GCC
|
|
CPPFLAGS.RenderMachineFunction.cpp+= -O0
|
|
.else
|
|
.include <bsd.lib.mk>
|
|
.endif
|