LoopReroll.h 856 B

123456789101112131415161718192021222324252627
  1. //===- LoopReroll.h - Loop rerolling pass ---------------------------------===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H
  9. #define LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H
  10. #include "llvm/IR/PassManager.h"
  11. #include "llvm/Transforms/Scalar/LoopPassManager.h"
  12. namespace llvm {
  13. class Function;
  14. class LoopRerollPass : public PassInfoMixin<LoopRerollPass> {
  15. public:
  16. PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
  17. LoopStandardAnalysisResults &AR, LPMUpdater &U);
  18. };
  19. } // end namespace llvm
  20. #endif // LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H