LLVM 17.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::rdf::RegisterAggr Struct Reference

#include "llvm/CodeGen/RDFRegisters.h"


struct  rr_iterator

Public Member Functions

 RegisterAggr (const PhysicalRegisterInfo &pri)
 RegisterAggr (const RegisterAggr &RG)=default
unsigned count () const
bool empty () const
bool hasAliasOf (RegisterRef RR) const
bool hasCoverOf (RegisterRef RR) const
bool operator== (const RegisterAggr &A) const
RegisterAggrinsert (RegisterRef RR)
RegisterAggrinsert (const RegisterAggr &RG)
RegisterAggrintersect (RegisterRef RR)
RegisterAggrintersect (const RegisterAggr &RG)
RegisterAggrclear (RegisterRef RR)
RegisterAggrclear (const RegisterAggr &RG)
RegisterRef intersectWith (RegisterRef RR) const
RegisterRef clearIn (RegisterRef RR) const
RegisterRef makeRegRef () const
size_t hash () const
void print (raw_ostream &OS) const
rr_iterator rr_begin () const
rr_iterator rr_end () const

Static Public Member Functions

static bool isCoverOf (RegisterRef RA, RegisterRef RB, const PhysicalRegisterInfo &PRI)

Detailed Description

Definition at line 168 of file RDFRegisters.h.

Constructor & Destructor Documentation

◆ RegisterAggr() [1/2]

llvm::rdf::RegisterAggr::RegisterAggr ( const PhysicalRegisterInfo pri)

Definition at line 169 of file RDFRegisters.h.

◆ RegisterAggr() [2/2]

llvm::rdf::RegisterAggr::RegisterAggr ( const RegisterAggr RG)

Member Function Documentation

◆ clear() [1/2]

RegisterAggr & RegisterAggr::clear ( const RegisterAggr RG)

Definition at line 305 of file RDFRegisters.cpp.

References llvm::BitVector::reset().

◆ clear() [2/2]

RegisterAggr & RegisterAggr::clear ( RegisterRef  RR)

Definition at line 301 of file RDFRegisters.cpp.

References clear(), and insert().

Referenced by clear(), and clearIn().

◆ clearIn()

RegisterRef RegisterAggr::clearIn ( RegisterRef  RR) const

Definition at line 320 of file RDFRegisters.cpp.

References clear(), insert(), and makeRegRef().

Referenced by llvm::rdf::Liveness::computePhiInfo().

◆ count()

unsigned llvm::rdf::RegisterAggr::count ( ) const

Definition at line 173 of file RDFRegisters.h.

References llvm::BitVector::count().

◆ empty()

bool llvm::rdf::RegisterAggr::empty ( ) const

Definition at line 174 of file RDFRegisters.h.

References llvm::BitVector::none().

◆ hasAliasOf()

bool RegisterAggr::hasAliasOf ( RegisterRef  RR) const

◆ hasCoverOf()

bool RegisterAggr::hasCoverOf ( RegisterRef  RR) const

◆ hash()

size_t llvm::rdf::RegisterAggr::hash ( ) const

Definition at line 198 of file RDFRegisters.h.

◆ insert() [1/2]

RegisterAggr & RegisterAggr::insert ( const RegisterAggr RG)

Definition at line 287 of file RDFRegisters.cpp.

◆ insert() [2/2]

RegisterAggr & RegisterAggr::insert ( RegisterRef  RR)

◆ intersect() [1/2]

RegisterAggr & RegisterAggr::intersect ( const RegisterAggr RG)

Definition at line 296 of file RDFRegisters.cpp.

◆ intersect() [2/2]

RegisterAggr & RegisterAggr::intersect ( RegisterRef  RR)

Definition at line 292 of file RDFRegisters.cpp.

References insert(), and intersect().

Referenced by intersect().

◆ intersectWith()

RegisterRef RegisterAggr::intersectWith ( RegisterRef  RR) const

Definition at line 310 of file RDFRegisters.cpp.

References assert().

Referenced by llvm::rdf::Liveness::computePhiInfo().

◆ isCoverOf()

static bool llvm::rdf::RegisterAggr::isCoverOf ( RegisterRef  RA,
RegisterRef  RB,
const PhysicalRegisterInfo PRI 

Definition at line 182 of file RDFRegisters.h.

References hasCoverOf(), insert(), and RA.

Referenced by llvm::rdf::Liveness::getAllReachingDefs().

◆ makeRegRef()

RegisterRef RegisterAggr::makeRegRef ( ) const

◆ operator==()

bool llvm::rdf::RegisterAggr::operator== ( const RegisterAggr A) const

Definition at line 178 of file RDFRegisters.h.

References A.

◆ print()

void RegisterAggr::print ( raw_ostream OS) const

◆ rr_begin()

rr_iterator llvm::rdf::RegisterAggr::rr_begin ( ) const

◆ rr_end()

rr_iterator llvm::rdf::RegisterAggr::rr_end ( ) const

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