IndexAssemblerasmjit::UniGp

asmjit::UniGp Class Reference [¶]

Inheritance diagram for asmjit::UniGp:
asmjit::Reg asmjit::Operand asmjit::Operand_ asmjit::a64::Gp asmjit::x86::Gp

Unified general purpose register (also acts as a base class for architecture specific GP registers).

Member Functions

Unified Accessors
- Public Member Functions inherited from asmjit::Reg
- Public Member Functions inherited from asmjit::Operand
- Public Member Functions inherited from asmjit::Operand_

Static Functions

Static Constructors
- Static Public Member Functions inherited from asmjit::Reg
- Static Public Member Functions inherited from asmjit::Operand_

Additional Inherited Members

- Public Attributes inherited from asmjit::Operand_
- Static Public Attributes inherited from asmjit::Reg
- Static Public Attributes inherited from asmjit::Operand_
- Public Types inherited from asmjit::Operand_

UniGp::UniGp()constexprnoexcept[1/5][¶]

Default constructor that only setups basics.

UniGp::UniGp(
const UniGp& other
)constexprnoexcept[2/5][¶]

Makes a copy of the other register operand.

UniGp::UniGp(
const Reg& other,
uint32_t id
)constexprnoexcept[3/5][¶]

Makes a copy of the other register having id set to id

UniGp::UniGp(
const OperandSignature& sgn,
uint32_t id
)constexprnoexcept[4/5][¶]

Creates a register based on signature and id.

UniGp::UniGp()explicitnoexcept[5/5][¶]

Creates a completely uninitialized UniGp register operand (garbage).

UniGp UniGp::fromTypeAndId(
RegType type,
uint32_t id
)staticnoexcept[¶]

Creates a new register from register type and id.

UniGp UniGp::clone() constconstexprnoexcept[¶]

Clones the register operand.

UniGp UniGp::make_r32(
uint32_t regId
)constexprstaticnoexcept[¶]

Creates a new 32-bit GP register having the given register id regId.

UniGp UniGp::make_r64(
uint32_t regId
)constexprstaticnoexcept[¶]

Creates a new 64-bit GP register having the given register id regId.

UniGp UniGp::r32() constconstexprnoexcept[¶]

Clones and casts this register to a 32-bit GP register.

UniGp UniGp::r64() constconstexprnoexcept[¶]

Clones and casts this register to a 64-bit GP register.