P4C
The P4 Compiler
Loading...
Searching...
No Matches
add_t2na_meta.h
1
19#ifndef BF_P4C_ARCH_ADD_T2NA_META_H_
20#define BF_P4C_ARCH_ADD_T2NA_META_H_
21
22#include "ir/ir.h"
23
24namespace BFN {
25
26// Check T2NA metadata and add missing
27class AddT2naMeta final : public Modifier {
28 public:
29 AddT2naMeta() { setName("AddT2naMeta"); }
30
31 // Check T2NA metadata structures and headers and add missing fields
32 void postorder(IR::Type_StructLike *typeStructLike) override;
33};
34
35} // namespace BFN
36
37#endif /* BF_P4C_ARCH_ADD_T2NA_META_H_ */
Definition add_t2na_meta.h:27
Definition visitor.h:372
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21