summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-02-28 05:51:33 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-02-28 05:51:33 +0000
commit1940dd10dd6b79e3332f384756c268b85d0ad400 (patch)
tree05338314f5ebe6bc09cee6d5ae01ce992a08110a /include/llvm-c
parentabbcc5ee6fa39daadadaa0b583579b3e17f32fd7 (diff)
downloadllvm-1940dd10dd6b79e3332f384756c268b85d0ad400.tar.gz
llvm-1940dd10dd6b79e3332f384756c268b85d0ad400.tar.bz2
llvm-1940dd10dd6b79e3332f384756c268b85d0ad400.tar.xz
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
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index fdfc7e90fe..14654e0755 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);