LLVM API Documentation
This section contains APIs for interacting with LLVMValueRef that correspond to llvm::Constant instances.
These functions will work for any LLVMValueRef in the llvm::Constant class hierarchy.
Obtain a constant value referring to the instance of a type consisting of all ones.
This is only valid for integer types.
Definition at line 630 of file Core.cpp.
References llvm::Constant::getAllOnesValue(), llvm::unwrap(), and llvm::wrap().
Obtain a constant value referring to the null instance of a type.
Definition at line 626 of file Core.cpp.
References llvm::Constant::getNullValue(), llvm::unwrap(), and llvm::wrap().
Obtain a constant that is a constant pointer pointing to NULL for a specified type.
Definition at line 652 of file Core.cpp.
References llvm::ConstantPointerNull::get(), and llvm::wrap().
Obtain a constant value referring to an undefined value of a type.
Definition at line 634 of file Core.cpp.
References llvm::UndefValue::get(), llvm::unwrap(), and llvm::wrap().
LLVMBool LLVMIsNull | ( | LLVMValueRef | Val | ) |
Determine whether a value instance is null.
Definition at line 642 of file Core.cpp.
References llvm::CallingConv::C, and llvm::unwrap().