2010-10-08 02:05:11 +08:00
|
|
|
/*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\
|
|
|
|
|* *|
|
|
|
|
|* The LLVM Compiler Infrastructure *|
|
|
|
|
|* *|
|
|
|
|
|* This file is distributed under the University of Illinois Open Source *|
|
|
|
|
|* License. See LICENSE.TXT for details. *|
|
|
|
|
|* *|
|
|
|
|
|*===----------------------------------------------------------------------===*|
|
|
|
|
|* *|
|
|
|
|
|* This header declares the C interface to LLVM initialization routines, *|
|
|
|
|
|* which must be called before you can use the functionality provided by *|
|
|
|
|
|* the corresponding LLVM library. *|
|
|
|
|
|* *|
|
|
|
|
\*===----------------------------------------------------------------------===*/
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_C_INITIALIZATION_H
|
|
|
|
#define LLVM_C_INITIALIZATION_H
|
2010-10-08 02:05:11 +08:00
|
|
|
|
2015-12-18 09:46:52 +08:00
|
|
|
#include "llvm-c/Types.h"
|
2010-10-08 02:05:11 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-03-21 11:54:29 +08:00
|
|
|
/**
|
|
|
|
* @defgroup LLVMCInitialization Initialization Routines
|
|
|
|
* @ingroup LLVMC
|
|
|
|
*
|
|
|
|
* This module contains routines used to initialize the LLVM system.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2010-10-08 03:51:21 +08:00
|
|
|
void LLVMInitializeCore(LLVMPassRegistryRef R);
|
2010-10-08 02:05:11 +08:00
|
|
|
void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
|
|
|
|
void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
|
2013-01-28 09:35:51 +08:00
|
|
|
void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R);
|
2012-02-01 11:51:43 +08:00
|
|
|
void LLVMInitializeVectorization(LLVMPassRegistryRef R);
|
2010-10-08 04:04:55 +08:00
|
|
|
void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
|
2010-10-08 02:09:59 +08:00
|
|
|
void LLVMInitializeIPO(LLVMPassRegistryRef R);
|
2010-10-08 04:17:24 +08:00
|
|
|
void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
|
2010-10-08 02:31:00 +08:00
|
|
|
void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
|
|
|
|
void LLVMInitializeIPA(LLVMPassRegistryRef R);
|
2010-10-08 02:41:20 +08:00
|
|
|
void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
|
2010-10-08 02:50:11 +08:00
|
|
|
void LLVMInitializeTarget(LLVMPassRegistryRef R);
|
2010-10-08 02:05:11 +08:00
|
|
|
|
2012-03-21 11:54:29 +08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2010-10-08 02:05:11 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|