P4C
The P4 Compiler
|
#include <action_phv_constraints.h>
Public Member Functions | |
CanPackErrorV2 (CanPackErrorCode code) | |
CanPackErrorV2 (CanPackErrorCode code, bool clear_align) | |
CanPackErrorV2 (CanPackErrorCode code, cstring msg) | |
CanPackErrorV2 (CanPackErrorCode code, cstring msg, const std::vector< PHV::AllocSlice > *dest_cont) | |
bool | ok () const |
Public Attributes | |
CanPackErrorCode | code |
const std::vector< PHV::AllocSlice > * | invalid_dest_packing = nullptr |
cstring | msg |
bool | remove_align_req = false |
CanPackErrorV2 has (1) an error code for classification. (2) detailed error messages for debugging. (3) the destination container status when action synthesize failed.