P4C
The P4 Compiler
Loading...
Searching...
No Matches
PHV::IFieldSliceLiveRangeDB Class Referenceabstract
Inheritance diagram for PHV::IFieldSliceLiveRangeDB:
[legend]

Public Member Functions

virtual const LiveRangeInfodefault_liverange () const =0
 
virtual const LiveRangeInfoget_liverange (const PHV::FieldSlice &) const =0
 

Member Function Documentation

◆ default_liverange()

virtual const LiveRangeInfo * PHV::IFieldSliceLiveRangeDB::default_liverange ( ) const
pure virtual
Returns
a default live range that should live from parser to deparser.

Implemented in PHV::FieldSliceLiveRangeDB.

◆ get_liverange()

virtual const LiveRangeInfo * PHV::IFieldSliceLiveRangeDB::get_liverange ( const PHV::FieldSlice & ) const
pure virtual
Returns
a const pointer to live range info, nullptr if not exist.

Implemented in PHV::FieldSliceLiveRangeDB.