blob: 9a2f04c03e619e540ddf2ff965498b47708cdc08 [file] [log] [blame]
Owen Andersonfbd121e2010-10-07 18:05:11 +00001/*===-- 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
22extern "C" {
23#endif
24
25void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
26void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
Owen Anderson2c812962010-10-07 18:09:59 +000027void LLVMInitializeIPO(LLVMPassRegistryRef R);
Owen Anderson861f4c32010-10-07 18:31:00 +000028void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
29void LLVMInitializeIPA(LLVMPassRegistryRef R);
Owen Anderson78b15242010-10-07 18:41:20 +000030void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
Owen Andersonfbd121e2010-10-07 18:05:11 +000031
32#ifdef __cplusplus
33}
34#endif
35
36#endif