P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::StorageMap Class Reference

Maps a declaration to its associated storage. More...

#include <def_use.h>

Inheritance diagram for P4::StorageMap:
[legend]

Public Member Functions

 StorageMap (ReferenceMap *refMap, TypeMap *typeMap)
 
const StorageLocationadd (const IR::IDeclaration *decl)
 
void dbprint (std::ostream &out) const override
 
const StorageLocationgetOrAdd (const IR::IDeclaration *decl)
 
const StorageLocationgetStorage (const IR::IDeclaration *decl) const
 
- Public Member Functions inherited from P4::IHasDbPrint
void print () const
 

Public Attributes

ReferenceMaprefMap
 
TypeMaptypeMap
 

Detailed Description

Maps a declaration to its associated storage.

Member Function Documentation

◆ dbprint()

void P4::StorageMap::dbprint ( std::ostream & out) const
inlineoverridevirtual

Implements P4::IHasDbPrint.