blob: cbe60df9088924c1a90bb62b28d904c402467745 [file] [log] [blame]
Owen Anderson383fec52010-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
Owen Anderson44621e42010-10-07 19:51:21 +000025void LLVMInitializeCore(LLVMPassRegistryRef R);
Owen Anderson383fec52010-10-07 18:05:11 +000026void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
27void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
Hal Finkelc34e5112012-02-01 03:51:43 +000028void LLVMInitializeVectorization(LLVMPassRegistryRef R);
Owen Andersonf7ef5df2010-10-07 20:04:55 +000029void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
Owen Andersonbf70a032010-10-07 18:09:59 +000030void LLVMInitializeIPO(LLVMPassRegistryRef R);
Owen Anderson97868682010-10-07 20:17:24 +000031void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
Owen Anderson6875c2e2010-10-07 18:31:00 +000032void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
33void LLVMInitializeIPA(LLVMPassRegistryRef R);
Owen Anderson80fc0762010-10-07 18:41:20 +000034void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
Owen Andersone9d5d072010-10-07 18:50:11 +000035void LLVMInitializeTarget(LLVMPassRegistryRef R);
Owen Anderson383fec52010-10-07 18:05:11 +000036
37#ifdef __cplusplus
38}
39#endif
40
41#endif