1 //===- InductiveRangeCheckElimination.h - IRCE ------------------*- C++ -*-===//
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 //
9 // This file provides the interface for the Inductive Range Check Elimination
10 // loop pass.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H
15 #define LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H
16 
17 #include "llvm/IR/PassManager.h"
18 #include "llvm/Transforms/Scalar/LoopPassManager.h"
19 
20 namespace llvm {
21 
22 class IRCEPass : public PassInfoMixin<IRCEPass> {
23 public:
24   PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
25                         LoopStandardAnalysisResults &AR, LPMUpdater &U);
26 };
27 
28 } // end namespace llvm
29 
30 #endif // LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H
31