From eeb6537abb77f7d19270099a27ad1a690d9fd75d Mon Sep 17 00:00:00 2001 From: Gordon Henriksen Date: Sat, 30 Aug 2008 16:34:54 +0000 Subject: PR2731: C and Ocaml bindings for setTailCall and isTailCall. Based on patch by Giorgos Korfiatis. llvm-svn: 55570 --- 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 9ff125199fb..3094431af2a 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -460,6 +460,10 @@ void LLVMRemoveInstrParamAttr(LLVMValueRef Instr, unsigned index, void LLVMSetInstrParamAlignment(LLVMValueRef Instr, unsigned index, unsigned align); +/* Operations on call instructions (only) */ +int LLVMIsTailCall(LLVMValueRef CallInst); +void LLVMSetTailCall(LLVMValueRef CallInst, int IsTailCall); + /* Operations on phi nodes */ void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count); -- cgit v1.2.3