aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-09-18 18:07:51 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-09-18 18:07:51 +0000
commit344be5fbecec9908bab611eafeae0549ba3be6d7 (patch)
treebe1d6313447d5e51529a9e2409b02a2303799e46 /include
parent869b2b2c231e2208e1273e65123393ee06d13611 (diff)
downloadexternal_llvm-344be5fbecec9908bab611eafeae0549ba3be6d7.zip
external_llvm-344be5fbecec9908bab611eafeae0549ba3be6d7.tar.gz
external_llvm-344be5fbecec9908bab611eafeae0549ba3be6d7.tar.bz2
Tests of the ocaml (and thus C) bindings for constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 1442a23..9aa5f07 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -176,7 +176,9 @@ void LLVMSetValueName(LLVMValueRef Val, const char *Name);
LLVMValueRef LLVMGetNull(LLVMTypeRef Ty); /* all zeroes */
LLVMValueRef LLVMGetAllOnes(LLVMTypeRef Ty); /* only for int/vector */
LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty);
+int LLVMIsConstant(LLVMValueRef Val);
int LLVMIsNull(LLVMValueRef Val);
+int LLVMIsUndef(LLVMValueRef Val);
/* Operations on scalar constants */
LLVMValueRef LLVMGetIntConstant(LLVMTypeRef IntTy, unsigned long long N,