diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopReroll.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopReroll.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopReroll.h b/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopReroll.h new file mode 100644 index 000000000000..6ae309e48a28 --- /dev/null +++ b/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopReroll.h @@ -0,0 +1,27 @@ +//===- LoopReroll.h - Loop rerolling pass ---------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H +#define LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H + +#include "llvm/IR/PassManager.h" +#include "llvm/Transforms/Scalar/LoopPassManager.h" + +namespace llvm { + +class Function; + +class LoopRerollPass : public PassInfoMixin<LoopRerollPass> { +public: + PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, + LoopStandardAnalysisResults &AR, LPMUpdater &U); +}; + +} // end namespace llvm + +#endif // LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H |