Lines Matching refs:DistanceMap
87 DenseMap<MachineInstr*, unsigned> DistanceMap;
364 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
365 if (DI == DistanceMap.end())
719 DistanceMap.insert(std::make_pair(NewMI, Dist));
744 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(UseMI);
745 if (DI != DistanceMap.end())
825 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
826 if (DI == DistanceMap.end())
965 DistanceMap.erase(DI);
988 DenseMap<MachineInstr*, unsigned>::iterator DDI = DistanceMap.find(&DefMI);
989 if (DDI == DistanceMap.end())
1012 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
1013 if (DI == DistanceMap.end())
1132 DistanceMap.erase(DI);
1513 // Update DistanceMap.
1516 DistanceMap.insert(std::make_pair(&*PrevMI, Dist));
1517 DistanceMap[MI] = ++Dist;
1631 DistanceMap.clear();
1648 DistanceMap.insert(std::make_pair(&*mi, ++Dist));