2010-10-07 18:05:11 +00: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. *|
|
|
|
|
|* *|
|
|
|
|
\*===----------------------------------------------------------------------===*/
|
|
|
|
|
|
|
|
#ifndef LLVM_C_INITIALIZEPASSES_H
|
|
|
|
#define LLVM_C_INITIALIZEPASSES_H
|
|
|
|
|
|
|
|
#include "llvm-c/Core.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-03-21 03:54:29 +00:00
|
|
|
/**
|
|
|
|
* @defgroup LLVMCInitialization Initialization Routines
|
|
|
|
* @ingroup LLVMC
|
|
|
|
*
|
|
|
|
* This module contains routines used to initialize the LLVM system.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2010-10-07 19:51:21 +00:00
|
|
|
void LLVMInitializeCore(LLVMPassRegistryRef R);
|
2010-10-07 18:05:11 +00:00
|
|
|
void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
|
|
|
|
void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
|
2012-02-01 03:51:43 +00:00
|
|
|
void LLVMInitializeVectorization(LLVMPassRegistryRef R);
|
2010-10-07 20:04:55 +00:00
|
|
|
void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
|
2010-10-07 18:09:59 +00:00
|
|
|
void LLVMInitializeIPO(LLVMPassRegistryRef R);
|
2010-10-07 20:17:24 +00:00
|
|
|
void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
|
2010-10-07 18:31:00 +00:00
|
|
|
void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
|
|
|
|
void LLVMInitializeIPA(LLVMPassRegistryRef R);
|
2010-10-07 18:41:20 +00:00
|
|
|
void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
|
2010-10-07 18:50:11 +00:00
|
|
|
void LLVMInitializeTarget(LLVMPassRegistryRef R);
|
2010-10-07 18:05:11 +00:00
|
|
|
|
2012-03-21 03:54:29 +00:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2010-10-07 18:05:11 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|