diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-03-20 17:16:03 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-03-20 17:16:03 +0000 |
commit | 69cf031ee33fc564c3888694cb1cd8ab5dae9fd2 (patch) | |
tree | 40d3bd06709555df036b06357b80f04785c7f5e4 /include/llvm-c | |
parent | 52d34d94c8890870350dad922678c03640ab310f (diff) | |
download | external_llvm-69cf031ee33fc564c3888694cb1cd8ab5dae9fd2.zip external_llvm-69cf031ee33fc564c3888694cb1cd8ab5dae9fd2.tar.gz external_llvm-69cf031ee33fc564c3888694cb1cd8ab5dae9fd2.tar.bz2 |
C and Objective Caml bindings for mem2reg and reg2mem.
Patch by Erick Tryzelaar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Transforms/Scalar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm-c/Transforms/Scalar.h b/include/llvm-c/Transforms/Scalar.h index 00e8c35..6e0ff12 100644 --- a/include/llvm-c/Transforms/Scalar.h +++ b/include/llvm-c/Transforms/Scalar.h @@ -31,6 +31,12 @@ void LLVMAddConstantPropagationPass(LLVMPassManagerRef PM); /** See llvm::createInstructionCombiningPass function. */ void LLVMAddInstructionCombiningPass(LLVMPassManagerRef PM); +/** See llvm::createPromoteMemoryToRegisterPass function. */ +void LLVMAddPromoteMemoryToRegisterPass(LLVMPassManagerRef PM); + +/** See llvm::demotePromoteMemoryToRegisterPass function. */ +void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM); + /** See llvm::createReassociatePass function. */ void LLVMAddReassociatePass(LLVMPassManagerRef PM); |