1 /*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\
3 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
5 |* See https://llvm.org/LICENSE.txt for license information. *|
6 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
8 |*===----------------------------------------------------------------------===*|
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. *|
14 \*===----------------------------------------------------------------------===*/
16 #ifndef LLVM_C_INITIALIZATION_H
17 #define LLVM_C_INITIALIZATION_H
19 #include "llvm-c/Types.h"
26 * @defgroup LLVMCInitialization Initialization Routines
29 * This module contains routines used to initialize the LLVM system.
34 void LLVMInitializeCore(LLVMPassRegistryRef R
);
35 void LLVMInitializeTransformUtils(LLVMPassRegistryRef R
);
36 void LLVMInitializeScalarOpts(LLVMPassRegistryRef R
);
37 void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R
);
38 void LLVMInitializeVectorization(LLVMPassRegistryRef R
);
39 void LLVMInitializeInstCombine(LLVMPassRegistryRef R
);
40 void LLVMInitializeAggressiveInstCombiner(LLVMPassRegistryRef R
);
41 void LLVMInitializeIPO(LLVMPassRegistryRef R
);
42 void LLVMInitializeInstrumentation(LLVMPassRegistryRef R
);
43 void LLVMInitializeAnalysis(LLVMPassRegistryRef R
);
44 void LLVMInitializeIPA(LLVMPassRegistryRef R
);
45 void LLVMInitializeCodeGen(LLVMPassRegistryRef R
);
46 void LLVMInitializeTarget(LLVMPassRegistryRef R
);