summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-08-30 16:34:54 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-08-30 16:34:54 +0000
commiteeb6537abb77f7d19270099a27ad1a690d9fd75d (patch)
tree9a85de326e1ad4973cf902ff452bca3bf2c32a24 /llvm/include/llvm-c
parente0a09432cceab159222b8bb0f9ebef900a6fbb69 (diff)
downloadbcm5719-llvm-eeb6537abb77f7d19270099a27ad1a690d9fd75d.tar.gz
bcm5719-llvm-eeb6537abb77f7d19270099a27ad1a690d9fd75d.zip
PR2731: C and Ocaml bindings for setTailCall and isTailCall.
Based on patch by Giorgos Korfiatis. llvm-svn: 55570
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h4
1 files changed, 4 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud