Lines Matching defs:BBs
23 // InsertBBs = BBs that uses I
25 // DomBBs = BBs in InsertBBs that are dominated by BB
65 /// Return adjusted total frequency of \p BBs.
73 /// Freq(BBs) = sum(50, 49) = 99
74 /// Even if Freq(BBs) < Freq(Preheader), we will not sink from Preheade to
75 /// BBs as the difference is too small to justify the code size increase.
76 /// To model this, The adjusted Freq(BBs) will be:
77 /// AdjustedFreq(BBs) = 99 / SinkFrequencyPercentThreshold%
78 static BlockFrequency adjustedSumFreq(SmallPtrSetImpl<BasicBlock *> &BBs,
81 for (BasicBlock *B : BBs)
83 if (BBs.size() > 1)
106 /// It stores a list of BBs that is:
175 SmallPtrSet<BasicBlock *, 2> BBs;
184 BBs.insert(UI->getParent());
198 BBs.insert(PhiBB);
201 // findBBsToSinkInto is O(BBs.size() * ColdLoopBBs.size()). We cap the max
202 // BBs.size() to avoid expensive computation.
204 if (BBs.size() > MaxNumberOfUseBBsForSinking)
207 // Find the set of BBs that we should insert a copy of I.
209 findBBsToSinkInto(L, BBs, ColdLoopBBs, DT, BFI);
218 // Copy the final BBs into a vector and sort them using the total ordering
235 "BBs not sorted!");