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::Operand_

Additional Inherited Members

Public Attributes inherited from asmjit::Operand_
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::from_type_and_id(
RegType type,
uint32_t id
)staticnoexcept[¶]

Creates a new register from register type and id.

UniGp UniGp::clone() constnodiscardconstexprnoexcept[¶]

Returns a copy of this register operand.

UniGp& UniGp::operator=(
const UniGp& other
)constexprnoexcept[¶]

Copy assignment operator - copies the content of other to this register.

UniGp UniGp::make_r32(
uint32_t reg_id
)constexprstaticnodiscardnoexcept[¶]

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

UniGp UniGp::make_r64(
uint32_t reg_id
)constexprstaticnodiscardnoexcept[¶]

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

UniGp UniGp::r32() constnodiscardconstexprnoexcept[¶]

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

UniGp UniGp::r64() constnodiscardconstexprnoexcept[¶]

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