• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
25 void LLVMInitializeCore(LLVMPassRegistryRef R);
26 void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
27 void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
28 void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
29 void LLVMInitializeIPO(LLVMPassRegistryRef R);
30 void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
31 void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
32 void LLVMInitializeIPA(LLVMPassRegistryRef R);
33 void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
34 void LLVMInitializeTarget(LLVMPassRegistryRef R);
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif
41