51class DoSimplifyControlFlow :
public Transform,
public ResolutionContext {
56 explicit DoSimplifyControlFlow(
TypeMap *typeMap,
bool foldInlinedFrom)
57 : typeMap(typeMap), foldInlinedFrom(foldInlinedFrom) {
59 setName(
"DoSimplifyControlFlow");
64 const IR::Node *postorder(IR::BlockStatement *statement)
override;
65 const IR::Node *postorder(IR::IfStatement *statement)
override;
66 const IR::Node *postorder(IR::EmptyStatement *statement)
override;
67 const IR::Node *postorder(IR::SwitchStatement *statement)
override;
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24