![]() |
P4C
The P4 Compiler
|
Maps a declaration to its associated storage. More...
#include <def_use.h>
Public Member Functions | |
| StorageMap (ReferenceMap *refMap, TypeMap *typeMap) | |
| StorageLocation * | add (const IR::IDeclaration *decl) |
| void | dbprint (std::ostream &out) const override |
| StorageLocation * | getOrAdd (const IR::IDeclaration *decl) |
| StorageLocation * | getStorage (const IR::IDeclaration *decl) const |
Public Member Functions inherited from P4::IHasDbPrint | |
| void | print () const |
Public Attributes | |
| ReferenceMap * | refMap |
| TypeMap * | typeMap |
Maps a declaration to its associated storage.
|
inlineoverridevirtual |
Implements P4::IHasDbPrint.