17#ifndef MIDEND_REMOVEMISS_H_
18#define MIDEND_REMOVEMISS_H_
20#include "frontends/common/resolveReferences/referenceMap.h"
21#include "frontends/p4/typeChecking/typeChecker.h"
22#include "frontends/p4/typeMap.h"
39 setName(
"DoRemoveMiss");
41 const IR::Node *preorder(IR::Member *expression)
override;
42 const IR::Node *preorder(IR::IfStatement *statement)
override;
45class RemoveMiss :
public PassManager {
48 if (!typeChecking) typeChecking =
new TypeChecking(refMap, typeMap);
49 passes.push_back(typeChecking);
51 setName(
"RemoveMiss");
Definition removeMiss.h:31
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Definition typeChecker.h:55
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24