[InstCombine] Signed saturation patterns
[llvm-complete.git] / include / llvm / Transforms / Scalar / InductiveRangeCheckElimination.h
blobb1e700714e5195369b4869afb653f12df5a24a25
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.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H
15 #define LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H
17 #include "llvm/IR/PassManager.h"
18 #include "llvm/Transforms/Scalar/LoopPassManager.h"
20 namespace llvm {
22 class IRCEPass : public PassInfoMixin<IRCEPass> {
23 public:
24 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
25 LoopStandardAnalysisResults &AR, LPMUpdater &U);
28 } // end namespace llvm
30 #endif // LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H