19#ifndef BF_P4C_ARCH_BRIDGE_METADATA_H_
20#define BF_P4C_ARCH_BRIDGE_METADATA_H_
22#include "bf-p4c/arch/program_structure.h"
23#include "bf-p4c/ir/gress.h"
24#include "bf-p4c/midend/path_linearizer.h"
25#include "frontends/common/resolveReferences/resolveReferences.h"
26#include "frontends/p4/evaluator/evaluator.h"
28#include "ir/namemap.h"
29#include "lib/ordered_set.h"
30#include "midend/eliminateSerEnums.h"
34static const cstring META =
"meta"_cs;
35static const cstring COMPILER_META =
"__bfp4c_compiler_generated_meta"_cs;
36static const cstring BRIDGED_MD =
"__bfp4c_bridged_metadata"_cs;
37static const cstring BRIDGED_MD_HEADER =
"__bfp4c_bridged_metadata_header"_cs;
38static const cstring BRIDGED_MD_FIELD =
"__bfp4c_fields"_cs;
39static const cstring BRIDGED_MD_INDICATOR =
"__bfp4c_bridged_metadata_indicator"_cs;
43 bool &program_uses_bridge_metadata);
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