aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h')
-rw-r--r--contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h b/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h
index 254e6072906a..f68ac70da324 100644
--- a/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h
+++ b/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopRotation.h
@@ -22,12 +22,14 @@ namespace llvm {
/// A simple loop rotation transformation.
class LoopRotatePass : public PassInfoMixin<LoopRotatePass> {
public:
- LoopRotatePass(bool EnableHeaderDuplication = true);
+ LoopRotatePass(bool EnableHeaderDuplication = true,
+ bool PrepareForLTO = false);
PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
LoopStandardAnalysisResults &AR, LPMUpdater &U);
private:
const bool EnableHeaderDuplication;
+ const bool PrepareForLTO;
};
}