Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame] | 1 | /*===-- AggressiveInstCombine.h ---------------------------------*- C++ -*-===*\ |
| 2 | |* *| |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 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 *| |
Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame] | 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 | \*===----------------------------------------------------------------------===*/ |
| 14 | |
| 15 | #ifndef LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H |
| 16 | #define LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H |
| 17 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 18 | #include "llvm-c/ExternC.h" |
Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame] | 19 | #include "llvm-c/Types.h" |
| 20 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 21 | LLVM_C_EXTERN_C_BEGIN |
Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame] | 22 | |
| 23 | /** |
| 24 | * @defgroup LLVMCTransformsAggressiveInstCombine Aggressive Instruction Combining transformations |
| 25 | * @ingroup LLVMCTransforms |
| 26 | * |
| 27 | * @{ |
| 28 | */ |
| 29 | |
| 30 | /** See llvm::createAggressiveInstCombinerPass function. */ |
| 31 | void LLVMAddAggressiveInstCombinerPass(LLVMPassManagerRef PM); |
| 32 | |
| 33 | /** |
| 34 | * @} |
| 35 | */ |
| 36 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 37 | LLVM_C_EXTERN_C_END |
Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame] | 38 | |
| 39 | #endif |
| 40 | |