LLVM  7.0.0
Public Attributes | List of all members
llvm::MCRegisterFileDesc Struct Reference

A register file descriptor. More...

#include "llvm/MC/MCSchedule.h"

Collaboration diagram for llvm::MCRegisterFileDesc:
[legend]

Public Attributes

const char * Name
 
uint16_t NumPhysRegs
 
uint16_t NumRegisterCostEntries
 
uint16_t RegisterCostEntryIdx
 

Detailed Description

A register file descriptor.

This struct allows to describe processor register files. In particular, it helps describing the size of the register file, as well as the cost of allocating a register file at register renaming stage. FIXME: this struct can be extended to provide information about the number of read/write ports to the register file. A value of zero for field 'NumPhysRegs' means: this register file has an unbounded number of physical registers.

Definition at line 156 of file MCSchedule.h.

Member Data Documentation

◆ Name

const char* llvm::MCRegisterFileDesc::Name

Definition at line 157 of file MCSchedule.h.

◆ NumPhysRegs

uint16_t llvm::MCRegisterFileDesc::NumPhysRegs

Definition at line 158 of file MCSchedule.h.

◆ NumRegisterCostEntries

uint16_t llvm::MCRegisterFileDesc::NumRegisterCostEntries

Definition at line 159 of file MCSchedule.h.

◆ RegisterCostEntryIdx

uint16_t llvm::MCRegisterFileDesc::RegisterCostEntryIdx

Definition at line 161 of file MCSchedule.h.


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