LLVM: Constants (original) (raw)
This section contains APIs for interacting with LLVMValueRef that correspond to llvm::Constant instances. More...
| Topics |
|---|
| Functions | |
|---|---|
| LLVM_C_ABI LLVMValueRef | LLVMConstNull (LLVMTypeRef Ty) |
| Obtain a constant value referring to the null instance of a type. | |
| LLVM_C_ABI LLVMValueRef | LLVMConstAllOnes (LLVMTypeRef Ty) |
| Obtain a constant value referring to the instance of a type consisting of all ones. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetUndef (LLVMTypeRef Ty) |
| Obtain a constant value referring to an undefined value of a type. | |
| LLVM_C_ABI LLVMValueRef | LLVMGetPoison (LLVMTypeRef Ty) |
| Obtain a constant value referring to a poison value of a type. | |
| LLVM_C_ABI LLVMBool | LLVMIsNull (LLVMValueRef Val) |
| Determine whether a value instance is null. | |
| LLVM_C_ABI LLVMValueRef | LLVMConstPointerNull (LLVMTypeRef Ty) |
| Obtain a constant that is a constant pointer pointing to NULL for a specified type. |
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.