19#ifndef BF_P4C_MIDEND_ELIMINATE_TUPLES_H_
20#define BF_P4C_MIDEND_ELIMINATE_TUPLES_H_
22#include "frontends/common/resolveReferences/resolveReferences.h"
23#include "frontends/p4/typeChecking/typeChecker.h"
25#include "midend/eliminateTuples.h"
36 std::map<const IR::Expression *, const IR::HashListExpression *> update_hashes;
38 bool preorder(
const IR::HashListExpression *hle)
override;
43 std::map<const IR::Expression *, const IR::HashListExpression *> *update_hashes;
47 std::map<const IR::Expression *, const IR::HashListExpression *> *update_hashes)
48 : update_hashes(update_hashes){};
50 const IR::Node *preorder(IR::StructExpression *se)
override;
62 passes.push_back(typeChecking);
66 passes.push_back(shle);
74 passes.push_back(typeInference);
77 setName(
"EliminateTuples");
Definition eliminate_tuples.h:42
Definition eliminate_tuples.h:34
Definition typeChecker.h:32
Definition eliminateTuples.h:77
Definition eliminateTuples.h:117
Definition ir/pass_manager.h:40
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Definition resolveReferences.h:123
Definition typeChecker.h:55
Definition typeChecker.h:483
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21