summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-15 03:49:51 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-15 03:49:51 +0000
commited3b6d1bb22786fbda1a2fadfb8bb20da7b887b6 (patch)
treee373532b052be1ddd68d885adb9ed53fffe2b547 /llvm/include/llvm-c
parentd65f37dbcc106bdfc37700b50f006337f2196a87 (diff)
downloadbcm5719-llvm-ed3b6d1bb22786fbda1a2fadfb8bb20da7b887b6.tar.gz
bcm5719-llvm-ed3b6d1bb22786fbda1a2fadfb8bb20da7b887b6.zip
Revert "Expose TailCallKind via the LLVM C API"
This is failing on several build bots. Reverting as discussed in https://reviews.llvm.org/D66061. llvm-svn: 368953
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 00d151c4541..cac2f297056 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -452,13 +452,6 @@ enum {
typedef unsigned LLVMAttributeIndex;
-typedef enum {
- LLVMTailCallKindNone,
- LLVMTailCallKindTail,
- LLVMTailCallKindMustTail,
- LLVMTailCallKindNoTail
-} LLVMTailCallKind;
-
/**
* @}
*/
@@ -3271,24 +3264,6 @@ LLVMBool LLVMIsTailCall(LLVMValueRef CallInst);
void LLVMSetTailCall(LLVMValueRef CallInst, LLVMBool IsTailCall);
/**
- * Obtains the kind of tail call for a call instruction.
- *
- * This only works on llvm::CallInst instructions.
- *
- * @see llvm::CallInst::getTailCallKind()
- */
-LLVMTailCallKind LLVMGetTailCallKind(LLVMValueRef CallInst);
-
-/**
- * Set the kind of tail call for a call instruction.
- *
- * This only works on llvm::CallInst instructions.
- *
- * @see llvm::CallInst::setTailCallKind()
- */
-void LLVMSetTailCallKind(LLVMValueRef CallInst, LLVMTailCallKind TCK);
-
-/**
* Return the normal destination basic block.
*
* This only works on llvm::InvokeInst instructions.
OpenPOWER on IntegriCloud