2010-10-08 02:05:11 +08:00
|
|
|
/*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\
|
|
|
|
|* *|
|
2019-01-19 16:50:56 +08: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-08 02:05:11 +08: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-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_C_INITIALIZATION_H
|
|
|
|
#define LLVM_C_INITIALIZATION_H
|
2010-10-08 02:05:11 +08:00
|
|
|
|
2019-11-15 05:57:57 +08:00
|
|
|
#include "llvm-c/ExternC.h"
|
2015-12-18 09:46:52 +08:00
|
|
|
#include "llvm-c/Types.h"
|
2010-10-08 02:05:11 +08:00
|
|
|
|
2019-11-15 05:57:57 +08:00
|
|
|
LLVM_C_EXTERN_C_BEGIN
|
2010-10-08 02:05:11 +08:00
|
|
|
|
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);
|
2018-04-24 08:39:29 +08:00
|
|
|
void LLVMInitializeAggressiveInstCombiner(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
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2019-11-15 05:57:57 +08:00
|
|
|
LLVM_C_EXTERN_C_END
|
2010-10-08 02:05:11 +08:00
|
|
|
|
|
|
|
#endif
|