Lines Matching refs:MBFI
90 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
93 MBFI = nullptr;
97 MORE = llvm::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI);
393 assert((MBFI || !BestCost) && "Costs comparison require MBFI");
399 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1);
460 // To get accurate information we need MBFI and MBPI.
462 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI");
811 const MachineBlockFrequencyInfo *MBFI =
813 if (!MBFI)
815 return MBFI->getBlockFreq(Instr.getParent()).getFrequency();
819 const MachineBlockFrequencyInfo *MBFI =
821 if (!MBFI)
823 return MBFI->getBlockFreq(&MBB).getFrequency();
840 const MachineBlockFrequencyInfo *MBFI =
842 if (!MBFI)
845 return MBFI->getBlockFreq(DstOrSplit).getFrequency();
852 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit))