P4C
The P4 Compiler
Loading...
Searching...
No Matches
IXBar::Use::Byte Struct Reference

Public Member Functions

 Byte (PHV::Container c, int l)
 
 Byte (PHV::Container c, int l, int g, int gb)
 
void add_info (const FieldInfo &fi)
 
bool can_add_info (const FieldInfo &fi) const
 
void clear_spec (byte_speciality_t bs)
 
std::vector< FieldInfoget_slices_for_visualization () const
 
bool has_field_slice (const PHV::FieldSlice &sl) const
 
bool is_range () const
 
bool is_spec (byte_speciality_t bs) const
 
bool is_subset (const Byte &b) const
 
bool only_one_nibble_in_use () const
 
 operator std::pair< PHV::Container, int > () const
 
bool operator< (const Byte &b) const
 
bool operator== (const Byte &b) const
 
bool operator== (const std::pair< PHV::Container, int > &a) const
 
void set_spec (byte_speciality_t bs)
 
void unallocate ()
 
std::string visualization_detail () const
 

Public Attributes

bitvec bit_use
 
PHV::Container container
 
safe_vector< FieldInfofield_bytes
 
int flags = 0
 
int ixbar_group_num = -1
 
int lo
 
Loc loc
 
int match_index = 0
 
bitvec non_zero_bits
 
bool proxy_hash = false
 
int range_index = -1
 
int search_bus = -1
 
unsigned specialities = 0
 

Member Function Documentation

◆ visualization_detail()

std::string IXBar::Use::Byte::visualization_detail ( ) const

Visualization Details on what bits are used within a particular byte are used within a table. Unused bits are printed out as unused