P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
DPDK::SplitP4TableCommon Class Reference
Inheritance diagram for DPDK::SplitP4TableCommon:

Public Types

enum class  TableImplementation { DEFAULT , ACTION_PROFILE , ACTION_SELECTOR }
 

Public Member Functions

 SplitP4TableCommon (P4::ReferenceMap *refMap, P4::TypeMap *typeMap, DpdkProgramStructure *structure, SwitchHandler &sw)
 
const IR::P4Action * create_action (cstring, cstring, cstring)
 
const IR::P4Table * create_group_table (const IR::P4Table *, cstring, cstring, cstring, unsigned, unsigned)
 
std::tuple< const IR::P4Table *, cstring, cstringcreate_match_table (const IR::P4Table *)
 
const IR::P4Table * create_member_table (const IR::P4Table *, cstring, cstring)
 
IR::Expression * initializeMemberAndGroupId (cstring tableName, IR::IndexedVector< IR::StatOrDecl > *decls)
 
const IR::Node * postorder (IR::IfStatement *) override
 
const IR::Node * postorder (IR::MethodCallStatement *) override
 
const IR::Node * postorder (IR::P4Control *) override
 
const IR::Node * postorder (IR::SwitchStatement *) override
 

Public Attributes

std::map< cstring, cstringgroup_ids
 
std::map< cstring, cstringgroup_tables
 
TableImplementation implementation
 
std::set< cstringmatch_tables
 
std::map< cstring, cstringmember_ids
 
std::map< cstring, cstringmember_tables
 
P4::ReferenceMaprefMap
 
DpdkProgramStructurestructure
 
SwitchHandlersw
 
P4::TypeMaptypeMap
 

Detailed Description