aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-02 23:58:54 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-02 23:58:54 +0000
commit6f3bbf40bf14b9a2c106044e8cf8e943874bf349 (patch)
tree81d043d94f964ed4a33b62f3ea6572da6ff3c439 /include/llvm-c/Core.h
parent2d4a799f476d741b8fca550efcf29124b3a6e465 (diff)
downloadexternal_llvm-6f3bbf40bf14b9a2c106044e8cf8e943874bf349.zip
external_llvm-6f3bbf40bf14b9a2c106044e8cf8e943874bf349.tar.gz
external_llvm-6f3bbf40bf14b9a2c106044e8cf8e943874bf349.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index c048f47..457436d 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