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 (RegisterRef RR) const
bool alias (RegisterRef RA, RegisterRef RB) const
std::set< RegisterIdgetAliasSet (RegisterRef RR) const
RegisterRef getRefForUnit (MCRegUnit U) const
const BitVectorgetMaskUnits (RegisterRef RR) const
std::set< RegisterIdgetUnits (RegisterRef RR) const
const BitVectorgetUnitAliases (MCRegUnit U) const
RegisterRef mapTo (RegisterRef RR, RegisterId 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 147 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 ( RegisterRef RR) const
inline

Definition at line 168 of file RDFRegisters.h.

References llvm::rdf::RegisterRef::asMaskIdx().

◆ getRefForUnit()

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

Definition at line 164 of file RDFRegisters.h.

References Reg.

◆ getRegMaskBits()

const uint32_t * llvm::rdf::PhysicalRegisterInfo::getRegMaskBits ( RegisterRef RR) const
inline

Definition at line 155 of file RDFRegisters.h.

References llvm::rdf::RegisterRef::asMaskIdx().

Referenced by getAliasSet(), and getUnits().

◆ getRegMaskId()

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

Definition at line 151 of file RDFRegisters.h.

References llvm::rdf::RegisterRef::toMaskId().

◆ getTRI()

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

Definition at line 179 of file RDFRegisters.h.

Referenced by equal_to(), and less().

◆ getUnitAliases()

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

Definition at line 174 of file RDFRegisters.h.

◆ getUnits()

◆ less()

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

Definition at line 214 of file RDFRegisters.cpp.

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

Referenced by less().

◆ mapTo()

◆ print() [1/2]

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

Definition at line 269 of file RDFRegisters.cpp.

References A(), and print().

◆ print() [2/2]

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

Definition at line 252 of file RDFRegisters.cpp.

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

Referenced by print(), and print().


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