asmjit::FuncValue Struct Reference [¶]
Argument or return value (or its part) as defined by FuncSignature
, but with register or stack address (and other metadata) assigned.
Argument or return value (or its part) as defined by FuncSignature
, but with register or stack address (and other metadata) assigned.
These initialize the whole FuncValue
to either register or stack. Useful when you know all of these properties and wanna just set it up.
These initialize only part of FuncValue
, useful when building FuncValue
incrementally. The caller should first init the type-id by calling init_type_id
and then continue building either register or stack.
Initializes this FuncValue
only to the type_id
provided - the rest of the values will be cleared.
Initializes this FuncValue
to a register of reg_type
, reg_id
, and assigns its type_id
and flags
.
Initializes this FuncValue
to a stack at the given offset
and assigns its type_id
.
Resets the value to its unassigned state.
Assigns a register of reg_type
and reg_id
.
Assigns a stack location at offset
.
Returns true if the value is initialized (explicit bool cast).
Tests whether the FuncValue
has a flag flag
set.
Adds flags
to FuncValue
.
Clears flags
of FuncValue
.
Tests whether the value is initialized (i.e. contains a valid data).
Tests whether the argument is passed by register.
Tests whether the argument is passed by stack.
Tests whether the argument is passed by register.
Tests whether the argument is passed through a pointer (used by WIN64 to pass XMM|YMM|ZMM).
Tests whether the argument was already processed (used internally).
Returns a register type of the register used to pass function argument or return value.
Sets a register type of the register used to pass function argument or return value.
Returns a physical id of the register used to pass function argument or return value.
Sets a physical id of the register used to pass function argument or return value.
Returns a stack offset of this argument.
Sets a stack offset of this argument.
Tests whether the argument or return value has associated TypeId
.