Lines Matching refs:Buckets
183 SmallVector<Bucket, 16> Buckets; in runOnLoop() local
225 for (auto &B : Buckets) { in runOnLoop()
235 if (Buckets.size() == MaxVars) in runOnLoop()
237 Buckets.push_back(Bucket(LSCEV, MemI)); in runOnLoop()
242 if (Buckets.empty()) in runOnLoop()
258 DEBUG(dbgs() << "PIP: Found " << Buckets.size() << " buckets\n"); in runOnLoop()
261 for (unsigned i = 0, e = Buckets.size(); i != e; ++i) { in runOnLoop()
274 for (int j = 0, je = Buckets[i].Elements.size(); j != je; ++j) { in runOnLoop()
275 if (auto *II = dyn_cast<IntrinsicInst>(Buckets[i].Elements[j].Instr)) in runOnLoop()
285 if (!Buckets[i].Elements[j].Offset || in runOnLoop()
286 Buckets[i].Elements[j].Offset->isZero()) in runOnLoop()
289 const SCEV *Offset = Buckets[i].Elements[j].Offset; in runOnLoop()
290 Buckets[i].BaseSCEV = SE->getAddExpr(Buckets[i].BaseSCEV, Offset); in runOnLoop()
291 for (auto &E : Buckets[i].Elements) { in runOnLoop()
298 std::swap(Buckets[i].Elements[j], Buckets[i].Elements[0]); in runOnLoop()
303 cast<SCEVAddRecExpr>(Buckets[i].BaseSCEV); in runOnLoop()
313 Instruction *MemI = Buckets[i].Elements.begin()->Instr; in runOnLoop()
383 for (auto I = std::next(Buckets[i].Elements.begin()), in runOnLoop()
384 IE = Buckets[i].Elements.end(); I != IE; ++I) { in runOnLoop()