# $FreeBSD$ .include LIB= llvmscalaropts SRCDIR= lib/Transforms/Scalar SRCS= ADCE.cpp \ AlignmentFromAssumptions.cpp \ BDCE.cpp \ ConstantHoisting.cpp \ ConstantProp.cpp \ CorrelatedValuePropagation.cpp \ DCE.cpp \ DeadStoreElimination.cpp \ EarlyCSE.cpp \ FlattenCFGPass.cpp \ Float2Int.cpp \ GVN.cpp \ IndVarSimplify.cpp \ InductiveRangeCheckElimination.cpp \ JumpThreading.cpp \ LICM.cpp \ LoadCombine.cpp \ LoopDeletion.cpp \ LoopDistribute.cpp \ LoopIdiomRecognize.cpp \ LoopInterchange.cpp \ LoopLoadElimination.cpp \ LoopRerollPass.cpp \ LoopRotation.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ LowerAtomic.cpp \ LowerExpectIntrinsic.cpp \ MemCpyOptimizer.cpp \ MergedLoadStoreMotion.cpp \ NaryReassociate.cpp \ PartiallyInlineLibCalls.cpp \ PlaceSafepoints.cpp \ Reassociate.cpp \ Reg2Mem.cpp \ RewriteStatepointsForGC.cpp \ SCCP.cpp \ SROA.cpp \ ScalarReplAggregates.cpp \ Scalarizer.cpp \ SeparateConstOffsetFromGEP.cpp \ SimplifyCFGPass.cpp \ Sink.cpp \ SpeculativeExecution.cpp \ StraightLineStrengthReduce.cpp \ StructurizeCFG.cpp \ TailRecursionElimination.cpp .if ${MK_CLANG_EXTRAS} != "no" SRCS+= LoopInstSimplify.cpp \ Scalar.cpp .endif TGHDRS= Attributes \ Intrinsics .include "../clang.lib.mk"