LLVM  10.0.0svn
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:
Collaboration graph
[legend]

Public Attributes

const charName
 
uint16_t NumPhysRegs
 
uint16_t NumRegisterCostEntries
 
uint16_t RegisterCostEntryIdx
 
uint16_t MaxMovesEliminatedPerCycle
 
bool AllowZeroMoveEliminationOnly
 

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 157 of file MCSchedule.h.

Member Data Documentation

◆ AllowZeroMoveEliminationOnly

bool llvm::MCRegisterFileDesc::AllowZeroMoveEliminationOnly

Definition at line 168 of file MCSchedule.h.

Referenced by llvm::mca::RegisterFile::cycleStart().

◆ MaxMovesEliminatedPerCycle

uint16_t llvm::MCRegisterFileDesc::MaxMovesEliminatedPerCycle

Definition at line 165 of file MCSchedule.h.

Referenced by llvm::mca::RegisterFile::cycleStart().

◆ Name

const char* llvm::MCRegisterFileDesc::Name

Definition at line 158 of file MCSchedule.h.

◆ NumPhysRegs

uint16_t llvm::MCRegisterFileDesc::NumPhysRegs

◆ NumRegisterCostEntries

uint16_t llvm::MCRegisterFileDesc::NumRegisterCostEntries

Definition at line 160 of file MCSchedule.h.

Referenced by llvm::mca::RegisterFile::RegisterFile().

◆ RegisterCostEntryIdx

uint16_t llvm::MCRegisterFileDesc::RegisterCostEntryIdx

Definition at line 162 of file MCSchedule.h.

Referenced by llvm::mca::RegisterFile::RegisterFile().


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