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

Public Member Functions

 DarkInitEntry (AllocSlice &dest)
 
 DarkInitEntry (AllocSlice &dest, AllocSlice &src)
 
 DarkInitEntry (AllocSlice &dest, AllocSlice &src, const ActionSet &init)
 
 DarkInitEntry (AllocSlice &dest, const ActionSet &initPoints)
 
 DarkInitEntry (const AllocSlice &dest, const DarkInitPrimitive &src)
 
void addDestinationUnit (cstring tName, FieldUse tRef)
 
void addPostPrims (DarkInitEntry *prims, bool append=true)
 
void addPostUnits (const UnitSet &units, bool append=true)
 
void addPriorPrims (DarkInitEntry *prims, bool append=true)
 
void addPriorUnits (const UnitSet &units, bool append=true)
 
void addRefs (const RefsMap &sl_refs, bool clear_refs=false)
 
void addSource (AllocSlice sl)
 
bool destAssignedToZero () const
 
AllocSlice getDestinationSlice ()
 
const AllocSlicegetDestinationSlice () const
 
const ActionSetgetInitPoints () const
 
DarkInitPrimitivegetInitPrimitive ()
 
const DarkInitPrimitivegetInitPrimitive () const
 
AllocSlicegetSourceSlice () const
 
bool isNOP () const
 
bool mustInitInLastMAUStage () const
 
bool operator!= (const DarkInitEntry &other) const
 
bool operator< (const DarkInitEntry &other) const
 
bool operator== (const DarkInitEntry &other) const
 
void setAlwaysRunInit ()
 
void setDestinationEarliestLiveness (const StageAndAccess &min)
 
void setDestinationLatestLiveness (const StageAndAccess &max)
 
void setLastStageAlwaysInit ()
 
void setNop ()