LLVM 17.0.0git
Classes | Public Member Functions | Static 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
const BitVectorgetUnitAliases (uint32_t U) const
RegisterRef mapTo (RegisterRef RR, unsigned R) const
const TargetRegisterInfogetTRI () const

Static Public Member Functions

static bool isRegMaskId (RegisterId R)

Detailed Description

Definition at line 102 of file RDFRegisters.h.

Constructor & Destructor Documentation

◆ PhysicalRegisterInfo()

PhysicalRegisterInfo::PhysicalRegisterInfo ( const TargetRegisterInfo tri,
const MachineFunction mf 

Member Function Documentation

◆ alias()

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

◆ getAliasSet()

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

◆ getMaskUnits()

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

◆ getRefForUnit()

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

Definition at line 126 of file RDFRegisters.h.

References Reg.

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

◆ getRegMaskBits()

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

Definition at line 114 of file RDFRegisters.h.

References llvm::rdf::IndexedSet< T, N >::get(), and llvm::Register::stackSlot2Index().

Referenced by getAliasSet().

◆ getRegMaskId()

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

◆ getTRI()

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

◆ getUnitAliases()

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

Definition at line 134 of file RDFRegisters.h.

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

◆ isRegMaskId()

static bool llvm::rdf::PhysicalRegisterInfo::isRegMaskId ( RegisterId  R)

◆ mapTo()

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

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