Module constants

Source
Expand description

This section contains APIs for interacting with MValueRef that correspond to LLVM Constant instances.

Modules§

composite
Functions in this group operate on composite constants.
expressions
Functions in this group operate on constants expressions.
global_aliases
global_values
global_variables
scalar
Functions in this group model ValueRef instances that correspond to constants referring to scalar types.

Functions§

const_all_ones
Obtain a constant value referring to the instance of a type consisting of all ones.
const_null
Obtain a constant value referring to the null instance of a type.
const_pointer_null
Obtain a constant that is a constant pointer pointing to NULL for a specified type.
get_poison
Obtain a constant value referring to a poison value of a type.
get_undef
Obtain a constant value referring to an undefined value of a type.
is_null
Determine whether a value instance is null.