LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
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, unsigned 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)


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

Detailed Description

Definition at line 259 of file BitTracker.h.

Constructor & Destructor Documentation

◆ RegisterCell()

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

Definition at line 260 of file BitTracker.h.

Member Function Documentation

◆ cat()

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

◆ cl()

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

Definition at line 301 of file BitTracker.cpp.

References B, C, llvm::RISCVFenceField::W, and width().

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

◆ ct()

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

◆ extract()

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

◆ fill()

BT::RegisterCell & BT::RegisterCell::fill ( uint16_t  B,
uint16_t  E,
const BitValue V 

◆ insert()

BT::RegisterCell & BT::RegisterCell::insert ( const RegisterCell RC,
const BitMask M 

◆ meet()

bool BT::RegisterCell::meet ( const RegisterCell RC,
unsigned  SelfR 

◆ operator!=()

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

Definition at line 285 of file BitTracker.h.

References llvm::tgtok::Bits, C, llvm::operator<<(), and llvm::operator==().

◆ operator==()

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

◆ operator[]() [1/2]

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

Definition at line 266 of file BitTracker.h.

References assert(), and llvm::tgtok::Bits.

◆ operator[]() [2/2]

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

Definition at line 270 of file BitTracker.h.

References assert(), B, llvm::tgtok::Bits, E, extract, llvm::operator==(), and rol().

◆ ref()

BitTracker::RegisterCell llvm::BitTracker::RegisterCell::ref ( const RegisterCell C)

◆ regify()

BT::RegisterCell & BT::RegisterCell::regify ( unsigned  R)

◆ rol()

BT::RegisterCell & BT::RegisterCell::rol ( uint16_t  Sh)

◆ self()

BitTracker::RegisterCell llvm::BitTracker::RegisterCell::self ( unsigned  Reg,
uint16_t  Width 

◆ top()

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

◆ width()

uint16_t llvm::BitTracker::RegisterCell::width ( ) const

Friends And Related Function Documentation

◆ operator<<

raw_ostream& operator<< ( raw_ostream OS,
const RegisterCell RC 

Definition at line 116 of file BitTracker.cpp.

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