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 TableMatchcreate (const PhvInfo &phv, const IR::MAU::Table *tbl)
 

Public Attributes

bool dynamic_key_masks = false
 
safe_vector< Sliceghost_bits
 
bool identity_hash = false
 
safe_vector< Slicematch_fields
 
safe_vector< Slicematch_fields_byte
 
safe_vector< Slicematch_fields_word
 
const PhvInfophv
 
bool proxy_hash = false
 
safe_vector< ProxyHashSliceproxy_hash_fields
 
const IR::MAU::Table * table = nullptr