P4C
The P4 Compiler
|
#include <copacker.h>
Public Attributes | |
std::vector< SrcPackVec * > | pack_sources |
1 or 2 source packing vector. | |
cstring | reason = ""_cs |
reason of this copack constraint. | |
bool | required = false |
true if this packing is the only option and required. | |
a list of SrcPackVec that must either all be satisfied or none. For each action, the packing in destination may create 1 or 2 hints, e.g., bitwise-op would require two sources to aligned and packed in two container.
std::vector<SrcPackVec *> PHV::v2::CoPackHint::pack_sources |
1 or 2 source packing vector.
cstring PHV::v2::CoPackHint::reason = ""_cs |
reason of this copack constraint.
bool PHV::v2::CoPackHint::required = false |
true if this packing is the only option and required.