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
26class 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
33
34 public:
35 explicit MoveToEgress(BFN::EvaluatorPass *ev);
36};
37
38#endif /* BF_P4C_MIDEND_MOVE_TO_EGRESS_H_ */
Definition move_to_egress.cpp:23
Definition move_to_egress.h:26
Definition evaluator.h:115
Compute defuse info within P4Parser and P4Control blocks in the midend.
Definition defuse.h:46