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

List of definers for each base storage (at a specific program point). More...

#include <def_use.h>

Inheritance diagram for P4::Definitions:
[legend]

Public Member Functions

 Definitions (const Definitions &other)
 
DefinitionscloneDefinitions () const
 
void dbprint (std::ostream &out) const override
 
bool empty () const
 
const ProgramPointsgetPoints (const BaseLocation *location) const
 
const ProgramPointsgetPoints (const LocationSet &locations) const
 
bool hasLocation (const BaseLocation *location) const
 
bool isUnreachable () const
 
DefinitionsjoinDefinitions (const Definitions *other) const
 
bool operator== (const Definitions &other) const
 
void removeLocation (const StorageLocation *loc)
 
void setDefinition (const LocationSet &loc, const ProgramPoints *point)
 
void setDefinition (const StorageLocation *loc, const ProgramPoints *point)
 
void setDefintion (const BaseLocation *loc, const ProgramPoints *point)
 
DefinitionssetUnreachable ()
 
size_t size () const
 
Definitionswrites (ProgramPoint point, const LocationSet &locations) const
 Point writes the specified LocationSet.
 
- Public Member Functions inherited from P4::IHasDbPrint
void print () const
 

Detailed Description

List of definers for each base storage (at a specific program point).

Member Function Documentation

◆ dbprint()

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

Implements P4::IHasDbPrint.