Lines Matching defs:Buckets
268 bool chainCommoning(Loop *L, SmallVector<Bucket, 16> &Buckets);
287 /// Add a candidate to candidates \p Buckets if diff between candidate and
288 /// one base in \p Buckets matches \p isValidDiff.
290 SmallVector<Bucket, 16> &Buckets,
294 /// Prepare all candidates in \p Buckets for update form.
295 bool updateFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets);
297 /// Prepare all candidates in \p Buckets for displacement form, now for
299 bool dispFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets, PrepForm Form);
527 SmallVector<Bucket, 16> &Buckets) {
530 if (Buckets.empty())
535 for (auto &Bucket : Buckets) {
834 Instruction *MemI, const SCEV *LSCEV, SmallVector<Bucket, 16> &Buckets,
841 for (auto &B : Buckets) {
854 if (Buckets.size() == MaxCandidateNum) {
859 Buckets.push_back(Bucket(LSCEV, MemI));
868 SmallVector<Bucket, 16> Buckets;
894 addOneCandidate(&J, LSCEV, Buckets, isValidDiff, MaxCandidateNum);
896 return Buckets;
1095 SmallVector<Bucket, 16> &Buckets) {
1097 if (Buckets.empty())
1100 for (auto &Bucket : Buckets)
1113 SmallVector<Bucket, 16> &Buckets,
1117 if (Buckets.empty())
1121 for (auto &Bucket : Buckets) {
1487 SmallVector<Bucket, 16> Buckets =
1492 if (!Buckets.empty())
1493 MadeChange |= chainCommoning(L, Buckets);