mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 09:18:30 +00:00
5d73448bb7
Patch by Brendon Cahoon! This extends the existing LoopUnroll and LoopUnrollPass. Brendon measured no regressions in the llvm test suite with -unroll-runtime enabled. This implementation works by using the existing loop unrolling code to unroll the loop by a power-of-two (default 8). It generates an if-then-else sequence of code prior to the loop to execute the extra iterations before entering the unrolled loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146245 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
624 B
CMake
32 lines
624 B
CMake
add_llvm_library(LLVMTransformUtils
|
|
AddrModeMatcher.cpp
|
|
BasicBlockUtils.cpp
|
|
BasicInliner.cpp
|
|
BreakCriticalEdges.cpp
|
|
BuildLibCalls.cpp
|
|
CloneFunction.cpp
|
|
CloneModule.cpp
|
|
CodeExtractor.cpp
|
|
DemoteRegToStack.cpp
|
|
InlineFunction.cpp
|
|
InstructionNamer.cpp
|
|
LCSSA.cpp
|
|
Local.cpp
|
|
LoopSimplify.cpp
|
|
LoopUnroll.cpp
|
|
LoopUnrollRuntime.cpp
|
|
LowerExpectIntrinsic.cpp
|
|
LowerInvoke.cpp
|
|
LowerSwitch.cpp
|
|
Mem2Reg.cpp
|
|
ModuleUtils.cpp
|
|
PromoteMemoryToRegister.cpp
|
|
SSAUpdater.cpp
|
|
SimplifyCFG.cpp
|
|
SimplifyIndVar.cpp
|
|
SimplifyInstructions.cpp
|
|
UnifyFunctionExitNodes.cpp
|
|
Utils.cpp
|
|
ValueMapper.cpp
|
|
)
|