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 | 1158c533f761e5780dfd40acd0b2a2c1b033e723 (patch) | |
tree | fc6473bdb2610ba88f725e47f03e9ea53204de58 /llvm/include/llvm-c | |
parent | 345353d6b46de21075e682d4c380195e6e660abb (diff) | |
download | bcm5719-llvm-1158c533f761e5780dfd40acd0b2a2c1b033e723.tar.gz bcm5719-llvm-1158c533f761e5780dfd40acd0b2a2c1b033e723.zip |
Bindings for instruction calling conventions.
llvm-svn: 45422
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 21c319c6ec3..b286e6fca28 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/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); |