19#ifndef BACKENDS_TOFINO_BF_P4C_COMMON_MAP_TABLES_TO_ACTIONS_H_
20#define BACKENDS_TOFINO_BF_P4C_COMMON_MAP_TABLES_TO_ACTIONS_H_
22#include "backends/tofino/bf-p4c/phv/utils/utils.h"
45 bool preorder(
const IR::MAU::Table *t)
override;
46 void end_apply()
override;
59 std::optional<const IR::MAU::Table *>
getTableForAction(
const IR::MAU::Action *act)
const;
Definition map_tables_to_actions.h:29
const PHV::ActionSet & getActionsForTable(const IR::MAU::Table *t) const
Definition map_tables_to_actions.cpp:28
const PHV::ActionSet & getDefaultActionsForTable(const IR::MAU::Table *t) const
Definition map_tables_to_actions.cpp:35
std::optional< const IR::MAU::Table * > getTableForAction(const IR::MAU::Action *act) const
Definition map_tables_to_actions.cpp:42
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24