mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 14:02:52 +02:00
b636a525d4
This pass hoists duplicated computations in the program. The primary goal of gvn-hoist is to reduce the size of functions before inline heuristics to reduce the total cost of function inlining. Pass written by Sebastian Pop, Aditya Kumar, Xiaoyu Hu, and Brian Rzycki. Important algorithmic contributions by Daniel Berlin under the form of reviews. Differential Revision: http://reviews.llvm.org/D19338 llvm-svn: 275561
64 lines
1.3 KiB
CMake
64 lines
1.3 KiB
CMake
add_llvm_library(LLVMScalarOpts
|
|
ADCE.cpp
|
|
AlignmentFromAssumptions.cpp
|
|
BDCE.cpp
|
|
ConstantHoisting.cpp
|
|
ConstantProp.cpp
|
|
CorrelatedValuePropagation.cpp
|
|
DCE.cpp
|
|
DeadStoreElimination.cpp
|
|
EarlyCSE.cpp
|
|
FlattenCFGPass.cpp
|
|
Float2Int.cpp
|
|
GuardWidening.cpp
|
|
GVN.cpp
|
|
GVNHoist.cpp
|
|
InductiveRangeCheckElimination.cpp
|
|
IndVarSimplify.cpp
|
|
JumpThreading.cpp
|
|
LICM.cpp
|
|
LoadCombine.cpp
|
|
LoopDeletion.cpp
|
|
LoopDataPrefetch.cpp
|
|
LoopDistribute.cpp
|
|
LoopIdiomRecognize.cpp
|
|
LoopInstSimplify.cpp
|
|
LoopInterchange.cpp
|
|
LoopLoadElimination.cpp
|
|
LoopRerollPass.cpp
|
|
LoopRotation.cpp
|
|
LoopSimplifyCFG.cpp
|
|
LoopStrengthReduce.cpp
|
|
LoopUnrollPass.cpp
|
|
LoopUnswitch.cpp
|
|
LoopVersioningLICM.cpp
|
|
LowerAtomic.cpp
|
|
LowerExpectIntrinsic.cpp
|
|
LowerGuardIntrinsic.cpp
|
|
MemCpyOptimizer.cpp
|
|
MergedLoadStoreMotion.cpp
|
|
NaryReassociate.cpp
|
|
PartiallyInlineLibCalls.cpp
|
|
PlaceSafepoints.cpp
|
|
Reassociate.cpp
|
|
Reg2Mem.cpp
|
|
RewriteStatepointsForGC.cpp
|
|
SCCP.cpp
|
|
SROA.cpp
|
|
Scalar.cpp
|
|
Scalarizer.cpp
|
|
SeparateConstOffsetFromGEP.cpp
|
|
SimplifyCFGPass.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
|
|
)
|
|
|
|
add_dependencies(LLVMScalarOpts intrinsics_gen)
|