LLVM 20.0.0git
Public Attributes | List of all members
llvm::MCRegisterDesc Struct Reference

MCRegisterDesc - This record contains information about a particular register. More...

#include "llvm/MC/MCRegisterInfo.h"

Public Attributes

uint32_t Name
 
uint32_t SubRegs
 
uint32_t SuperRegs
 
uint32_t SubRegIndices
 
uint32_t RegUnits
 
uint16_t RegUnitLaneMasks
 Index into list with lane mask sequences.
 
bool IsConstant
 
bool IsArtificial
 

Detailed Description

MCRegisterDesc - This record contains information about a particular register.

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.

Definition at line 113 of file MCRegisterInfo.h.

Member Data Documentation

◆ IsArtificial

bool llvm::MCRegisterDesc::IsArtificial

Definition at line 134 of file MCRegisterInfo.h.

Referenced by llvm::MCRegisterInfo::isArtificial().

◆ IsConstant

bool llvm::MCRegisterDesc::IsConstant

Definition at line 131 of file MCRegisterInfo.h.

Referenced by llvm::MCRegisterInfo::isConstant().

◆ Name

uint32_t llvm::MCRegisterDesc::Name

Definition at line 114 of file MCRegisterInfo.h.

Referenced by llvm::MCRegisterInfo::getName().

◆ RegUnitLaneMasks

uint16_t llvm::MCRegisterDesc::RegUnitLaneMasks

Index into list with lane mask sequences.

The sequence contains a lanemask for every register unit.

Definition at line 128 of file MCRegisterInfo.h.

Referenced by llvm::MCRegUnitMaskIterator::MCRegUnitMaskIterator().

◆ RegUnits

uint32_t llvm::MCRegisterDesc::RegUnits

Definition at line 124 of file MCRegisterInfo.h.

Referenced by llvm::MCRegUnitIterator::MCRegUnitIterator().

◆ SubRegIndices

uint32_t llvm::MCRegisterDesc::SubRegIndices

◆ SubRegs

uint32_t llvm::MCRegisterDesc::SubRegs

Definition at line 115 of file MCRegisterInfo.h.

Referenced by llvm::MCSubRegIterator::MCSubRegIterator().

◆ SuperRegs

uint32_t llvm::MCRegisterDesc::SuperRegs

Definition at line 116 of file MCRegisterInfo.h.

Referenced by llvm::MCSuperRegIterator::MCSuperRegIterator().


The documentation for this struct was generated from the following file: