Lines Matching refs:DistanceMap
73 // DistanceMap - Keep track the distance of a MI from the start of the
75 DenseMap<MachineInstr*, unsigned> DistanceMap;
333 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(UseMI);
334 if (DI != DistanceMap.end() && DI->second == Loc)
368 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
369 if (DI == DistanceMap.end())
391 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
392 if (DI == DistanceMap.end())
492 DenseMap<MachineInstr*, unsigned> &DistanceMap) {
500 if (DistanceMap.count(UseMI))
660 DistanceMap.insert(std::make_pair(NewMI, Dist));
713 DistanceMap.insert(std::make_pair(NewMI, Dist));
742 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(UseMI);
743 if (DI != DistanceMap.end())
908 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
909 if (DI == DistanceMap.end())
913 MachineInstr *KillMI = findLocalKill(Reg, MBB, mi, MRI, DistanceMap);
1012 DistanceMap.erase(DI);
1043 DenseMap<MachineInstr*, unsigned>::iterator DDI = DistanceMap.find(DefMI);
1044 if (DDI == DistanceMap.end())
1064 DenseMap<MachineInstr*, unsigned>::iterator DI = DistanceMap.find(MI);
1065 if (DI == DistanceMap.end())
1069 MachineInstr *KillMI = findLocalKill(Reg, MBB, mi, MRI, DistanceMap);
1165 DistanceMap.erase(DI);
1413 DistanceMap.clear();
1432 DistanceMap.insert(std::make_pair(mi, ++Dist));
1541 // Update DistanceMap.
1542 DistanceMap.insert(std::make_pair(prevMI, Dist));
1543 DistanceMap[mi] = ++Dist;