P4C
The P4 Compiler
Loading...
Searching...
No Matches
parser_counter.h
1
19#ifndef BF_P4C_ARCH_FROMV1_0_PARSER_COUNTER_H_
20#define BF_P4C_ARCH_FROMV1_0_PARSER_COUNTER_H_
21
22#include "backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.h"
23
24namespace BFN {
25namespace V1 {
26
28 void cannotFit(const IR::AssignmentStatement *stmt, const char *what);
29
30 public:
31 explicit ParserCounterConverter(ProgramStructure *structure) : StatementConverter(structure) {
32 CHECK_NULL(structure);
33 }
34 const IR::Node *postorder(IR::AssignmentStatement *node) override;
35};
36
41
42} // namespace V1
43} // namespace BFN
44
45#endif /* BF_P4C_ARCH_FROMV1_0_PARSER_COUNTER_H_ */
Definition parser_counter.h:27
Definition parser_counter.h:37
Definition v1_converters.h:48
Definition node.h:94
Definition ir/pass_manager.h:40
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21
Definition v1_program_structure.h:36