From 1940dd10dd6b79e3332f384756c268b85d0ad400 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 28 Feb 2010 05:51:33 +0000 Subject: Add the new union arthmetic instructions to llvm-c and ocaml. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97371 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index fdfc7e9..14654e0 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -551,6 +551,7 @@ LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed); LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size); +LLVMValueRef LLVMConstUnion(LLVMTypeRef Ty, LLVMValueRef Val); /* Constant expressions */ LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal); -- cgit v1.1