P4C
The P4 Compiler
Loading...
Searching...
No Matches
PHV::FreeSlice Struct Reference

#include <live_range_split.h>

Public Member Functions

bool isFullyAvailableAt (int stage) const
 
bool operator!= (const FreeSlice &c) const
 
bool operator< (const FreeSlice &c) const
 
bool operator== (const FreeSlice &c) const
 

Public Attributes

Container container
 
LiveRange lr
 
le_bitrange range
 

Friends

std::ostream & operator<< (std::ostream &os, const FreeSlice &cs)
 

Detailed Description

Represents a span of free bits in a container over a range of stages. Similar in representation to AllocSlice, but represents a region that's available.

Member Function Documentation

◆ isFullyAvailableAt()

bool PHV::FreeSlice::isFullyAvailableAt ( int stage) const
inline

Returns true of the bit slice is fully available at the read and write substages of the given stage.