19#ifndef BF_P4C_PHV_COLLECT_TABLE_KEYS_H_
20#define BF_P4C_PHV_COLLECT_TABLE_KEYS_H_
22#include "backends/tofino/bf-p4c/mau/mau_visitor.h"
23#include "backends/tofino/bf-p4c/phv/phv_fields.h"
33 bool is_range =
false;
41 profile_t rv = MauInspector::init_apply(root);
45 void end_apply()
override;
46 bool preorder(
const IR::MAU::Table *tbl)
override;
47 int get_n_entries(
const IR::MAU::Table *tbl)
const;
51 const TableProp &prop(
const IR::MAU::Table *tbl)
const {
return table_props.at(tbl); }
Definition mau_visitor.h:29
Definition ordered_map.h:32
Definition ordered_set.h:32
Definition collect_table_keys.h:27
Definition collect_table_keys.h:29
Definition phv_fields.h:1095
The namespace encapsulating PHV-related stuff.
Definition gateway.h:32