Lines Matching refs:BPI
308 std::unique_ptr<BranchProbabilityInfo> BPI;
311 BPI.reset(new BranchProbabilityInfo(F, LI, TLI));
312 BFI.reset(new BlockFrequencyInfo(F, *BPI, LI));
316 std::move(BFI), std::move(BPI));
335 std::unique_ptr<BranchProbabilityInfo> BPI;
338 BPI.reset(new BranchProbabilityInfo(F, LI, &TLI));
339 BFI.reset(new BlockFrequencyInfo(F, *BPI, LI));
343 std::move(BFI), std::move(BPI));
365 BPI.reset();
367 // successful jump threading, which requires both BPI and BFI being available.
373 BPI = std::move(BPI_);
2095 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB);
2155 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB)));
2212 assert(BFI && BPI && "BFI & BPI should have been created here");
2218 auto BB2SuccBBFreq = BBOrigFreq * BPI->getEdgeProbability(BB, SuccBB);
2228 : BBOrigFreq * BPI->getEdgeProbability(BB, Succ);
2248 // Update edge probabilities in BPI.
2250 BPI->setEdgeProbability(BB, I, BBSuccProbs[I]);
2283 // FIXME this locally as well so that BPI and BFI are consistent as well. We