P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
BMV2::ControlConverter< arch > Class Template Reference
Inheritance diagram for BMV2::ControlConverter< arch >:

Public Member Functions

 ControlConverter (ConversionContext *ctxt, cstring name, const bool &emitExterns_)
 
bool preorder (const IR::P4Control *cont) override
 

Public Attributes

const bool emitExterns
 

Protected Member Functions

Util::IJsonconvertIf (const CFG::IfNode *node, cstring prefix)
 
Util::IJsonconvertTable (const CFG::TableNode *node, Util::JsonArray *action_profiles, BMV2::SharedActionSelectorCheck< arch > *selector_check)
 
void convertTableEntries (const IR::P4Table *table, Util::JsonObject *jsonTable)
 
cstring getKeyMatchType (const IR::KeyElement *ke)
 
bool handleTableImplementation (const IR::Property *implementation, const IR::Key *key, Util::JsonObject *table, Util::JsonArray *action_profiles, BMV2::SharedActionSelectorCheck< arch > *)
 Return 'true' if the table is 'simple'.