Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame^] | 1 | /*===-- AggressiveInstCombine.h ---------------------------------*- C++ -*-===*\ |
| 2 | |* *| |
| 3 | |* The LLVM Compiler Infrastructure *| |
| 4 | |* *| |
| 5 | |* This file is distributed under the University of Illinois Open Source *| |
| 6 | |* License. See LICENSE.TXT for details. *| |
| 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 | |
| 18 | #include "llvm-c/Types.h" |
| 19 | |
| 20 | #ifdef __cplusplus |
| 21 | extern "C" { |
| 22 | #endif |
| 23 | |
| 24 | /** |
| 25 | * @defgroup LLVMCTransformsAggressiveInstCombine Aggressive Instruction Combining transformations |
| 26 | * @ingroup LLVMCTransforms |
| 27 | * |
| 28 | * @{ |
| 29 | */ |
| 30 | |
| 31 | /** See llvm::createAggressiveInstCombinerPass function. */ |
| 32 | void LLVMAddAggressiveInstCombinerPass(LLVMPassManagerRef PM); |
| 33 | |
| 34 | /** |
| 35 | * @} |
| 36 | */ |
| 37 | |
| 38 | #ifdef __cplusplus |
| 39 | } |
| 40 | #endif /* defined(__cplusplus) */ |
| 41 | |
| 42 | #endif |
| 43 | |