Lines Matching refs:BFI
114 const CallBase &Call, BlockFrequencyInfo *BFI, bool AllowSynthetic) const { in getProfileCount() argument
127 if (BFI) in getProfileCount()
128 return BFI->getBlockProfileCount(Call.getParent(), AllowSynthetic); in getProfileCount()
151 const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotInCallGraph()
169 if (isHotBlock(&BB, &BFI)) in isFunctionHotInCallGraph()
180 const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionColdInCallGraph()
198 if (!isColdBlock(&BB, &BFI)) in isFunctionColdInCallGraph()
210 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotOrColdInCallGraphNthPercentile()
234 if (isHot && isHotBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotOrColdInCallGraphNthPercentile()
236 if (!isHot && !isColdBlockNthPercentile(PercentileCutoff, &BB, &BFI)) in isFunctionHotOrColdInCallGraphNthPercentile()
244 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotInCallGraphNthPercentile()
246 PercentileCutoff, F, BFI); in isFunctionHotInCallGraphNthPercentile()
250 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionColdInCallGraphNthPercentile()
252 PercentileCutoff, F, BFI); in isFunctionColdInCallGraphNthPercentile()
367 BlockFrequencyInfo *BFI) const { in isHotBlock()
368 auto Count = BFI->getBlockProfileCount(BB); in isHotBlock()
373 BlockFrequencyInfo *BFI) const { in isColdBlock()
374 auto Count = BFI->getBlockProfileCount(BB); in isColdBlock()
380 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isHotOrColdBlockNthPercentile()
381 auto Count = BFI->getBlockProfileCount(BB); in isHotOrColdBlockNthPercentile()
389 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isHotBlockNthPercentile()
390 return isHotOrColdBlockNthPercentile<true>(PercentileCutoff, BB, BFI); in isHotBlockNthPercentile()
394 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isColdBlockNthPercentile()
395 return isHotOrColdBlockNthPercentile<false>(PercentileCutoff, BB, BFI); in isColdBlockNthPercentile()
399 BlockFrequencyInfo *BFI) const { in isHotCallSite()
400 auto C = getProfileCount(CB, BFI); in isHotCallSite()
405 BlockFrequencyInfo *BFI) const { in isColdCallSite()
406 auto C = getProfileCount(CB, BFI); in isColdCallSite()