Lines Matching refs:Set
81 virtual void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N,
89 RecSet Set; in apply() local
90 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply()
95 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); in apply()
101 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
106 if (unsigned(N) < Set.size()) in apply2()
107 Elts.insert(Set.begin() + N, Set.end()); in apply2()
113 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
118 if (unsigned(N) > Set.size()) in apply2()
119 N = Set.size(); in apply2()
120 Elts.insert(Set.begin(), Set.begin() + N); in apply2()
130 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
135 if (Set.empty()) in apply2()
138 N = Set.size() - (-N % Set.size()); in apply2()
140 N %= Set.size(); in apply2()
141 Elts.insert(Set.begin() + N, Set.end()); in apply2()
142 Elts.insert(Set.begin(), Set.begin() + N); in apply2()
148 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
153 for (unsigned I = 0; I < Set.size(); I += N) in apply2()
154 Elts.insert(Set[I]); in apply2()
309 const RecVec *SetTheory::expand(Record *Set) { in expand() argument
311 ExpandMap::iterator I = Expansions.find(Set); in expand()
316 ArrayRef<std::pair<Record *, SMRange>> SC = Set->getSuperClasses(); in expand()
324 RecVec &EltVec = Expansions[Set]; in expand()
326 I->second->expand(*this, Set, Elts); in expand()