Owen Anderson | fbd121e | 2010-10-07 18:05:11 +0000 | [diff] [blame] | 1 | /*===-- llvm-c/Initialization.h - Initialization C Interface ------*- 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 LLVM initialization routines, *| |
| 11 | |* which must be called before you can use the functionality provided by *| |
| 12 | |* the corresponding LLVM library. *| |
| 13 | |* *| |
| 14 | \*===----------------------------------------------------------------------===*/ |
| 15 | |
| 16 | #ifndef LLVM_C_INITIALIZEPASSES_H |
| 17 | #define LLVM_C_INITIALIZEPASSES_H |
| 18 | |
| 19 | #include "llvm-c/Core.h" |
| 20 | |
| 21 | #ifdef __cplusplus |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
Owen Anderson | b8a1ccf | 2010-10-07 19:51:21 +0000 | [diff] [blame] | 25 | void LLVMInitializeCore(LLVMPassRegistryRef R); |
Owen Anderson | fbd121e | 2010-10-07 18:05:11 +0000 | [diff] [blame] | 26 | void LLVMInitializeTransformUtils(LLVMPassRegistryRef R); |
| 27 | void LLVMInitializeScalarOpts(LLVMPassRegistryRef R); |
Owen Anderson | 74cfb0c | 2010-10-07 20:04:55 +0000 | [diff] [blame] | 28 | void LLVMInitializeInstCombine(LLVMPassRegistryRef R); |
Owen Anderson | 2c81296 | 2010-10-07 18:09:59 +0000 | [diff] [blame] | 29 | void LLVMInitializeIPO(LLVMPassRegistryRef R); |
Owen Anderson | 861f4c3 | 2010-10-07 18:31:00 +0000 | [diff] [blame] | 30 | void LLVMInitializeAnalysis(LLVMPassRegistryRef R); |
| 31 | void LLVMInitializeIPA(LLVMPassRegistryRef R); |
Owen Anderson | 78b1524 | 2010-10-07 18:41:20 +0000 | [diff] [blame] | 32 | void LLVMInitializeCodeGen(LLVMPassRegistryRef R); |
Owen Anderson | 9966306 | 2010-10-07 18:50:11 +0000 | [diff] [blame] | 33 | void LLVMInitializeTarget(LLVMPassRegistryRef R); |
Owen Anderson | fbd121e | 2010-10-07 18:05:11 +0000 | [diff] [blame] | 34 | |
| 35 | #ifdef __cplusplus |
| 36 | } |
| 37 | #endif |
| 38 | |
| 39 | #endif |