forked from OSchip/llvm-project
44 lines
799 B
CMake
44 lines
799 B
CMake
add_llvm_library(LLVMScalarOpts
|
|
ADCE.cpp
|
|
BasicBlockPlacement.cpp
|
|
CodeGenPrepare.cpp
|
|
ConstantProp.cpp
|
|
CorrelatedValuePropagation.cpp
|
|
DCE.cpp
|
|
DeadStoreElimination.cpp
|
|
EarlyCSE.cpp
|
|
GVN.cpp
|
|
IndVarSimplify.cpp
|
|
JumpThreading.cpp
|
|
LICM.cpp
|
|
LoopDeletion.cpp
|
|
LoopIdiomRecognize.cpp
|
|
LoopInstSimplify.cpp
|
|
LoopRotation.cpp
|
|
LoopStrengthReduce.cpp
|
|
LoopUnrollPass.cpp
|
|
LoopUnswitch.cpp
|
|
LowerAtomic.cpp
|
|
MemCpyOptimizer.cpp
|
|
ObjCARC.cpp
|
|
Reassociate.cpp
|
|
Reg2Mem.cpp
|
|
SCCP.cpp
|
|
Scalar.cpp
|
|
ScalarReplAggregates.cpp
|
|
SimplifyCFGPass.cpp
|
|
SimplifyLibCalls.cpp
|
|
Sink.cpp
|
|
TailDuplication.cpp
|
|
TailRecursionElimination.cpp
|
|
)
|
|
|
|
add_llvm_library_dependencies(LLVMScalarOpts
|
|
LLVMAnalysis
|
|
LLVMCore
|
|
LLVMInstCombine
|
|
LLVMSupport
|
|
LLVMTarget
|
|
LLVMTransformUtils
|
|
)
|