P4C
The P4 Compiler
Loading...
Searching...
No Matches
move_to_egress.h
1
19
#ifndef BF_P4C_MIDEND_MOVE_TO_EGRESS_H_
20
#define BF_P4C_MIDEND_MOVE_TO_EGRESS_H_
21
22
#include "defuse.h"
23
#include "ir/ir.h"
24
#include "midend/type_checker.h"
25
26
class
MoveToEgress
:
public
PassManager {
27
BFN::EvaluatorPass
*evaluator;
28
ordered_set<const IR::P4Parser *> ingress_parser, egress_parser;
29
ordered_set<const IR::P4Control *> ingress, egress, ingress_deparser, egress_deparser;
30
ComputeDefUse
defuse;
31
32
class
FindIngressPacketMods
;
33
34
public
:
35
explicit
MoveToEgress
(
BFN::EvaluatorPass
*ev);
36
};
37
38
#endif
/* BF_P4C_MIDEND_MOVE_TO_EGRESS_H_ */
MoveToEgress::FindIngressPacketMods
Definition
move_to_egress.cpp:23
MoveToEgress
Definition
move_to_egress.h:26
P4::EvaluatorPass
Definition
evaluator.h:115
ComputeDefUse
Compute defuse info within P4Parser and P4Control blocks in the midend.
Definition
defuse.h:46
backends
tofino
bf-p4c
midend
move_to_egress.h
Generated by
1.12.0