aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-07-14 19:09:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-07-14 19:09:08 +0000
commit64090bd2d468ec70b9644bdf492684dd278de8a7 (patch)
tree8b6a7d2c3d05a51ace8b5c37941e0d7ee5e5d9d9 /include
parent939f616e635e6d94ccf4baaf18682466e9a06d6d (diff)
downloadexternal_llvm-64090bd2d468ec70b9644bdf492684dd278de8a7.zip
external_llvm-64090bd2d468ec70b9644bdf492684dd278de8a7.tar.gz
external_llvm-64090bd2d468ec70b9644bdf492684dd278de8a7.tar.bz2
Add LLVMConstNamedStruct to the C api to let its users create constants
of named struct types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index fc33ab7..a4456dd 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -565,6 +565,9 @@ LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
LLVMValueRef *ConstantVals, unsigned Length);
LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count,
LLVMBool Packed);
+LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy,
+ LLVMValueRef *ConstantVals,
+ unsigned Count);
LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size);
/* Constant expressions */