Lines Matching refs:Set
79 virtual void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N,
87 RecSet Set; in apply() local
88 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply()
93 apply2(ST, Expr, Set, II->getValue(), Elts, Loc); in apply()
99 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
104 if (unsigned(N) < Set.size()) in apply2()
105 Elts.insert(Set.begin() + N, Set.end()); in apply2()
111 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
116 if (unsigned(N) > Set.size()) in apply2()
117 N = Set.size(); in apply2()
118 Elts.insert(Set.begin(), Set.begin() + N); in apply2()
128 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
133 if (Set.empty()) in apply2()
136 N = Set.size() - (-N % Set.size()); in apply2()
138 N %= Set.size(); in apply2()
139 Elts.insert(Set.begin() + N, Set.end()); in apply2()
140 Elts.insert(Set.begin(), Set.begin() + N); in apply2()
146 void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, in apply2()
151 for (unsigned I = 0; I < Set.size(); I += N) in apply2()
152 Elts.insert(Set[I]); in apply2()
307 const RecVec *SetTheory::expand(Record *Set) { in expand() argument
309 ExpandMap::iterator I = Expansions.find(Set); in expand()
314 ArrayRef<std::pair<Record *, SMRange>> SC = Set->getSuperClasses(); in expand()
322 RecVec &EltVec = Expansions[Set]; in expand()
324 I->second->expand(*this, Set, Elts); in expand()