
Public Member Functions | |
| MoveInitializers (ReferenceMap *refMap) | |
| const IR::Node * | postorder (IR::Declaration_Variable *decl) override |
| const IR::Node * | postorder (IR::P4Control *control) override |
| const IR::Node * | postorder (IR::P4Parser *parser) override |
| const IR::Node * | postorder (IR::ParserState *state) override |
| const IR::Node * | postorder (IR::Path *path) override |
| const IR::Node * | preorder (IR::P4Parser *parser) override |
After MoveDeclarations, some variable declarations in the "local" section of a parser and control may still have initializers; these are moved into a new start state, and to the beginning of the apply body repectively.