Lines Matching refs:Bucket
135 struct Bucket { struct
136 Bucket(const SCEV *B, Instruction *I) : BaseSCEV(B), in Bucket() function
194 SmallVector<Bucket, 16> collectCandidates(
202 SmallVector<Bucket, 16> &Buckets,
206 bool updateFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets);
210 bool dispFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets,
219 bool prepareBaseForDispFormChain(Bucket &BucketChain,
227 bool prepareBaseForUpdateFormChain(Bucket &BucketChain);
231 bool rewriteLoadStores(Loop *L, Bucket &BucketChain,
310 SmallVector<Bucket, 16> &Buckets, in addOneCandidate() argument
328 Buckets.push_back(Bucket(LSCEV, MemI)); in addOneCandidate()
332 SmallVector<Bucket, 16> PPCLoopInstrFormPrep::collectCandidates( in collectCandidates()
337 SmallVector<Bucket, 16> Buckets; in collectCandidates()
377 bool PPCLoopInstrFormPrep::prepareBaseForDispFormChain(Bucket &BucketChain, in prepareBaseForDispFormChain()
452 bool PPCLoopInstrFormPrep::prepareBaseForUpdateFormChain(Bucket &BucketChain) { in prepareBaseForUpdateFormChain()
492 bool PPCLoopInstrFormPrep::rewriteLoadStores(Loop *L, Bucket &BucketChain, in rewriteLoadStores()
689 SmallVector<Bucket, 16> &Buckets) { in updateFormPrep() argument
694 for (auto &Bucket : Buckets) in updateFormPrep() local
697 if (prepareBaseForUpdateFormChain(Bucket)) in updateFormPrep()
698 MadeChange |= rewriteLoadStores(L, Bucket, BBChanged, UpdateForm); in updateFormPrep()
707 bool PPCLoopInstrFormPrep::dispFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets, in dispFormPrep() argument
715 for (auto &Bucket : Buckets) { in dispFormPrep() local
716 if (Bucket.Elements.size() < DispFormPrepMinThreshold) in dispFormPrep()
718 if (prepareBaseForDispFormChain(Bucket, Form)) in dispFormPrep()
719 MadeChange |= rewriteLoadStores(L, Bucket, BBChanged, Form); in dispFormPrep()
887 SmallVector<Bucket, 16> UpdateFormBuckets = in runOnLoop()
896 SmallVector<Bucket, 16> DSFormBuckets = in runOnLoop()
905 SmallVector<Bucket, 16> DQFormBuckets = in runOnLoop()