2010-10-07 20:05:11 +02:00
|
|
|
/*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\
|
|
|
|
|* *|
|
2019-01-19 09:50:56 +01:00
|
|
|
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
|
|
|
|
|* Exceptions. *|
|
|
|
|
|* See https://llvm.org/LICENSE.txt for license information. *|
|
|
|
|
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
|
2010-10-07 20:05:11 +02:00
|
|
|
|* *|
|
|
|
|
|*===----------------------------------------------------------------------===*|
|
|
|
|
|* *|
|
|
|
|
|* 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-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_C_INITIALIZATION_H
|
|
|
|
#define LLVM_C_INITIALIZATION_H
|
2010-10-07 20:05:11 +02:00
|
|
|
|
2015-12-18 02:46:52 +01:00
|
|
|
#include "llvm-c/Types.h"
|
2010-10-07 20:05:11 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-03-21 04:54:29 +01:00
|
|
|
/**
|
|
|
|
* @defgroup LLVMCInitialization Initialization Routines
|
|
|
|
* @ingroup LLVMC
|
|
|
|
*
|
|
|
|
* This module contains routines used to initialize the LLVM system.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2010-10-07 21:51:21 +02:00
|
|
|
void LLVMInitializeCore(LLVMPassRegistryRef R);
|
2010-10-07 20:05:11 +02:00
|
|
|
void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
|
|
|
|
void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
|
2013-01-28 02:35:51 +01:00
|
|
|
void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R);
|
2012-02-01 04:51:43 +01:00
|
|
|
void LLVMInitializeVectorization(LLVMPassRegistryRef R);
|
2010-10-07 22:04:55 +02:00
|
|
|
void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
|
2018-04-24 02:39:29 +02:00
|
|
|
void LLVMInitializeAggressiveInstCombiner(LLVMPassRegistryRef R);
|
2010-10-07 20:09:59 +02:00
|
|
|
void LLVMInitializeIPO(LLVMPassRegistryRef R);
|
2010-10-07 22:17:24 +02:00
|
|
|
void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
|
2010-10-07 20:31:00 +02:00
|
|
|
void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
|
|
|
|
void LLVMInitializeIPA(LLVMPassRegistryRef R);
|
2010-10-07 20:41:20 +02:00
|
|
|
void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
|
2010-10-07 20:50:11 +02:00
|
|
|
void LLVMInitializeTarget(LLVMPassRegistryRef R);
|
2010-10-07 20:05:11 +02:00
|
|
|
|
2012-03-21 04:54:29 +01:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2010-10-07 20:05:11 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|