LLVM 20.0.0git
Classes | Public Member Functions | List of all members
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 141 of file RDFRegisters.h.

Constructor & Destructor Documentation

◆ PhysicalRegisterInfo()

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

Member Function Documentation

◆ alias()

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

◆ equal_to()

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

◆ getAliasSet()

std::set< RegisterId > llvm::rdf::PhysicalRegisterInfo::getAliasSet ( RegisterId  Reg) const

◆ getMaskUnits()

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

◆ getRefForUnit()

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

Definition at line 158 of file RDFRegisters.h.

References Reg.

Referenced by llvm::rdf::RegisterAggr::ref_iterator::ref_iterator().

◆ getRegMaskBits()

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

◆ getRegMaskId()

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

◆ getTRI()

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

◆ getUnitAliases()

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

Definition at line 168 of file RDFRegisters.h.

Referenced by llvm::rdf::RegisterAggr::makeRegRef().

◆ getUnits()

std::set< RegisterId > llvm::rdf::PhysicalRegisterInfo::getUnits ( RegisterRef  RR) const

◆ less()

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

Definition at line 216 of file RDFRegisters.cpp.

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

◆ 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, OS, and llvm::printRegUnit().

◆ print() [2/2]

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

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