1# $NetBSD: Makefile,v 1.19 2015/01/29 20:41:36 joerg Exp $ 2 3LIB= LLVMScalarOpts 4 5.include <bsd.init.mk> 6 7.PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar 8 9SRCS+= ADCE.cpp \ 10 AlignmentFromAssumptions.cpp \ 11 ConstantHoisting.cpp \ 12 ConstantProp.cpp \ 13 CorrelatedValuePropagation.cpp \ 14 DCE.cpp \ 15 DeadStoreElimination.cpp \ 16 EarlyCSE.cpp \ 17 FlattenCFGPass.cpp \ 18 GVN.cpp \ 19 IndVarSimplify.cpp \ 20 JumpThreading.cpp \ 21 LICM.cpp \ 22 LoadCombine.cpp \ 23 LoopDeletion.cpp \ 24 LoopIdiomRecognize.cpp \ 25 LoopInstSimplify.cpp \ 26 LoopRerollPass.cpp \ 27 LoopRotation.cpp \ 28 LoopStrengthReduce.cpp \ 29 LoopUnrollPass.cpp \ 30 LoopUnswitch.cpp \ 31 LowerAtomic.cpp \ 32 MemCpyOptimizer.cpp \ 33 MergedLoadStoreMotion.cpp \ 34 PartiallyInlineLibCalls.cpp \ 35 Reassociate.cpp \ 36 Reg2Mem.cpp \ 37 SCCP.cpp \ 38 SROA.cpp \ 39 SampleProfile.cpp \ 40 Scalar.cpp \ 41 ScalarReplAggregates.cpp \ 42 Scalarizer.cpp \ 43 SeparateConstOffsetFromGEP.cpp \ 44 SimplifyCFGPass.cpp \ 45 Sink.cpp \ 46 StructurizeCFG.cpp \ 47 TailRecursionElimination.cpp 48 49.if defined(HOSTLIB) 50.include <bsd.hostlib.mk> 51.else 52.include <bsd.lib.mk> 53.endif 54