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 | 4a8b7f9bece4b7f71e4a8b73dfd83f36194cb658 (patch) | |
tree | be1d6313447d5e51529a9e2409b02a2303799e46 /include | |
parent | 64b349c825bddaaaaaeb556d5ea00925e26b9244 (diff) | |
download | external_llvm-4a8b7f9bece4b7f71e4a8b73dfd83f36194cb658.zip external_llvm-4a8b7f9bece4b7f71e4a8b73dfd83f36194cb658.tar.gz external_llvm-4a8b7f9bece4b7f71e4a8b73dfd83f36194cb658.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, |