IndexAssemblerasmjit::RegTraits< kRegType >

asmjit::RegTraits< kRegType > Struct Template Reference [¶]

template<RegType kRegType>
struct asmjit::RegTraits< kRegType >

Register traits.

Register traits contain metadata about a particular register type. The metadata is used by AsmJit to setup register information on-the-fly and to populate tables that contain register information (this way it's possible to change register types and groups without having to reorder these tables).

Static Public Attributes

template<RegType kRegType>
TypeId RegTraits<kRegType>::kTypeId = TypeId::kVoidconstexprstatic[¶]

TypeId representing this register type, could be TypeId::kVoid if such type doesn't exist.

template<RegType kRegType>
uint32_t RegTraits<kRegType>::kValid = 0constexprstatic[¶]

RegType is not valid by default.

template<RegType kRegType>
RegType RegTraits<kRegType>::kType = RegType::kNoneconstexprstatic[¶]

Zero type by default (defaults to None).

template<RegType kRegType>
RegGroup RegTraits<kRegType>::kGroup = RegGroup::kGpconstexprstatic[¶]

Zero group by default (defaults to GP).

template<RegType kRegType>
uint32_t RegTraits<kRegType>::kSize = 0uconstexprstatic[¶]

No size by default.

template<RegType kRegType>
uint32_t RegTraits<kRegType>::kSignature = 0constexprstatic[¶]

Empty signature by default (not even having operand type set to register).