19#ifndef BF_P4C_ARCH_FROMV1_0_ADD_METADATA_PARSER_STATES_H_
20#define BF_P4C_ARCH_FROMV1_0_ADD_METADATA_PARSER_STATES_H_
23#include "ir/pass_manager.h"
33 IR::ParserState *tmp =
nullptr;
35 bool no_phase0 =
false, no_resubmit =
false;
36 bool no_mirrored =
false, no_bridged =
false;
39 bool is_empty(IR::ParserState *state);
40 IR::Node *postorder(IR::ParserState *state)
override;
41 IR::Node *postorder(IR::P4Parser *parser)
override;
48 bool use_bridge_metadata =
false;
Definition ir/pass_manager.h:40
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24