1add_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 GuardWidening.cpp 14 GVN.cpp 15 InductiveRangeCheckElimination.cpp 16 IndVarSimplify.cpp 17 JumpThreading.cpp 18 LICM.cpp 19 LoadCombine.cpp 20 LoopDeletion.cpp 21 LoopDataPrefetch.cpp 22 LoopDistribute.cpp 23 LoopIdiomRecognize.cpp 24 LoopInstSimplify.cpp 25 LoopInterchange.cpp 26 LoopLoadElimination.cpp 27 LoopRerollPass.cpp 28 LoopRotation.cpp 29 LoopSimplifyCFG.cpp 30 LoopStrengthReduce.cpp 31 LoopUnrollPass.cpp 32 LoopUnswitch.cpp 33 LoopVersioningLICM.cpp 34 LowerAtomic.cpp 35 LowerExpectIntrinsic.cpp 36 LowerGuardIntrinsic.cpp 37 MemCpyOptimizer.cpp 38 MergedLoadStoreMotion.cpp 39 NaryReassociate.cpp 40 PartiallyInlineLibCalls.cpp 41 PlaceSafepoints.cpp 42 Reassociate.cpp 43 Reg2Mem.cpp 44 RewriteStatepointsForGC.cpp 45 SCCP.cpp 46 SROA.cpp 47 Scalar.cpp 48 Scalarizer.cpp 49 SeparateConstOffsetFromGEP.cpp 50 SimplifyCFGPass.cpp 51 Sink.cpp 52 SpeculativeExecution.cpp 53 StraightLineStrengthReduce.cpp 54 StructurizeCFG.cpp 55 TailRecursionElimination.cpp 56 57 ADDITIONAL_HEADER_DIRS 58 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms 59 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar 60 ) 61 62add_dependencies(LLVMScalarOpts intrinsics_gen) 63