P4C
The P4 Compiler
Loading...
Searching...
No Matches
CollectParserUseDef::MapToUse Struct Reference
Inheritance diagram for CollectParserUseDef::MapToUse:
[legend]

Public Member Functions

 MapToUse (const PhvInfo &phv, const CollectParserInfo &pi, const CollectDefs &d, ParserUseDef &parser_use_def)
 
void add_def (ordered_set< Parser::Def * > &rv, const IR::BFN::ParserState *state, const IR::BFN::InputBufferRVal *rval)
 
std::vector< std::pair< const IR::BFN::ParserState *, const IR::BFN::InputBufferRVal * > > defer_defs_to_children (const IR::BFN::InputBufferRVal *rval, const IR::BFN::ParserGraph &graph, const IR::BFN::ParserState *use_state, const IR::BFN::ParserState *def_state, const PHV::Field *field, const PHV::Field *saved, const le_bitrange &field_bits, const le_bitrange &saved_bits)
 
ordered_set< Parser::Def * > find_defs (const IR::BFN::InputBufferRVal *rval, const IR::BFN::ParserGraph &graph, const IR::BFN::ParserState *state)
 
ordered_set< Parser::Def * > find_defs (const IR::Expression *saved, const IR::BFN::ParserGraph &graph, const IR::BFN::ParserState *state)
 
Visitor::profile_t init_apply (const IR::Node *root) override
 
bool is_source_extracted_on_each_path_to_state (const IR::BFN::ParserGraph &graph, const IR::BFN::ParserState *state, const PHV::Field *saved)
 
bool preorder (const IR::BFN::Parser *parser) override
 
bool preorder (const IR::BFN::SavedRVal *save) override
 

Public Attributes

const CollectDefsdefs
 
const CollectParserInfoparser_info
 
ParserUseDefparser_use_def
 
const PhvInfophv