1 add_llvm_library(LLVMScalarOpts 2 ADCE.cpp 3 AlignmentFromAssumptions.cpp 4 BDCE.cpp 5 ConstantHoisting.cpp 6 ConstantProp.cpp 7 CorrelatedValuePropagation.cpp 8 DCE.cpp 9 DeadStoreElimination.cpp 10 EarlyCSE.cpp 11 FlattenCFGPass.cpp 12 Float2Int.cpp 13 GVN.cpp 14 InductiveRangeCheckElimination.cpp 15 IndVarSimplify.cpp 16 JumpThreading.cpp 17 LICM.cpp 18 LoadCombine.cpp 19 LoopDeletion.cpp 20 LoopDistribute.cpp 21 LoopIdiomRecognize.cpp 22 LoopInstSimplify.cpp 23 LoopInterchange.cpp 24 LoopLoadElimination.cpp 25 LoopRerollPass.cpp 26 LoopRotation.cpp 27 LoopStrengthReduce.cpp 28 LoopUnrollPass.cpp 29 LoopUnswitch.cpp 30 LowerAtomic.cpp 31 LowerExpectIntrinsic.cpp 32 MemCpyOptimizer.cpp 33 MergedLoadStoreMotion.cpp 34 NaryReassociate.cpp 35 PartiallyInlineLibCalls.cpp 36 PlaceSafepoints.cpp 37 Reassociate.cpp 38 Reg2Mem.cpp 39 RewriteStatepointsForGC.cpp 40 SCCP.cpp 41 SROA.cpp 42 Scalar.cpp 43 ScalarReplAggregates.cpp 44 Scalarizer.cpp 45 SeparateConstOffsetFromGEP.cpp 46 SimplifyCFGPass.cpp 47 Sink.cpp 48 SpeculativeExecution.cpp 49 StraightLineStrengthReduce.cpp 50 StructurizeCFG.cpp 51 TailRecursionElimination.cpp 52 53 ADDITIONAL_HEADER_DIRS 54 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms 55 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar 56 ) 57 58 add_dependencies(LLVMScalarOpts intrinsics_gen) 59