# $NetBSD: Makefile,v 1.20 2012/09/23 17:22:23 joerg Exp $ LIB= LLVMCodeGen .include .PATH: ${LLVM_SRCDIR}/lib/CodeGen SRCS+= AggressiveAntiDepBreaker.cpp \ AllocationOrder.cpp \ Analysis.cpp \ BranchFolding.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ CodePlacementOpt.cpp \ CriticalAntiDepBreaker.cpp \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ ExpandPostRAPseudos.cpp \ GCMetadata.cpp \ GCMetadataPrinter.cpp \ GCStrategy.cpp \ IfConversion.cpp \ InlineSpiller.cpp \ InterferenceCache.cpp \ IntrinsicLowering.cpp \ JITCodeEmitter.cpp \ LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ LexicalScopes.cpp \ LiveDebugVariables.cpp \ LiveInterval.cpp \ LiveIntervalAnalysis.cpp \ LiveIntervalUnion.cpp \ LiveRangeCalc.cpp \ LiveRegMatrix.cpp \ LiveStackAnalysis.cpp \ LiveVariables.cpp \ LiveRangeEdit.cpp \ LocalStackSlotAllocation.cpp \ MachineBasicBlock.cpp \ MachineBranchProbabilityInfo.cpp \ MachineBlockFrequencyInfo.cpp \ MachineBlockPlacement.cpp \ MachineCodeEmitter.cpp \ MachineCopyPropagation.cpp \ MachineCSE.cpp \ MachineDominators.cpp \ MachineFunction.cpp \ MachineFunctionAnalysis.cpp \ MachineFunctionPass.cpp \ MachineFunctionPrinterPass.cpp \ MachineInstr.cpp \ MachineInstrBundle.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ MachineLoopRanges.cpp \ MachineModuleInfo.cpp \ MachineModuleInfoImpls.cpp \ MachinePassRegistry.cpp \ MachinePostDominators.cpp \ MachineRegisterInfo.cpp \ MachineSSAUpdater.cpp \ MachineScheduler.cpp \ MachineSink.cpp \ MachineTraceMetrics.cpp \ MachineVerifier.cpp \ OcamlGC.cpp \ OptimizePHIs.cpp \ PHIElimination.cpp \ PHIEliminationUtils.cpp \ Passes.cpp \ PeepholeOptimizer.cpp \ ScoreboardHazardRecognizer.cpp \ PostRASchedulerList.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ RegAllocBase.cpp \ RegAllocBasic.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ RegAllocPBQP.cpp \ RegisterClassInfo.cpp \ RegisterCoalescer.cpp \ RegisterPressure.cpp \ RegisterScavenging.cpp \ ScheduleDAG.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ShadowStackGC.cpp \ ShrinkWrapping.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ Spiller.cpp \ SpillPlacement.cpp \ SplitKit.cpp \ StackColoring.cpp \ StackProtector.cpp \ StackSlotColoring.cpp \ StrongPHIElimination.cpp \ TailDuplication.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfoImpl.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ TargetSchedule.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ VirtRegMap.cpp .if defined(HOSTLIB) .include # Crashes some versions of GCC CPPFLAGS.RenderMachineFunction.cpp+= -O0 .else .include .endif