Provides dynamic information about target register classes for a function.

Synopsis

Declared in <llvm/CodeGen/RegisterClassInfo.h>

class RegisterClassInfo;

Member Functions

Name

Description

RegisterClassInfo [constructor]

Construct an uninitialized RegisterClassInfo.

getLastCalleeSavedAlias

getLastCalleeSavedAlias ‐ Returns the last callee saved register that overlaps PhysReg, or NoRegister if PhysReg doesn't overlap a CalleeSavedAliases.

getLastCostChange

Get the position of the last cost change in getOrder(RC).

getMinCost

Get the minimum register cost in RC's allocation order. This is the smallest value in RegCosts[Reg]for all the registers in getOrder(RC).

getNumAllocatableRegs

getNumAllocatableRegs ‐ Returns the number of actually allocatable registers in RC in the current function.

getOrder

getOrder ‐ Returns the preferred allocation order for RC. The order contains no reserved registers, and registers that alias callee saved registers come last.

getRegPressureSetLimit

Get the register unit limit for the given pressure set index.

invalidate

Invalidate this result unless the analysis is preserved.

isProperSubClass

isProperSubClass ‐ Returns true if RC has a legal super‐class with more allocatable registers.

runOnMachineFunction

Prepare to answer questions about MF.

Protected Member Functions

Name

Description

computePSetLimit

Compute the register pressure set limit for Idx, adjusted for reserved registers.

Created with MrDocs