From 78b152470d80c27eec82087b2a3c3fdf809e0050 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 7 Oct 2010 18:41:20 +0000 Subject: Add initialization routines for CodeGen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115949 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Initialization.h | 1 + include/llvm/InitializePasses.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/llvm-c/Initialization.h b/include/llvm-c/Initialization.h index b32e22e..9a2f04c 100644 --- a/include/llvm-c/Initialization.h +++ b/include/llvm-c/Initialization.h @@ -27,6 +27,7 @@ void LLVMInitializeScalarOpts(LLVMPassRegistryRef R); void LLVMInitializeIPO(LLVMPassRegistryRef R); void LLVMInitializeAnalysis(LLVMPassRegistryRef R); void LLVMInitializeIPA(LLVMPassRegistryRef R); +void LLVMInitializeCodeGen(LLVMPassRegistryRef R); #ifdef __cplusplus } diff --git a/include/llvm/InitializePasses.h b/include/llvm/InitializePasses.h index 2720c8f..1a1f2e0 100644 --- a/include/llvm/InitializePasses.h +++ b/include/llvm/InitializePasses.h @@ -36,6 +36,9 @@ void initializeAnalysis(PassRegistry&); /// initializeIPA - Initialize all passes linked into the IPA library. void initializeIPA(PassRegistry&); +/// initializeCodeGen - Initialize all passes linked into the CodeGen library. +void initializeCodeGen(PassRegistry&); + void initializeAAEvalPass(PassRegistry&); void initializeADCEPass(PassRegistry&); void initializeAliasAnalysisAnalysisGroup(PassRegistry&); -- cgit v1.1