aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-04-09 20:43:20 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-04-09 20:43:20 +0000
commit16ddd885d84beb57ac68e1503faa94cda279be4b (patch)
tree6eab04404c6873060f3e5f115ca1b955a3e8e8cc /include/llvm-c
parentec80e2693ad01262592096d061861e7f1755482e (diff)
downloadexternal_llvm-16ddd885d84beb57ac68e1503faa94cda279be4b.zip
external_llvm-16ddd885d84beb57ac68e1503faa94cda279be4b.tar.gz
external_llvm-16ddd885d84beb57ac68e1503faa94cda279be4b.tar.bz2
Adding IPSCCP and Internalize passes to the C-bindings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Transforms/IPO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm-c/Transforms/IPO.h b/include/llvm-c/Transforms/IPO.h
index 0a94315..d16e858 100644
--- a/include/llvm-c/Transforms/IPO.h
+++ b/include/llvm-c/Transforms/IPO.h
@@ -54,6 +54,12 @@ void LLVMAddLowerSetJmpPass(LLVMPassManagerRef PM);
/** See llvm::createPruneEHPass function. */
void LLVMAddPruneEHPass(LLVMPassManagerRef PM);
+/** See llvm::createIPSCCPPass function. */
+void LLVMAddIPSCCPPass(LLVMPassManagerRef PM);
+
+/** See llvm::createInternalizePass function. */
+void LLVMAddInternalizePass(LLVMPassManagerRef, unsigned AllButMain);
+
// FIXME: Remove in LLVM 3.0.
void LLVMAddRaiseAllocationsPass(LLVMPassManagerRef PM);