P4C
The P4 Compiler
Loading...
Searching...
No Matches
TableMatch Class Reference

Classes

struct  ProxyHashSlice
 

Public Member Functions

 TableMatch (const PhvInfo &phv)
 
 TableMatch (const PhvInfo &phv, const IR::MAU::Table *tbl)
 
void init_proxy_hash ()
 
void populate_ghost_bits ()
 
virtual void populate_match_fields ()
 
void populate_slices (safe_vector< Slice > &slices, const std::map< IXBar::Use::Byte, bitvec > &byte_infos)
 

Static Public Member Functions

static TableMatch * create (const PhvInfo &phv, const IR::MAU::Table *tbl)
 

Public Attributes

bool dynamic_key_masks = false
 
safe_vector< Slice > ghost_bits
 
bool identity_hash = false
 
safe_vector< Slice > match_fields
 
safe_vector< Slice > match_fields_byte
 
safe_vector< Slice > match_fields_word
 
const PhvInfo & phv
 
bool proxy_hash = false
 
safe_vector< ProxyHashSlice > proxy_hash_fields
 
const IR::MAU::Table * table = nullptr