24#ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_SIMPLIFYIFSTATEMENT_H_
25#define BACKENDS_TOFINO_BF_P4C_MIDEND_SIMPLIFYIFSTATEMENT_H_
27#include "frontends/common/resolveReferences/resolveReferences.h"
28#include "frontends/p4/simplify.h"
29#include "frontends/p4/typeMap.h"
58 const IR::Node *preorder(IR::IfStatement *statement)
override;
59 const IR::Node *postorder(IR::MethodCallExpression *methodCall)
override;
Definition ir/pass_manager.h:40
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Pass that eliminates call expressions in if statement’s condition.
Definition simplifyIfStatement.h:53
Top level PassManager that governs simplification of if statements.
Definition simplifyIfStatement.h:69
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24