Expand description
Functions in this group model ValueRef
instances that correspond
to constants referring to scalar types.
Functionsยง
- const_
int - Obtain a constant value for an integer type.
The returned value corresponds to a
llvm ConstantInt
. - const_
int_ get_ sext_ value - Obtain the sign extended value for an integer constant value.
- const_
int_ get_ zext_ value - Obtain the zero extended value for an integer constant value.
- const_
int_ of_ arbitrary_ precision - Obtain a constant value for an integer of arbitrary precision.
- const_
int_ of_ string - Obtain a constant value for an integer parsed from a string.
- const_
int_ of_ string_ and_ size - Obtain a constant value for an integer parsed from a string with specified length.
- const_
real - Obtain a constant value referring to a double floating point value.
- const_
real_ get_ double - Obtain the double value for a floating point constant value.
losesInfo
indicates if some precision was lost in the conversion. - const_
real_ of_ string - Obtain a constant for a floating point value parsed from a string.
- const_
real_ of_ string_ and_ size - Obtain a constant for a floating point value parsed from a string with specified length.