Lines Matching refs:Set
80 virtual void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N,
88 RecSet Set; in apply() local
89 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply()
94 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); in apply()
100 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
105 if (unsigned(N) < Set.size()) in apply2()
106 Elts.insert(Set.begin() + N, Set.end()); in apply2()
112 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
117 if (unsigned(N) > Set.size()) in apply2()
118 N = Set.size(); in apply2()
119 Elts.insert(Set.begin(), Set.begin() + N); in apply2()
129 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
134 if (Set.empty()) in apply2()
137 N = Set.size() - (-N % Set.size()); in apply2()
139 N %= Set.size(); in apply2()
140 Elts.insert(Set.begin() + N, Set.end()); in apply2()
141 Elts.insert(Set.begin(), Set.begin() + N); in apply2()
147 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
152 for (unsigned I = 0; I < Set.size(); I += N) in apply2()
153 Elts.insert(Set[I]); in apply2()
308 const RecVec *SetTheory::expand(Record *Set) { in expand() argument
310 ExpandMap::iterator I = Expansions.find(Set); in expand()
315 ArrayRef<std::pair<Record *, SMRange>> SC = Set->getSuperClasses(); in expand()
323 RecVec &EltVec = Expansions[Set]; in expand()
325 I->second->expand(*this, Set, Elts); in expand()