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

Public Member Functions

 TablesInKeys (ReferenceMap *refMap, TypeMap *typeMap, std::set< const IR::P4Table * > *invokedInKey)
 
Visitor::profile_t init_apply (const IR::Node *node) override
 
void postorder (const IR::MethodCallExpression *mce) override
 

Detailed Description

Discovers tables that are invoked within key computations for other tables: e.g. table Y { ... } table X { key = { ... Y.apply.hit() ... } } This inserts Y into the map invokedInKey;