From 1158c533f761e5780dfd40acd0b2a2c1b033e723 Mon Sep 17 00:00:00 2001 From: Gordon Henriksen Date: Sat, 29 Dec 2007 20:45:00 +0000 Subject: Bindings for instruction calling conventions. llvm-svn: 45422 --- llvm/include/llvm-c/Core.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/include/llvm-c') 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); -- cgit v1.2.3