P4C
The P4 Compiler
Loading...
Searching...
No Matches
PhvInfo::SameContainerAllocConstraint Struct Reference

#include <phv_fields.h>

Public Types

using FieldBit = std::pair<const PHV::Field *, int>
 

Public Member Functions

void clear ()
 
bool same_container (const PHV::FieldSlice &a, const PHV::FieldSlice &b) const
 

Public Attributes

UnionFind< FieldBit > same_byte_bits
 

Detailed Description

SameContainerAllocConstraint stores a UnionFind for field slices that must be allocated into one container because of PARDE constraints.