39 std::map<const IR::BFN::ParserState *, std::set<const IR::Expression *>> state_extracts;
40 std::map<const PHV::Field *, std::set<const IR::Expression *>> parser_inits;
54 : defuse(defuse), phv(phv), pragmas(pragmas), uses(phv) {}
56 void end_apply()
override;
57 bool preorder(
const IR::BFN::Pipe *)
override;
58 bool preorder(
const IR::BFN::DeparserParameter *)
override;
59 bool preorder(
const IR::BFN::Digest *)
override;
60 bool preorder(
const IR::Expression *)
override;
61 bool preorder(
const IR::BFN::ParserZeroInit *)
override;
Definition tofino_write_context.h:24
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24