Public Attributes | List of all members
MCRegisterInfo Struct Reference

#include <MCRegisterInfo.h>

Public Attributes

const MCRegisterClassClasses
 
const MCRegisterDescDesc
 
const MCPhysRegDiffLists
 
unsigned NumClasses
 
unsigned NumRegs
 
unsigned NumRegUnits
 
unsigned NumSubRegIndices
 
unsigned PCReg
 
unsigned RAReg
 
const uint16_tRegEncodingTable
 
const char * RegStrings
 
uint16_t(* RegUnitRoots )[2]
 
const uint16_tSubRegIndices
 

Detailed Description

MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc objects that represent all of the machine registers that the target has. As such, we simply have to track a pointer to this array so that we can turn register number into a register descriptor.

Note this class is designed to be a base class of TargetRegisterInfo, which is the interface used by codegen. However, specific targets should never specialize this class. MCRegisterInfo should only contain getters to access TableGen generated physical register data. It must not be extended with virtual methods.

Definition at line 78 of file MCRegisterInfo.h.

Member Data Documentation

◆ Classes

const MCRegisterClass* MCRegisterInfo::Classes

Definition at line 83 of file MCRegisterInfo.h.

◆ Desc

const MCRegisterDesc* MCRegisterInfo::Desc

Definition at line 79 of file MCRegisterInfo.h.

◆ DiffLists

const MCPhysReg* MCRegisterInfo::DiffLists

Definition at line 87 of file MCRegisterInfo.h.

◆ NumClasses

unsigned MCRegisterInfo::NumClasses

Definition at line 84 of file MCRegisterInfo.h.

◆ NumRegs

unsigned MCRegisterInfo::NumRegs

Definition at line 80 of file MCRegisterInfo.h.

◆ NumRegUnits

unsigned MCRegisterInfo::NumRegUnits

Definition at line 85 of file MCRegisterInfo.h.

◆ NumSubRegIndices

unsigned MCRegisterInfo::NumSubRegIndices

Definition at line 91 of file MCRegisterInfo.h.

◆ PCReg

unsigned MCRegisterInfo::PCReg

Definition at line 82 of file MCRegisterInfo.h.

◆ RAReg

unsigned MCRegisterInfo::RAReg

Definition at line 81 of file MCRegisterInfo.h.

◆ RegEncodingTable

const uint16_t* MCRegisterInfo::RegEncodingTable

Definition at line 92 of file MCRegisterInfo.h.

◆ RegStrings

const char* MCRegisterInfo::RegStrings

Definition at line 88 of file MCRegisterInfo.h.

◆ RegUnitRoots

uint16_t(* MCRegisterInfo::RegUnitRoots)[2]

Definition at line 86 of file MCRegisterInfo.h.

◆ SubRegIndices

const uint16_t* MCRegisterInfo::SubRegIndices

Definition at line 89 of file MCRegisterInfo.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:47