Expand description
Functions in this group model ValueRef instances that correspond
to constants referring to scalar types.
Functionsยง
- Obtain a constant value for an integer type. The returned value corresponds to a
llvm ConstantInt. - Obtain the sign extended value for an integer constant value.
- Obtain the zero extended value for an integer constant value.
- Obtain a constant value for an integer of arbitrary precision.
- Obtain a constant value for an integer parsed from a string.
- Obtain a constant value for an integer parsed from a string with specified length.
- Obtain a constant value referring to a double floating point value.
- Obtain the double value for a floating point constant value.
losesInfoindicates if some precision was lost in the conversion. - Obtain a constant for a floating point value parsed from a string.
- Obtain a constant for a floating point value parsed from a string with specified length.