P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
StatefulAlu::operand Struct Reference
Inheritance diagram for StatefulAlu::operand:
[legend]

Classes

struct  Base
 
struct  Const
 
struct  MathFn
 
struct  Memory
 
struct  Phv
 
struct  PhvRaw
 
struct  PhvReg
 
struct  Regfile
 

Public Member Functions

 operand (const operand &a)
 
 operand (operand &&a)
 
 operand (Table *tbl, const Table::Actions::Action *act, const value_t &v, bool can_mask=false)
 
void dbprint (std::ostream &out) const
 
 operator bool () const
 
Baseoperator-> ()
 
operandoperator= (const operand &a)
 
operandoperator= (operand &&a)
 
bool operator== (operand &a)
 
bool phvRead (std::function< void(const ::Phv::Slice &sl)> fn)
 
template<class T>
T * to ()
 
bool valid () const
 
- Public Member Functions inherited from P4::IHasDbPrint
void print () const
 

Public Attributes

uint64_t mask = uint32_t(-1)
 
bool neg = false
 
StatefulAlu::operand::Baseop
 

Member Function Documentation

◆ dbprint()

void StatefulAlu::operand::dbprint ( std::ostream & out) const
inlinevirtual

Implements P4::IHasDbPrint.