19#ifndef BF_P4C_PHV_V2_TYPES_H_
20#define BF_P4C_PHV_V2_TYPES_H_
24#include "backends/tofino/bf-p4c/phv/utils/utils.h"
25#include "backends/tofino/bf-p4c/phv/v2/allocator_metrics.h"
31using AllocVerifier = std::function<bool(
const SuperCluster *, AllocatorMetrics &)>;
37using FieldSliceStart = std::pair<PHV::FieldSlice, int>;
39std::ostream &operator<<(std::ostream &out,
const FieldSliceAllocStartMap &fs);
42using ContainerGroupsBySize = std::map<PHV::Size, std::vector<ContainerGroup>>;
Definition ordered_map.h:32
Definition phv_fields.h:898
The namespace encapsulating PHV-related stuff.
Definition gateway.h:32