P4C
The P4 Compiler
|
#include <remove_act_tables.h>
Public Member Functions | |
bool | isCandidate (const IR::MAU::Table *t) const |
Analyze tables to see whether they can be reduced to a set of assignments which can be moved either in the parser or into other actions similar to metadata initialization.
This is comes up in P4-16 when the programmer declares a set of local variables in a control. The midend generates a table with a single action that initializes these variables and thus introduces a dependency that extends the number of stages.