static_library("Scalar") { output_name = "LLVMScalarOpts" deps = [ "//llvm/include/llvm/Config:llvm-config", "//llvm/lib/Analysis", "//llvm/lib/IR", "//llvm/lib/Support", "//llvm/lib/Transforms/AggressiveInstCombine", "//llvm/lib/Transforms/InstCombine", "//llvm/lib/Transforms/Utils", ] sources = [ "ADCE.cpp", "AlignmentFromAssumptions.cpp", "AnnotationRemarks.cpp", "BDCE.cpp", "CallSiteSplitting.cpp", "ConstantHoisting.cpp", "ConstraintElimination.cpp", "CorrelatedValuePropagation.cpp", "DCE.cpp", "DFAJumpThreading.cpp", "DeadStoreElimination.cpp", "DivRemPairs.cpp", "EarlyCSE.cpp", "FlattenCFGPass.cpp", "Float2Int.cpp", "GVN.cpp", "GVNHoist.cpp", "GVNSink.cpp", "GuardWidening.cpp", "IVUsersPrinter.cpp", "IndVarSimplify.cpp", "InductiveRangeCheckElimination.cpp", "InferAddressSpaces.cpp", "InstSimplifyPass.cpp", "JumpThreading.cpp", "LICM.cpp", "LoopAccessAnalysisPrinter.cpp", "LoopBoundSplit.cpp", "LoopDataPrefetch.cpp", "LoopDeletion.cpp", "LoopDistribute.cpp", "LoopFlatten.cpp", "LoopFuse.cpp", "LoopIdiomRecognize.cpp", "LoopInstSimplify.cpp", "LoopInterchange.cpp", "LoopLoadElimination.cpp", "LoopPassManager.cpp", "LoopPredication.cpp", "LoopRerollPass.cpp", "LoopRotation.cpp", "LoopSimplifyCFG.cpp", "LoopSink.cpp", "LoopStrengthReduce.cpp", "LoopUnrollAndJamPass.cpp", "LoopUnrollPass.cpp", "LoopVersioningLICM.cpp", "LowerAtomicPass.cpp", "LowerConstantIntrinsics.cpp", "LowerExpectIntrinsic.cpp", "LowerGuardIntrinsic.cpp", "LowerMatrixIntrinsics.cpp", "LowerWidenableCondition.cpp", "MakeGuardsExplicit.cpp", "MemCpyOptimizer.cpp", "MergeICmps.cpp", "MergedLoadStoreMotion.cpp", "NaryReassociate.cpp", "NewGVN.cpp", "PartiallyInlineLibCalls.cpp", "PlaceSafepoints.cpp", "Reassociate.cpp", "Reg2Mem.cpp", "RewriteStatepointsForGC.cpp", "SCCP.cpp", "SROA.cpp", "Scalar.cpp", "ScalarizeMaskedMemIntrin.cpp", "Scalarizer.cpp", "SeparateConstOffsetFromGEP.cpp", "SimpleLoopUnswitch.cpp", "SimplifyCFGPass.cpp", "Sink.cpp", "SpeculativeExecution.cpp", "StraightLineStrengthReduce.cpp", "StructurizeCFG.cpp", "TLSVariableHoist.cpp", "TailRecursionElimination.cpp", "WarnMissedTransforms.cpp", ] }