From 95ca7314fdb8a9c92cd18cb54af7e320ca02913d Mon Sep 17 00:00:00 2001 From: Gordon Henriksen Date: Fri, 19 Dec 2008 18:51:17 +0000 Subject: [PATCH] Add dyn_cast_or_null bindings for some additional classes missed in r61252. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61253 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Core.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 2516c72f1fb..6016ac61b52 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -340,8 +340,25 @@ void LLVMDisposeTypeHandle(LLVMTypeHandleRef TypeHandle); macro(UnwindInst) \ macro(UnaryInstruction) \ macro(AllocationInst) \ + macro(AllocaInst) \ + macro(MallocInst) \ macro(CastInst) \ - macro(ExtractValueInst) + macro(BitCastInst) \ + macro(FPExtInst) \ + macro(FPToSIInst) \ + macro(FPToUIInst) \ + macro(FPTruncInst) \ + macro(IntToPtrInst) \ + macro(PtrToIntInst) \ + macro(SExtInst) \ + macro(SIToFPInst) \ + macro(TruncInst) \ + macro(UIToFPInst) \ + macro(ZExtInst) \ + macro(ExtractValueInst) \ + macro(FreeInst) \ + macro(LoadInst) \ + macro(VAArgInst) /* Operations on all values */ LLVMTypeRef LLVMTypeOf(LLVMValueRef Val);