[InstCombine] Signed saturation patterns
[llvm-complete.git] / include / llvm / Transforms / Scalar / MergeICmps.h
blob63bdbf8f4d095c511a75229dada96e3cd6f95cf9
1 //===- MergeICmps.h -----------------------------*- 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TRANSFORMS_SCALAR_MERGEICMPS_H
10 #define LLVM_TRANSFORMS_SCALAR_MERGEICMPS_H
12 #include "llvm/IR/PassManager.h"
14 namespace llvm {
16 class Function;
18 struct MergeICmpsPass
19 : PassInfoMixin<MergeICmpsPass> {
20 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
23 } // end namespace llvm
25 #endif // LLVM_TRANSFORMS_SCALAR_MERGEICMPS_H