LLVM  6.0.0svn
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
llvm::BitTracker::BitValue Struct Reference

#include "Target/Hexagon/BitTracker.h"

Collaboration diagram for llvm::BitTracker::BitValue:
Collaboration graph
[legend]

Public Types

enum  ValueType { Top, Zero, One, Ref }
 

Public Member Functions

 BitValue (ValueType T=Top)
 
 BitValue (bool B)
 
 BitValue (unsigned Reg, uint16_t Pos)
 
bool operator== (const BitValue &V) const
 
bool operator!= (const BitValue &V) const
 
bool is (unsigned T) const
 
bool meet (const BitValue &V, const BitRef &Self)
 
bool num () const
 
 operator bool () const
 

Static Public Member Functions

static BitValue ref (const BitValue &V)
 
static BitValue self (const BitRef &Self=BitRef())
 

Public Attributes

ValueType Type
 
BitRef RefI
 

Friends

raw_ostreamoperator<< (raw_ostream &OS, const BitValue &BV)
 

Detailed Description

Definition at line 114 of file BitTracker.h.

Member Enumeration Documentation

◆ ValueType

Enumerator
Top 
Zero 
One 
Ref 

Definition at line 115 of file BitTracker.h.

Constructor & Destructor Documentation

◆ BitValue() [1/3]

llvm::BitTracker::BitValue::BitValue ( ValueType  T = Top)
inline

Definition at line 153 of file BitTracker.h.

◆ BitValue() [2/3]

llvm::BitTracker::BitValue::BitValue ( bool  B)
inline

Definition at line 154 of file BitTracker.h.

◆ BitValue() [3/3]

llvm::BitTracker::BitValue::BitValue ( unsigned  Reg,
uint16_t  Pos 
)
inline

Definition at line 155 of file BitTracker.h.

Member Function Documentation

◆ is()

bool llvm::BitTracker::BitValue::is ( unsigned  T) const
inline

◆ meet()

bool llvm::BitTracker::BitValue::meet ( const BitValue V,
const BitRef Self 
)
inline

Definition at line 188 of file BitTracker.h.

References RefI, and Type.

◆ num()

bool llvm::BitTracker::BitValue::num ( ) const
inline

◆ operator bool()

llvm::BitTracker::BitValue::operator bool ( ) const
inline

Definition at line 220 of file BitTracker.h.

References assert(), and llvm::operator<<().

◆ operator!=()

bool llvm::BitTracker::BitValue::operator!= ( const BitValue V) const
inline

Definition at line 164 of file BitTracker.h.

References llvm::operator==().

◆ operator==()

bool llvm::BitTracker::BitValue::operator== ( const BitValue V) const
inline

Definition at line 157 of file BitTracker.h.

References RefI, and Type.

◆ ref()

BitTracker::BitValue llvm::BitTracker::BitValue::ref ( const BitValue V)
inlinestatic

◆ self()

BitTracker::BitValue llvm::BitTracker::BitValue::self ( const BitRef Self = BitRef())
inlinestatic

Friends And Related Function Documentation

◆ operator<<

raw_ostream& operator<< ( raw_ostream OS,
const BitValue BV 
)
friend

Definition at line 98 of file BitTracker.cpp.

Member Data Documentation

◆ RefI

BitRef llvm::BitTracker::BitValue::RefI

◆ Type

ValueType llvm::BitTracker::BitValue::Type

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