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