P4C
The P4 Compiler
|
#include <allocator_base.h>
Public Member Functions | |
ContScopeAllocResult (const AllocError *err) | |
ContScopeAllocResult (const Transaction &tx, const ActionSourceCoPackMap &hints, Container c, bool is_packing) | |
bool | cont_is_whole_container_set_only () const |
Public Member Functions inherited from PHV::v2::AllocResult | |
AllocResult (const AllocError *err) | |
AllocResult (const Transaction &tx) | |
std::string | err_str () const |
bool | ok () const |
bool | operator== (const AllocResult &other) const |
std::string | tx_str (cstring prefix=""_cs) const |
Public Attributes | |
ActionSourceCoPackMap | action_hints |
Container | c |
bool | is_packing = false |
Public Attributes inherited from PHV::v2::AllocResult | |
const AllocError * | err = nullptr |
std::optional< PHV::Transaction > | tx |
Additional Inherited Members | |
Static Public Member Functions inherited from PHV::v2::AllocResult | |
static std::string | pretty_print_tx (const PHV::Transaction &tx, cstring prefix=cstring::empty) |
ContScopeAllocResult extends the AllocResult with additional properties for allocator to pick the best one.