TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:13
SplitResult< IR::Statement > splitStatementBefore(const IR::Statement *stat, std::function< bool(const IR::Statement *, const P4::Visitor_Context *)> predicate, P4::NameGenerator &nameGen, P4::TypeMap *typeMap)
Split stat so that on every control-flow path all the statements up to the first one matching predica...
Definition splitter.cpp:258