Lines Matching defs:SlotRemap
492 void remapInstructions(DenseMap<int, int> &SlotRemap);
504 void expungeSlotMap(DenseMap<int, int> &SlotRemap, unsigned NumSlots);
907 void StackColoring::remapInstructions(DenseMap<int, int> &SlotRemap) {
917 if (SlotRemap.count(Slot)) {
920 VI.updateStackSlot(SlotRemap[Slot]);
931 for (const std::pair<int, int> &SI : SlotRemap) {
1025 if (!SlotRemap.count(FromSlot))
1048 int ToSlot = SlotRemap[FromSlot];
1062 auto To = SlotRemap.find(FI);
1063 if (To != SlotRemap.end())
1108 MF->getPSVManager().getFixedStack(SlotRemap.find(E.index())->second);
1118 SlotRemap.count(H.CatchObj.FrameIndex))
1119 H.CatchObj.FrameIndex = SlotRemap[H.CatchObj.FrameIndex];
1171 void StackColoring::expungeSlotMap(DenseMap<int, int> &SlotRemap,
1176 if (SlotRemap.count(i)) {
1177 int Target = SlotRemap[i];
1179 while (SlotRemap.count(Target)) {
1180 Target = SlotRemap[Target];
1181 SlotRemap[i] = Target;
1271 DenseMap<int, int> SlotRemap;
1338 SlotRemap[SecondSlot] = FirstSlot;
1366 if (!SlotRemap.empty()) {
1367 expungeSlotMap(SlotRemap, NumSlots);
1368 remapInstructions(SlotRemap);