LLVM 22.0.0git
llvm::rdf::PhysicalRegisterInfo Struct Reference

#include "llvm/CodeGen/RDFRegisters.h"

Public Member Functions

 PhysicalRegisterInfo (const TargetRegisterInfo &tri, const MachineFunction &mf)
RegisterId getRegMaskId (const uint32_t *RM) const
const uint32_tgetRegMaskBits (RegisterId R) const
bool alias (RegisterRef RA, RegisterRef RB) const
std::set< RegisterIdgetAliasSet (RegisterId Reg) const
RegisterRef getRefForUnit (uint32_t U) const
const BitVectorgetMaskUnits (RegisterId MaskId) const
std::set< RegisterIdgetUnits (RegisterRef RR) const
const BitVectorgetUnitAliases (uint32_t U) const
RegisterRef mapTo (RegisterRef RR, unsigned R) const
const TargetRegisterInfogetTRI () const
bool equal_to (RegisterRef A, RegisterRef B) const
bool less (RegisterRef A, RegisterRef B) const
void print (raw_ostream &OS, RegisterRef A) const
void print (raw_ostream &OS, const RegisterAggr &A) const

Detailed Description

Definition at line 139 of file RDFRegisters.h.

Constructor & Destructor Documentation

◆ PhysicalRegisterInfo()

llvm::rdf::PhysicalRegisterInfo::PhysicalRegisterInfo ( const TargetRegisterInfo & tri,
const MachineFunction & mf )

Definition at line 28 of file RDFRegisters.cpp.

References for().

Member Function Documentation

◆ alias()

bool llvm::rdf::PhysicalRegisterInfo::alias ( RegisterRef RA,
RegisterRef RB ) const

Definition at line 100 of file RDFRegisters.cpp.

References alias(), llvm::rdf::disjoint(), getUnits(), and RA.

Referenced by alias().

◆ equal_to()

bool llvm::rdf::PhysicalRegisterInfo::equal_to ( RegisterRef A,
RegisterRef B ) const

◆ getAliasSet()

◆ getMaskUnits()

const BitVector & llvm::rdf::PhysicalRegisterInfo::getMaskUnits ( RegisterId MaskId) const
inline

Definition at line 160 of file RDFRegisters.h.

References Register.

◆ getRefForUnit()

RegisterRef llvm::rdf::PhysicalRegisterInfo::getRefForUnit ( uint32_t U) const
inline

Definition at line 156 of file RDFRegisters.h.

References Reg.

◆ getRegMaskBits()

const uint32_t * llvm::rdf::PhysicalRegisterInfo::getRegMaskBits ( RegisterId R) const
inline

Definition at line 147 of file RDFRegisters.h.

References Register.

Referenced by getAliasSet(), and getUnits().

◆ getRegMaskId()

RegisterId llvm::rdf::PhysicalRegisterInfo::getRegMaskId ( const uint32_t * RM) const
inline

Definition at line 143 of file RDFRegisters.h.

References llvm::Register::index2StackSlot().

◆ getTRI()

const TargetRegisterInfo & llvm::rdf::PhysicalRegisterInfo::getTRI ( ) const
inline

Definition at line 171 of file RDFRegisters.h.

Referenced by equal_to(), and less().

◆ getUnitAliases()

const BitVector & llvm::rdf::PhysicalRegisterInfo::getUnitAliases ( uint32_t U) const
inline

Definition at line 166 of file RDFRegisters.h.

◆ getUnits()

◆ less()

bool llvm::rdf::PhysicalRegisterInfo::less ( RegisterRef A,
RegisterRef B ) const

Definition at line 216 of file RDFRegisters.cpp.

References A(), B(), getTRI(), llvm::MCRegUnitMaskIterator::isValid(), and less().

Referenced by less().

◆ mapTo()

RegisterRef llvm::rdf::PhysicalRegisterInfo::mapTo ( RegisterRef RR,
unsigned R ) const

◆ print() [1/2]

void llvm::rdf::PhysicalRegisterInfo::print ( raw_ostream & OS,
const RegisterAggr & A ) const

Definition at line 272 of file RDFRegisters.cpp.

References A(), print(), and llvm::printRegUnit().

◆ print() [2/2]

void llvm::rdf::PhysicalRegisterInfo::print ( raw_ostream & OS,
RegisterRef A ) const

Definition at line 254 of file RDFRegisters.cpp.

References A(), assert(), llvm::format(), print(), llvm::printReg(), llvm::printRegUnit(), and Register.

Referenced by print(), and print().


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