![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
| BlockConverted | blockKind (const IR::Node *node) const |
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< cstring > | non_pipeline_controls |
| const IR::P4Parser * | parser = nullptr |
| std::set< cstring > | pipeline_controls |
| const IR::P4Control * | verify_checksum = nullptr |
Public Attributes inherited from BMV2::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. | |
| DirectMeterMap | directMeterMap |
| All the direct meters. | |
| 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< cstring > | match_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 *, cstring > | scalarMetadataFields |
| std::vector< const IR::Declaration_Variable * > | variables |
| All local variables. | |