|
|
void | clear () |
| | Clear the reference map.
|
| |
| void | dbprint (std::ostream &cout) const override |
| |
| const IR::IDeclaration * | getDeclaration (const IR::Path *path, bool notNull=false) const override |
| |
| const IR::IDeclaration * | getDeclaration (const IR::This *pointer, bool notNull=false) const override |
| |
| bool | isUsed (const IR::IDeclaration *decl) const |
| |
| bool | isV1 () const |
| |
| cstring | newName (cstring base) override |
| | Generate a name from base that fresh for the program.
|
| |
|
void | setAnyOrder (bool anyOrder) |
| |
|
void | setDeclaration (const IR::Path *path, const IR::IDeclaration *decl) |
| | Sets declaration for path to decl.
|
| |
|
void | setDeclaration (const IR::This *pointer, const IR::IDeclaration *decl) |
| | Sets declaration for pointer to decl.
|
| |
|
void | setIsV1 (bool isv1) |
| | Set boolean indicating whether map is for a P4_14 program to isV1.
|
| |
|
void | usedName (cstring name) |
| | Indicate that name is used in the program.
|
| |
|
bool | checkMap (const IR::Node *node) const |
| |
|
void | clear () |
| |
|
void | updateMap (const IR::Node *node) |
| |
|
void | validateMap (const IR::Node *node) const |
| |
|
void | print () const |
| |
Class used to encode maps from paths to declarations.