19#ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_CONTAINER_TYPE_H_
20#define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_CONTAINER_TYPE_H_
24#include "backends/tofino/bf-p4c/phv/phv.h"
25#include "backends/tofino/bf-p4c/phv/phv_fields.h"
44 profile_t rv = Inspector::init_apply(root);
50 bool add_constraint(
const IR::BFN::Pipe *pipe,
const IR::Expression *expr,
cstring field_name,
53 bool preorder(
const IR::BFN::Pipe *pipe)
override;
62 std::optional<PHV::Kind> required_kind(
const PHV::Field *f)
const;
66 static const char *description;
67 static const char *help;
Definition ordered_map.h:32
Definition phv_fields.h:154
Definition phv_fields.h:1095
Definition pa_container_type.h:35
const ordered_map< const PHV::Field *, PHV::Kind > & getFields() const
Definition pa_container_type.h:60
static const char * name
BFN::Pragma interface.
Definition pa_container_type.h:65
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24