46 std::set<size_t> signedIndicesToReplace;
48 explicit DoReplaceSelectRange(uint max) : MAX_CASES(max) { setName(
"DoReplaceSelectRange"); }
50 const IR::Node *postorder(IR::SelectExpression *e)
override;
51 const IR::Node *postorder(IR::SelectCase *p)
override;
53 std::vector<const IR::Mask *> *rangeToMasks(
const IR::Range *,
size_t);
54 std::vector<IR::Vector<IR::Expression>> cartesianAppend(
56 const std::vector<const IR::Mask *> &masks);
57 std::vector<IR::Vector<IR::Expression>> cartesianAppend(
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24