blob: ada473818da641b45a3b46cba8b9bec6d8faaa81 [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
Gregory Szorc6244b512012-03-21 03:54:29 +000025/**
26 * @defgroup LLVMCInitialization Initialization Routines
27 * @ingroup LLVMC
28 *
29 * This module contains routines used to initialize the LLVM system.
30 *
31 * @{
32 */
33
Owen Andersonb8a1ccf2010-10-07 19:51:21 +000034void LLVMInitializeCore(LLVMPassRegistryRef R);
Owen Andersonfbd121e2010-10-07 18:05:11 +000035void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
36void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
Michael Gottesman24c48982013-01-28 01:35:51 +000037void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R);
Hal Finkelde5e5ec2012-02-01 03:51:43 +000038void LLVMInitializeVectorization(LLVMPassRegistryRef R);
Owen Anderson74cfb0c2010-10-07 20:04:55 +000039void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
Owen Anderson2c812962010-10-07 18:09:59 +000040void LLVMInitializeIPO(LLVMPassRegistryRef R);
Owen Andersonaa4897f2010-10-07 20:17:24 +000041void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
Owen Anderson861f4c32010-10-07 18:31:00 +000042void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
43void LLVMInitializeIPA(LLVMPassRegistryRef R);
Owen Anderson78b15242010-10-07 18:41:20 +000044void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
Owen Anderson99663062010-10-07 18:50:11 +000045void LLVMInitializeTarget(LLVMPassRegistryRef R);
Owen Andersonfbd121e2010-10-07 18:05:11 +000046
Gregory Szorc6244b512012-03-21 03:54:29 +000047/**
48 * @}
49 */
50
Owen Andersonfbd121e2010-10-07 18:05:11 +000051#ifdef __cplusplus
52}
53#endif
54
55#endif