[InstCombine] Signed saturation patterns
[llvm-core.git] / include / llvm-c / Transforms / AggressiveInstCombine.h
blobc0b0141c3da17bd67ffd2fc15ef0935b141d5933
1 /*===-- AggressiveInstCombine.h ---------------------------------*- C++ -*-===*\
2 |* *|
3 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4 |* Exceptions. *|
5 |* See https://llvm.org/LICENSE.txt for license information. *|
6 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
7 |* *|
8 |*===----------------------------------------------------------------------===*|
9 |* *|
10 |* This header declares the C interface to libLLVMAggressiveInstCombine.a, *|
11 |* which combines instructions to form fewer, simple IR instructions. *|
12 |* *|
13 \*===----------------------------------------------------------------------===*/
15 #ifndef LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H
16 #define LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H
18 #include "llvm-c/Types.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 /**
25 * @defgroup LLVMCTransformsAggressiveInstCombine Aggressive Instruction Combining transformations
26 * @ingroup LLVMCTransforms
28 * @{
31 /** See llvm::createAggressiveInstCombinerPass function. */
32 void LLVMAddAggressiveInstCombinerPass(LLVMPassManagerRef PM);
34 /**
35 * @}
38 #ifdef __cplusplus
40 #endif /* defined(__cplusplus) */
42 #endif