diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-09-18 18:07:51 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-09-18 18:07:51 +0000 |
commit | 344be5fbecec9908bab611eafeae0549ba3be6d7 (patch) | |
tree | be1d6313447d5e51529a9e2409b02a2303799e46 /include | |
parent | 869b2b2c231e2208e1273e65123393ee06d13611 (diff) | |
download | external_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.h | 2 |
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, |