llvm::MCRegisterDesc

Description of a single physical register.

Synopsis

Declared in <llvm/MC/MCRegisterInfo.h>

struct MCRegisterDesc;

Description

The SubRegs field is a zero terminated array of registers that are sub-registers of the specific register, e.g. AL, AH are sub-registers of AX. The SuperRegs field is a zero terminated array of registers that are super-registers of the specific register, e.g. RAX, EAX, are super-registers of AX.

Data Members

NameDescription
IsArtificial True if this register is artificial.
IsConstant True if this register is a constant register.
Name Offset of the printable name in the string table.
RegUnitLaneMasks Index into list with lane mask sequences. The sequence contains a lanemask for every register unit.
RegUnits Encoded first register unit and DiffLists offset for this register.
SubRegIndices Offset into SubRegIndices for each sub-register in SubRegs.
SubRegs Offset into DiffLists of the sub-register set.
SuperRegs Offset into DiffLists of the super-register set.