LLVM 22.0.0git
llvm::BitTracker::RegisterCell Struct Reference

#include "Target/Hexagon/BitTracker.h"

Public Member Functions

 RegisterCell (uint16_t Width=DefaultBitN)
uint16_t width () const
const BitValueoperator[] (uint16_t BitN) const
BitValueoperator[] (uint16_t BitN)
bool meet (const RegisterCell &RC, Register SelfR)
RegisterCellinsert (const RegisterCell &RC, const BitMask &M)
RegisterCell extract (const BitMask &M) const
RegisterCellrol (uint16_t Sh)
RegisterCellfill (uint16_t B, uint16_t E, const BitValue &V)
RegisterCellcat (const RegisterCell &RC)
uint16_t cl (bool B) const
uint16_t ct (bool B) const
bool operator== (const RegisterCell &RC) const
bool operator!= (const RegisterCell &RC) const
RegisterCellregify (unsigned R)

Static Public Member Functions

static RegisterCell self (unsigned Reg, uint16_t Width)
static RegisterCell top (uint16_t Width)
static RegisterCell ref (const RegisterCell &C)

Friends

raw_ostreamoperator<< (raw_ostream &OS, const RegisterCell &RC)

Detailed Description

Definition at line 297 of file BitTracker.h.

Constructor & Destructor Documentation

◆ RegisterCell()

llvm::BitTracker::RegisterCell::RegisterCell ( uint16_t Width = DefaultBitN)
inline

Definition at line 298 of file BitTracker.h.

Referenced by cat(), extract(), meet(), operator!=(), operator==(), ref(), rol(), self(), and top().

Member Function Documentation

◆ cat()

BT::RegisterCell & BT::RegisterCell::cat ( const RegisterCell & RC)

Definition at line 277 of file BitTracker.cpp.

References RegisterCell(), and width().

Referenced by llvm::HexagonEvaluator::evaluate().

◆ cl()

uint16_t BT::RegisterCell::cl ( bool B) const

Definition at line 296 of file BitTracker.cpp.

References B(), llvm::CallingConv::C, and width().

Referenced by llvm::BitTracker::MachineEvaluator::eCLB().

◆ ct()

◆ extract()

BT::RegisterCell BT::RegisterCell::extract ( const BitMask & M) const

Definition at line 230 of file BitTracker.cpp.

References assert(), B(), RegisterCell(), and width().

Referenced by llvm::BitTracker::MachineEvaluator::eXTR().

◆ fill()

◆ insert()

◆ meet()

bool BT::RegisterCell::meet ( const RegisterCell & RC,
Register SelfR )

Definition at line 196 of file BitTracker.cpp.

References assert(), Changed, llvm::Register::isVirtual(), and RegisterCell().

◆ operator!=()

bool llvm::BitTracker::RegisterCell::operator!= ( const RegisterCell & RC) const
inline

Definition at line 323 of file BitTracker.h.

References operator==(), and RegisterCell().

◆ operator==()

bool BT::RegisterCell::operator== ( const RegisterCell & RC) const

◆ operator[]() [1/2]

BitValue & llvm::BitTracker::RegisterCell::operator[] ( uint16_t BitN)
inline

Definition at line 308 of file BitTracker.h.

References assert().

◆ operator[]() [2/2]

const BitValue & llvm::BitTracker::RegisterCell::operator[] ( uint16_t BitN) const
inline

Definition at line 304 of file BitTracker.h.

References assert().

◆ ref()

◆ regify()

◆ rol()

◆ self()

◆ top()

BitTracker::RegisterCell llvm::BitTracker::RegisterCell::top ( uint16_t Width)
inlinestatic

◆ width()

◆ operator<<


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