aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-11-17 16:02:50 +0000
committerHal Finkel <hfinkel@anl.gov>2013-11-17 16:02:50 +0000
commitc8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b (patch)
treeef0d752361928fd7bf0a0142d4b938eede1be18d /include
parente8a957d2a91d02af0b9c3808b31067d236b22196 (diff)
downloadexternal_llvm-c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b.zip
external_llvm-c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b.tar.gz
external_llvm-c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b.tar.bz2
Add a loop rerolling flag to the PassManagerBuilder
This adds a boolean member variable to the PassManagerBuilder to control loop rerolling (just like we have for unrolling and the various vectorization options). This is necessary for control by the frontend. Loop rerolling remains disabled by default at all optimization levels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/PassManagerBuilder.h b/include/llvm/Transforms/IPO/PassManagerBuilder.h
index 3648a3d..2788774 100644
--- a/include/llvm/Transforms/IPO/PassManagerBuilder.h
+++ b/include/llvm/Transforms/IPO/PassManagerBuilder.h
@@ -112,6 +112,7 @@ public:
bool SLPVectorize;
bool LoopVectorize;
bool LateVectorize;
+ bool RerollLoops;
private:
/// ExtensionList - This is list of all of the extensions that are registered.