P4C
The P4 Compiler
Loading...
Searching...
No Matches
Tofino::ActionDataBus::Use Struct Reference
Inheritance diagram for Tofino::ActionDataBus::Use:
[legend]

Classes

struct  RandomNumberGenerator
 

Public Member Functions

void clear () override
 
Useclone () const override
 
bool emit_adb_asm (std::ostream &, const IR::MAU::Table *, bitvec source) const override
 
bool empty () const override
 
bool operator== (const Use &use) const
 
int rng_unit () const override
 
- Public Member Functions inherited from ActionDataBus::Use
bool operator!= (const Use &use) const
 
bool operator== (const Use &use) const
 

Public Attributes

safe_vector< RandomNumberGeneratorrng_locs
 
- Public Attributes inherited from ActionDataBus::Use
safe_vector< ReservedSpaceaction_data_locs
 
safe_vector< ReservedSpaceclobber_locs
 

Member Function Documentation

◆ clear()

void Tofino::ActionDataBus::Use::clear ( )
inlineoverridevirtual

Reimplemented from ActionDataBus::Use.

◆ clone()

Use * Tofino::ActionDataBus::Use::clone ( ) const
inlineoverridevirtual

Implements ActionDataBus::Use.

◆ emit_adb_asm()

bool Tofino::ActionDataBus::Use::emit_adb_asm ( std::ostream & out,
const IR::MAU::Table * tbl,
bitvec source ) const
overridevirtual

Implements ActionDataBus::Use.

◆ empty()

bool Tofino::ActionDataBus::Use::empty ( ) const
inlineoverridevirtual

Reimplemented from ActionDataBus::Use.

◆ rng_unit()

int ActionDataBus::Use::rng_unit ( ) const
overridevirtual

Implements ActionDataBus::Use.