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

Public Member Functions

 DarkInitPrimitive (AllocSlice &src)
 
 DarkInitPrimitive (AllocSlice &src, const ActionSet &initPoints)
 
 DarkInitPrimitive (const ActionSet &initPoints)
 
 DarkInitPrimitive (const DarkInitPrimitive &other)
 
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 addSource (const AllocSlice &sl)
 
bool destAssignedToZero () const
 
const std::vector< DarkInitEntry * > getARApostPrims () const
 
const UnitSetgetARApostUnits () const
 
const std::vector< DarkInitEntry * > getARApriorPrims () const
 
const UnitSetgetARApriorUnits () const
 
const ActionSetgetInitPoints () const
 
AllocSlicegetSourceSlice () const
 
bool isAlwaysRunActionPrim () const
 
bool isEmpty () const
 
bool isNOP () const
 
bool mustInitInLastMAUStage () const
 
DarkInitPrimitiveoperator= (const DarkInitPrimitive &other)
 
bool operator== (const DarkInitPrimitive &other) const
 
void setAlwaysRunActionPrim ()
 
void setAssignZeroToDest ()
 
void setLastStageAlwaysInit ()
 
void setNop ()
 
bool setSourceLatestLiveness (StageAndAccess max)