add_llvm_library(LLVMScalarOpts
ADCE.cpp
- BasicBlockPlacement.cpp
- CodeGenLICM.cpp
- CodeGenPrepare.cpp
- CondPropagate.cpp
+ AlignmentFromAssumptions.cpp
+ BDCE.cpp
+ ConstantHoisting.cpp
ConstantProp.cpp
+ CorrelatedValuePropagation.cpp
DCE.cpp
DeadStoreElimination.cpp
- GEPSplitter.cpp
+ EarlyCSE.cpp
+ FlattenCFGPass.cpp
+ Float2Int.cpp
GVN.cpp
+ InductiveRangeCheckElimination.cpp
IndVarSimplify.cpp
- InstructionCombining.cpp
JumpThreading.cpp
LICM.cpp
+ LoadCombine.cpp
LoopDeletion.cpp
- LoopIndexSplit.cpp
+ LoopDistribute.cpp
+ LoopIdiomRecognize.cpp
+ LoopInstSimplify.cpp
+ LoopInterchange.cpp
+ LoopRerollPass.cpp
LoopRotation.cpp
LoopStrengthReduce.cpp
- LoopUnroll.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
+ SampleProfile.cpp
Scalar.cpp
ScalarReplAggregates.cpp
+ Scalarizer.cpp
+ SeparateConstOffsetFromGEP.cpp
SimplifyCFGPass.cpp
- SimplifyHalfPowrLibCalls.cpp
- SimplifyLibCalls.cpp
- TailDuplication.cpp
+ Sink.cpp
+ SpeculativeExecution.cpp
+ StraightLineStrengthReduce.cpp
+ StructurizeCFG.cpp
TailRecursionElimination.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar
)
-target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
+add_dependencies(LLVMScalarOpts intrinsics_gen)