P4C
The P4 Compiler
Loading...
Searching...
No Matches
rewrite_emit_clot.h
1
19#ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_REWRITE_EMIT_CLOT_H_
20#define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_REWRITE_EMIT_CLOT_H_
21
22#include "bf-p4c/parde/clot/clot_info.h"
23#include "bf-p4c/parde/parde_visitor.h"
24
25namespace Parde::Lowered {
26
37 RewriteEmitClot(const PhvInfo &phv, ClotInfo &clotInfo) : phv(phv), clotInfo(clotInfo) {}
38
39 private:
40 bool preorder(IR::BFN::Deparser *deparser) override;
41
42 const PhvInfo &phv;
43 ClotInfo &clotInfo;
44};
45
46} // namespace Parde::Lowered
47
48#endif /* BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_REWRITE_EMIT_CLOT_H_ */
Definition clot_info.h:41
Definition phv_fields.h:1095
Replace Emits covered in a CLOT with EmitClot.
Definition rewrite_emit_clot.h:36
Definition parde_visitor.h:129
Definition lower_parser.cpp:72