P4C
The P4 Compiler
Loading...
Searching...
No Matches
AllocateParserState::ParserStateAllocator Class Reference

Public Member Functions

 ParserStateAllocator (const IR::BFN::ParserState *s, const PhvInfo &phv, ClotInfo &clot)
 
int compute_max_shift_in_bits ()
 

Public Attributes

std::vector< const IR::BFN::ParserChecksumPrimitive * > checksums
 
ClotInfoclot
 
std::vector< const IR::BFN::ExtractClot * > clot_extracts
 
std::vector< const IR::BFN::ParserCounterPrimitive * > counters
 
IR::Vector< IR::BFN::ParserPrimitive > current_statements
 
std::vector< const IR::BFN::ParserPrimitive * > others
 
const PhvInfophv
 
std::vector< const IR::BFN::ExtractPhv * > phv_extracts
 
bool spill_selects = false
 
IR::Vector< IR::BFN::ParserPrimitive > spilled_statements
 
const IR::BFN::ParserState * state