![]() |
P4C
The P4 Compiler
|
CoPacker is the method that compute and generates copack constraints. More...
#include <copacker.h>
Public Member Functions | |
| CoPacker (const ActionSourceTracker &sources, const SuperCluster *sc, const ScAllocAlignment *alignment) | |
| CoPackResult | gen_copack_hints (const Allocation &allocated_tx, const std::vector< AllocSlice > &slices, const Container &c) const |
CoPacker is the method that compute and generates copack constraints.
| CoPackResult PHV::v2::CoPacker::gen_copack_hints | ( | const Allocation & | allocated_tx, |
| const std::vector< AllocSlice > & | slices, | ||
| const Container & | c ) const |
slices in container c. Premise:alloc must be the allocation that has slices allocated already.slices must be field slices of member variable sc_i.