19#ifndef BACKENDS_TOFINO_BF_P4C_MAU_ADJUST_BYTE_COUNT_H_
20#define BACKENDS_TOFINO_BF_P4C_MAU_ADJUST_BYTE_COUNT_H_
22#include "bf-p4c/logging/pass_manager.h"
23#include "bf-p4c/mau/mau_visitor.h"
36 std::map<const IR::MAU::AttachedMemory *, const int64_t> adjust_byte_counts;
43 bool preorder(
const IR::MAU::Primitive *prim)
override;
50 int get_bytecount(IR::MAU::AttachedMemory *am);
51 const IR::MAU::Counter *preorder(IR::MAU::Counter *counter)
override;
52 const IR::MAU::Meter *preorder(IR::MAU::Meter *meter)
override;
Definition adjust_byte_count.h:35
Definition mau_visitor.h:29
Definition ir/pass_manager.h:40
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24