30 std::vector<std::pair<const PHV::Field *, const PHV::Field *>> no_packs_i;
33 profile_t rv = Inspector::init_apply(root);
38 bool preorder(
const IR::BFN::Pipe *pipe)
override;
41 explicit PragmaNoPack(
const PhvInfo &phv)
43 PragmaNoPack(
const PhvInfo &phv,
45 : phv_i(phv), no_pack_constr(no_pack_constr) {}
46 const std::vector<std::pair<const PHV::Field *, const PHV::Field *>> &no_packs()
const {
52 static const char *description;
53 static const char *help;
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24