From 16ddd885d84beb57ac68e1503faa94cda279be4b Mon Sep 17 00:00:00 2001 From: Wesley Peck Date: Fri, 9 Apr 2010 20:43:20 +0000 Subject: 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 --- include/llvm-c/Transforms/IPO.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/llvm-c') 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); -- cgit v1.1