P4C
The P4 Compiler
Loading...
Searching...
No Matches
lower_parser.h
1
19#ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWER_PARSER_H_
20#define BACKENDS_TOFINO_BF_P4C_PARDE_LOWER_PARSER_H_
21
22#include "backends/tofino/bf-p4c/parde/parser_header_sequences.h"
23#include "common/utils.h"
24#include "ir/ir.h"
25#include "logging/pass_manager.h"
26#include "logging/phv_logging.h"
27
28class ClotInfo;
29class PhvInfo;
30class FieldDefUse;
31
55 private:
57 std::map<gress_t, std::set<PHV::Container>> origParserZeroInitContainers;
58
59 public:
60 explicit LowerParser(const PhvInfo &phv, ClotInfo &clot, const FieldDefUse &defuse,
61 const ParserHeaderSequences &parserHeaderSeqs,
63};
64
65#endif /* BACKENDS_TOFINO_BF_P4C_PARDE_LOWER_PARSER_H_ */
Definition clot_info.h:41
Definition backends/tofino/bf-p4c/logging/pass_manager.h:36
Definition lower_parser.h:54
Identify parsed header sequences.
Definition parser_header_sequences.h:42
Definition phv_fields.h:1095
Definition phv_logging.h:157
Definition field_defuse.h:77