1# $OpenBSD: Makefile,v 1.15 2023/11/11 18:35:37 robert Exp $ 2 3LIB= LLVMScalarOpts 4NOPROFILE= 5 6CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms 7CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms/Scalar 8 9SRCS+= ADCE.cpp \ 10 AlignmentFromAssumptions.cpp \ 11 AnnotationRemarks.cpp \ 12 BDCE.cpp \ 13 CallSiteSplitting.cpp \ 14 ConstantHoisting.cpp \ 15 ConstraintElimination.cpp \ 16 CorrelatedValuePropagation.cpp \ 17 DCE.cpp \ 18 DeadStoreElimination.cpp \ 19 DFAJumpThreading.cpp \ 20 DivRemPairs.cpp \ 21 EarlyCSE.cpp \ 22 FlattenCFGPass.cpp \ 23 Float2Int.cpp \ 24 GuardWidening.cpp \ 25 GVN.cpp \ 26 GVNHoist.cpp \ 27 GVNSink.cpp \ 28 IVUsersPrinter.cpp \ 29 InductiveRangeCheckElimination.cpp \ 30 IndVarSimplify.cpp \ 31 InferAddressSpaces.cpp \ 32 InstSimplifyPass.cpp \ 33 JumpThreading.cpp \ 34 LICM.cpp \ 35 LoopAccessAnalysisPrinter.cpp \ 36 LoopBoundSplit.cpp \ 37 LoopSink.cpp \ 38 LoopDeletion.cpp \ 39 LoopDataPrefetch.cpp \ 40 LoopDistribute.cpp \ 41 LoopFuse.cpp \ 42 LoopIdiomRecognize.cpp \ 43 LoopInstSimplify.cpp \ 44 LoopInterchange.cpp \ 45 LoopFlatten.cpp \ 46 LoopLoadElimination.cpp \ 47 LoopPassManager.cpp \ 48 LoopPredication.cpp \ 49 LoopRerollPass.cpp \ 50 LoopRotation.cpp \ 51 LoopSimplifyCFG.cpp \ 52 LoopStrengthReduce.cpp \ 53 LoopUnrollPass.cpp \ 54 LoopUnrollAndJamPass.cpp \ 55 LoopVersioningLICM.cpp \ 56 LowerAtomicPass.cpp \ 57 LowerConstantIntrinsics.cpp \ 58 LowerExpectIntrinsic.cpp \ 59 LowerGuardIntrinsic.cpp \ 60 LowerMatrixIntrinsics.cpp \ 61 LowerWidenableCondition.cpp \ 62 MakeGuardsExplicit.cpp \ 63 MemCpyOptimizer.cpp \ 64 MergeICmps.cpp \ 65 MergedLoadStoreMotion.cpp \ 66 NaryReassociate.cpp \ 67 NewGVN.cpp \ 68 PartiallyInlineLibCalls.cpp \ 69 PlaceSafepoints.cpp \ 70 Reassociate.cpp \ 71 Reg2Mem.cpp \ 72 RewriteStatepointsForGC.cpp \ 73 ScalarSCCP.cpp \ 74 SROA.cpp \ 75 Scalar.cpp \ 76 Scalarizer.cpp \ 77 ScalarizeMaskedMemIntrin.cpp \ 78 SeparateConstOffsetFromGEP.cpp \ 79 SimpleLoopUnswitch.cpp \ 80 SimplifyCFGPass.cpp \ 81 Sink.cpp \ 82 SpeculativeExecution.cpp \ 83 StraightLineStrengthReduce.cpp \ 84 StructurizeCFG.cpp \ 85 TailRecursionElimination.cpp \ 86 TLSVariableHoist.cpp \ 87 WarnMissedTransforms.cpp 88 89ScalarSCCP.cpp: 90 ln -s ${LLVM_SRCS}/lib/Transforms/Scalar/SCCP.cpp $@ 91 92.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/Scalar 93 94CLEANFILES+= ScalarSCCP.cpp 95