diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-30 16:34:54 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-30 16:34:54 +0000 |
commit | 07cabf6102800aa701bc4d1bd282fafb63b8a416 (patch) | |
tree | 04177dfd1817d99b875976c592cea2f88df6b2ed /include/llvm-c | |
parent | 699609cf918cbc1ad4d0029a1d4568369854789f (diff) | |
download | external_llvm-07cabf6102800aa701bc4d1bd282fafb63b8a416.zip external_llvm-07cabf6102800aa701bc4d1bd282fafb63b8a416.tar.gz external_llvm-07cabf6102800aa701bc4d1bd282fafb63b8a416.tar.bz2 |
PR2731: C and Ocaml bindings for setTailCall and isTailCall.
Based on patch by Giorgos Korfiatis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55570 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 9ff1251..3094431 100644 --- a/include/llvm-c/Core.h +++ b/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); |