P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::BMV2::V1ProgramStructure Class Reference
Inheritance diagram for P4::BMV2::V1ProgramStructure:
[legend]

Public Member Functions

BlockConverted blockKind (const IR::Node *node) const
 
- Public Member Functions inherited from P4::ProgramStructure

Public Attributes

const IR::P4Control * compute_checksum = nullptr
 
const IR::P4Control * deparser = nullptr
 
const IR::P4Control * egress = nullptr
 
const IR::P4Control * ingress = nullptr
 
std::set< cstringnon_pipeline_controls
 
const IR::P4Parser * parser = nullptr
 
std::set< cstringpipeline_controls
 
const IR::P4Control * verify_checksum = nullptr
 
- Public Attributes inherited from P4::ProgramStructure
ordered_map< const IR::P4Action *, const IR::P4Control * > actions
 Map action to parent control.
 
ordered_map< cstring, const IR::P4Table * > directCounterMap
 All the direct counters. (TODO: This should be PSA-specific or V1MODEL-specific.)
 
DirectMeterMap directMeterMap
 All the direct meters. (TODO: This should be PSA-specific or V1MODEL-specific.)
 
ordered_map< const IR::IDeclaration *, unsigned int > errorCodesMap
 All error codes.
 
ordered_map< const IR::P4Action *, unsigned > ids
 For each action its json id.
 
ordered_map< const IR::Parameter *, unsigned > index
 
std::set< cstringmatch_kinds
 All match kinds.
 
ordered_set< const IR::Parameter * > nonActionParameters
 Parameters of controls/parsers.
 
ResourceMap resourceMap
 map IR node to compile-time allocated resource blocks.
 
std::map< const IR::StructField *, cstringscalarMetadataFields
 
std::vector< const IR::Declaration_Variable * > variables
 All local variables.