Lines Matching refs:MBFI
49 MBFI(nullptr), MBPI(nullptr), OptMode(RunningMode) {
64 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
67 MBFI = nullptr;
349 assert((MBFI || !BestCost) && "Costs comparison require MBFI");
352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1);
409 // To get accurate information we need MBFI and MBPI.
411 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI");
725 const MachineBlockFrequencyInfo *MBFI =
727 if (!MBFI)
729 return MBFI->getBlockFreq(Instr.getParent()).getFrequency();
733 const MachineBlockFrequencyInfo *MBFI =
735 if (!MBFI)
737 return MBFI->getBlockFreq(&MBB).getFrequency();
754 const MachineBlockFrequencyInfo *MBFI =
756 if (!MBFI)
759 return MBFI->getBlockFreq(DstOrSplit).getFrequency();
766 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit))