![]() |
P4C
The P4 Compiler
|
#include <utils.h>
Public Member Functions | |
| ConditionalConstraintData (int bit, bool rotate=false) | |
| ConditionalConstraintData (int bit, PHV::Container c, bool rotate=false) | |
| bool | operator== (const ConditionalConstraintData &other) const |
Public Attributes | |
| int | bitPosition |
| Bit position to which the FieldSlice must be aligned. | |
| std::optional< PHV::Container > | container |
| Specific container to which the slice must be allocated. | |
| bool | rotationAllowed |
| Boolean set to true if AllocatePHV can use rotationally equivalent bitPosition. | |
This struct represents the conditional constraint information generated by ActionPhvConstraints for a single unallocated PHV::FieldSlice.