diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-29 20:45:00 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-29 20:45:00 +0000 |
commit | cc0928ff22d9f3e8f2930874f6727db8c700ec35 (patch) | |
tree | 3c1111e6f78118c02964ced26c7aca9de33bcaf1 /include/llvm-c | |
parent | 21c62da287237d39d0d95004881ea4baae3be6da (diff) | |
download | external_llvm-cc0928ff22d9f3e8f2930874f6727db8c700ec35.zip external_llvm-cc0928ff22d9f3e8f2930874f6727db8c700ec35.tar.gz external_llvm-cc0928ff22d9f3e8f2930874f6727db8c700ec35.tar.bz2 |
Bindings for instruction calling conventions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 21c319c..b286e6f 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -378,6 +378,10 @@ LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, const char *Name); void LLVMDeleteBasicBlock(LLVMBasicBlockRef BB); +/* Operations on call sites */ +void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC); +unsigned LLVMGetInstructionCallConv(LLVMValueRef Instr); + /* Operations on phi nodes */ void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count); |