AsmJit
Low-Latency Machine Code Generation
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 initTypeId
and then continue building either register or stack.
Initializes this FuncValue
only to the typeId
provided - the rest of the values will be cleared.
0
)noexcept◆ Initializes this FuncValue
to a register of regType
, regId
, and assigns its typeId
and flags
.
Initializes this FuncValue
to a stack at the given offset
and assigns its typeId
.
Resets the value to its unassigned state.
Assigns a register of regType
and regId
.
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
.
Returns a TypeId of this argument or return value.
Sets a TypeId of this argument or return value.