llvm::MCRegisterFileDesc

A register file descriptor.

Synopsis

Declared in <llvm/MC/MCSchedule.h>

struct MCRegisterFileDesc;

Description

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.

Data Members

NameDescription
AllowZeroMoveEliminationOnly True if only moves from known-zero registers can be eliminated.
MaxMovesEliminatedPerCycle Max moves eliminated per cycle (zero means unlimited).
Name Name of this register file.
NumPhysRegs Number of physical registers (zero means unbounded).
NumRegisterCostEntries Number of register cost entries for this file.
RegisterCostEntryIdx Index of the first cost entry in MCExtraProcessorInfo::RegisterCostTable.