llvm.org GIT mirror llvm / 5797fe2
[Aggressive InstCombine] Move C bindings to their own header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341461 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 1 year, 1 month ago
3 changed file(s) with 44 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
0 /*===-- AggressiveInstCombine.h ---------------------------------*- C++ -*-===*\
1 |* *|
2 |* The LLVM Compiler Infrastructure *|
3 |* *|
4 |* This file is distributed under the University of Illinois Open Source *|
5 |* License. See LICENSE.TXT for details. *|
6 |* *|
7 |*===----------------------------------------------------------------------===*|
8 |* *|
9 |* This header declares the C interface to libLLVMAggressiveInstCombine.a, *|
10 |* which combines instructions to form fewer, simple IR instructions. *|
11 |* *|
12 \*===----------------------------------------------------------------------===*/
13
14 #ifndef LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H
15 #define LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H
16
17 #include "llvm-c/Types.h"
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
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
37 #ifdef __cplusplus
38 }
39 #endif /* defined(__cplusplus) */
40
41 #endif
42
3333
3434 /** See llvm::createAggressiveDCEPass function. */
3535 void LLVMAddAggressiveDCEPass(LLVMPassManagerRef PM);
36
37 /** See llvm::createAggressiveInstCombinerPass function. */
38 void LLVMAddAggressiveInstCombinerPass(LLVMPassManagerRef PM);
3936
4037 /** See llvm::createBitTrackingDCEPass function. */
4138 void LLVMAddBitTrackingDCEPass(LLVMPassManagerRef PM);
1515 #include "llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h"
1616 #include "AggressiveInstCombineInternal.h"
1717 #include "llvm-c/Initialization.h"
18 #include "llvm-c/Transforms/Scalar.h"
18 #include "llvm-c/Transforms/AggressiveInstCombine.h"
1919 #include "llvm/Analysis/AliasAnalysis.h"
2020 #include "llvm/Analysis/BasicAliasAnalysis.h"
2121 #include "llvm/Analysis/GlobalsModRef.h"