Tests of the ocaml (and thus C) bindings for constants.
[oota-llvm.git] / include / llvm-c / Core.h
index 1442a237d99d3d2b0188d5ce0653adcf17cd9fd3..9aa5f07761c81020da427c383838ca86bafaa3ca 100644 (file)
@@ -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,