P4C
The P4 Compiler
|
Public Member Functions | |
void | add_slice (const AllocSlice &slice) |
add a new alloc slice. | |
std::optional< gress_t > | get_gress (const Container &c) const |
bool | is_empty_at (const Container &c, const LiveRange &lr) const |
bool | satisfies_constraints (const PHV::Field *f, const LiveRange &lr, const Container &c) const |
Public Attributes | |
ordered_map< Container, gress_t > | cont_gress |
ordered_map< Container, ordered_set< AllocSlice > > | cont_slices |
|
inline |
c
. c
does not have any allocated slice within lr
.
|
inline |
f
of lr
can be allocated to c
.