diff options
Diffstat (limited to 'contrib/llvm/include/llvm/Transforms/Scalar/LoopRotation.h')
-rw-r--r-- | contrib/llvm/include/llvm/Transforms/Scalar/LoopRotation.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/llvm/include/llvm/Transforms/Scalar/LoopRotation.h b/contrib/llvm/include/llvm/Transforms/Scalar/LoopRotation.h index b21c731..ea8d561 100644 --- a/contrib/llvm/include/llvm/Transforms/Scalar/LoopRotation.h +++ b/contrib/llvm/include/llvm/Transforms/Scalar/LoopRotation.h @@ -16,14 +16,19 @@ #include "llvm/Analysis/LoopInfo.h" #include "llvm/IR/PassManager.h" +#include "llvm/Transforms/Scalar/LoopPassManager.h" namespace llvm { /// A simple loop rotation transformation. class LoopRotatePass : public PassInfoMixin<LoopRotatePass> { public: - LoopRotatePass(); - PreservedAnalyses run(Loop &L, AnalysisManager<Loop> &AM); + LoopRotatePass(bool EnableHeaderDuplication = true); + PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, + LoopStandardAnalysisResults &AR, LPMUpdater &U); + +private: + const bool EnableHeaderDuplication; }; } |