42class DoSimplifyControlFlow :
public Transform,
public ResolutionContext {
47 explicit DoSimplifyControlFlow(
TypeMap *typeMap,
bool foldInlinedFrom)
48 : typeMap(typeMap), foldInlinedFrom(foldInlinedFrom) {
50 setName(
"DoSimplifyControlFlow");
55 const IR::Node *postorder(IR::BlockStatement *statement)
override;
56 const IR::Node *postorder(IR::IfStatement *statement)
override;
57 const IR::Node *postorder(IR::EmptyStatement *statement)
override;
58 const IR::Node *postorder(IR::SwitchStatement *statement)
override;
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:13