Machine Code Generation for C++
Virtual register data, managed by BaseCompiler.
Returns the virtual register id.
Returns the virtual register name.
Returns the size of the virtual register name.
Returns a register information that wraps the register signature.
Returns a virtual register type (maps to the physical register type as well).
Returns a virtual register group (maps to the physical register group as well).
Returns a real size of the register this virtual register maps to.
For example if this is a 128-bit SIMD register used for a scalar single precision floating point value then its virtSize would be 4, however, the
regSize would still say 16 (128-bits), because it's the smallest size of that register type.
Returns a register signature of this virtual register.
Returns the virtual register size.
The virtual register size describes how many bytes the virtual register needs to store its content. It can be smaller than the physical register size, see
Returns the virtual register alignment.
Returns the virtual register type id, see
Returns the virtual register weight - the register allocator can use it as explicit hint for alloc/spill decisions.
Sets the virtual register weight (0 to 255) - the register allocator can use it as explicit hint for alloc/spill decisions and initial bin-packing.
Returns whether the virtual register is always allocated to a fixed physical register (and never reallocated).
Returns whether the virtual register is indeed a stack that only uses the virtual register id for making it accessible.
Virtual register id.
Virtual register info (signature).
Virtual register size (can be smaller than
Virtual register alignment (for spilling).
Virtual register weight for alloc/spill decisions.
True if this is a fixed register, never reallocated.
True if the virtual register is only used as a stack (never accessed as register).
Virtual register name (user provided or automatically generated).
RAWorkReg, used during register allocation.