P4C
The P4 Compiler
Loading...
Searching...
No Matches
resubmit.h
1
19#ifndef BF_P4C_ARCH_FROMV1_0_RESUBMIT_H_
20#define BF_P4C_ARCH_FROMV1_0_RESUBMIT_H_
21
22#include <utility>
23#include <vector>
24
25#include "ir/ir.h"
26#include "ir/pass_manager.h"
27#include "lib/cstring.h"
28
29namespace P4 {
30class ReferenceMap;
31class TypeMap;
32} // namespace P4
33
34namespace BFN {
35
36struct FieldPacking;
37
38using ResubmitSources = IR::Vector<IR::Expression>;
39using ResubmitExtracts = std::map<unsigned, std::pair<cstring, const ResubmitSources *>>;
40
42 ResubmitExtracts fieldExtracts;
43
44 public:
46};
47
48} // namespace BFN
49
50#endif /* BF_P4C_ARCH_FROMV1_0_RESUBMIT_H_ */
Definition resubmit.h:41
Definition ir/pass_manager.h:40
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Definition typeMap.h:41
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