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 "bf-p4c/arch/fromv1.0/v1_converters.h"
23
24
namespace
BFN
{
25
namespace
V1 {
26
27
class
ParserCounterConverter
:
public
StatementConverter
{
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
37
class
ParserCounterSelectionConverter
:
public
PassManager
{
38
public
:
39
ParserCounterSelectionConverter
();
40
};
41
42
}
// namespace V1
43
}
// namespace BFN
44
45
#endif
/* BF_P4C_ARCH_FROMV1_0_PARSER_COUNTER_H_ */
BFN::V1::ParserCounterConverter
Definition
parser_counter.h:27
BFN::V1::ParserCounterSelectionConverter
Definition
parser_counter.h:37
BFN::V1::StatementConverter
Definition
v1_converters.h:48
P4::IR::Node
Definition
node.h:95
P4::PassManager
Definition
ir/pass_manager.h:40
BFN
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition
add_t2na_meta.cpp:21
BFN::V1::ProgramStructure
Definition
v1_program_structure.h:36
backends
tofino
bf-p4c
arch
fromv1.0
parser_counter.h
Generated by
1.12.0