P4C
The P4 Compiler
|
#include <utils_v2.h>
Public Member Functions | |
bool | empty () const |
std::optional< ScAllocAlignment > | merge (const ScAllocAlignment &other) const |
bool | ok (const AlignedCluster *aligned, int start) const |
cstring | pretty_print (cstring prefix, const SuperCluster *sc) const |
Public Attributes | |
ordered_map< const AlignedCluster *, int > | cluster_starts |
a cluster_alignment maps aligned cluster to start bit location in a container. | |
ScAllocAlignment is the alignment arrangement for a super cluster based on its alignment constraints of slice lists and aligned clusters.
|
inline |
std::optional< ScAllocAlignment > PHV::v2::ScAllocAlignment::merge | ( | const ScAllocAlignment & | other | ) | const |
|
inline |
aligned
to start
index of a container. cstring PHV::v2::ScAllocAlignment::pretty_print | ( | cstring | prefix, |
const SuperCluster * | sc ) const |
sc
.