diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2010-03-02 23:58:54 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2010-03-02 23:58:54 +0000 |
commit | df7df075b723e926e51555bf5aff6e231279a479 (patch) | |
tree | 81d043d94f964ed4a33b62f3ea6572da6ff3c439 /include/llvm-c/Core.h | |
parent | fb444af5c9901271dc115a3197d7fa9ef4187fdd (diff) |
Add Module functions in place of module providers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r-- | include/llvm-c/Core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index c048f47a71..457436d121 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -1022,6 +1022,9 @@ LLVMPassManagerRef LLVMCreatePassManager(void); provider. It does not take ownership of the module provider. This type of pipeline is suitable for code generation and JIT compilation tasks. See llvm::FunctionPassManager::FunctionPassManager. */ +LLVMPassManagerRef LLVMCreateFunctionPassManagerForModule(LLVMModuleRef M); + +/** Deprecated: Use LLVMCreateFunctionPassManagerForModule instead. */ LLVMPassManagerRef LLVMCreateFunctionPassManager(LLVMModuleProviderRef MP); /** Initializes, executes on the provided module, and finalizes all of the |