31 const IR::Declaration_Variable *index =
nullptr;
32 std::vector<long> indexes;
36 virtual bool operator()(
const IR::LoopStatement *,
bool,
const loop_bounds_t &);
37 explicit Policy(
bool ud) : unroll_default(ud) {}
39 static Policy default_unroll, default_nounroll;
45 const IR::Statement *doUnroll(
const loop_bounds_t &,
const IR::Statement *,
48 const IR::Statement *preorder(IR::ForStatement *)
override;
49 const IR::Statement *preorder(IR::ForInStatement *)
override;
53 : nameGen(ng), defUse(du), policy(p) {}
Visitor mixin for looking up names in enclosing scopes from the Visitor::Context.
Definition resolveReferences.h:35
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24