19#ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_MUTUALLY_EXCLUSIVE_H_
20#define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_MUTUALLY_EXCLUSIVE_H_
25#include "backends/tofino/bf-p4c/phv/phv_fields.h"
26#include "backends/tofino/bf-p4c/phv/utils/utils.h"
43 profile_t rv = Inspector::init_apply(root);
44 pa_mutually_exclusive_i.clear();
45 mutually_exclusive_headers.clear();
51 bool preorder(
const IR::BFN::Pipe *pipe)
override;
54 explicit PragmaMutuallyExclusive(
const PhvInfo &phv) : phv_i(phv) {}
58 static const char *description;
59 static const char *help;
62 return pa_mutually_exclusive_i;
65 return mutually_exclusive_headers;
Definition ordered_map.h:32
Definition phv_fields.h:1095
Definition pa_mutually_exclusive.h:37
static const char * name
BFN::Pragma interface.
Definition pa_mutually_exclusive.h:57
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24