Lines Matching refs:BPI
298 BPI = BPI_; in runImpl()
1048 if (auto *BPI = getBPI()) in processBlock() local
1049 BPI->eraseBlock(BB); in processBlock()
1200 if (auto *BPI = getBPI()) in processImpliedCondition() local
1201 BPI->eraseBlock(BB); in processImpliedCondition()
1651 if (auto *BPI = getBPI()) in processThreadableEdges() local
1652 BPI->eraseBlock(BB); in processThreadableEdges()
2270 auto *BPI = getOrCreateBPI(BFI != nullptr); in threadThroughTwoBasicBlocks() local
2282 assert(BPI && "It's expected BPI to exist along with BFI"); in threadThroughTwoBasicBlocks()
2284 BPI->getEdgeProbability(PredPredBB, PredBB); in threadThroughTwoBasicBlocks()
2296 if (BPI) in threadThroughTwoBasicBlocks()
2297 BPI->copyEdgeProbabilities(PredBB, NewBB); in threadThroughTwoBasicBlocks()
2383 auto *BPI = getOrCreateBPI(BFI != nullptr); in threadEdge() local
2409 assert(BPI && "It's expected BPI to exist along with BFI"); in threadEdge()
2411 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in threadEdge()
2452 updateBlockFreqAndEdgeWeight(PredBB, BB, NewBB, SuccBB, BFI, BPI, HasProfile); in threadEdge()
2471 auto *BPI = getOrCreateBPI(true); in splitBlockPreds() local
2474 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB))); in splitBlockPreds()
2521 BranchProbabilityInfo *BPI, in updateBlockFreqAndEdgeWeight() argument
2523 assert(((BFI && BPI) || (!BFI && !BFI)) && in updateBlockFreqAndEdgeWeight()
2536 auto BB2SuccBBFreq = BBOrigFreq * BPI->getEdgeProbability(BB, SuccBB); in updateBlockFreqAndEdgeWeight()
2546 : BBOrigFreq * BPI->getEdgeProbability(BB, Succ); in updateBlockFreqAndEdgeWeight()
2566 BPI->setEdgeProbability(BB, BBSuccProbs); in updateBlockFreqAndEdgeWeight()
2740 if (auto *BPI = getBPI()) in duplicateCondBranchOnPHIIntoPred() local
2741 BPI->copyEdgeProbabilities(BB, PredBB); in duplicateCondBranchOnPHIIntoPred()
2789 if (auto *BPI = getBPI()) in unfoldSelectInstr() local
2790 BPI->setEdgeProbability(Pred, BP); in unfoldSelectInstr()
3175 if (!BPI) { in getBPI()
3177 BPI = FAM->getCachedResult<BranchProbabilityAnalysis>(*F); in getBPI()
3179 return *BPI; in getBPI()
3199 BPI = runExternalAnalysis<BranchProbabilityAnalysis>(); in getOrCreateBPI()
3201 return *BPI; in getOrCreateBPI()