Lines Matching defs:RegIdx
384 VNInfo *SplitEditor::defValue(unsigned RegIdx,
390 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx));
397 Values.insert(std::make_pair(std::make_pair(RegIdx, ParentVNI->id),
400 // This was the first time (RegIdx, ParentVNI) was mapped.
420 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo *ParentVNI) {
422 ValueForcePair &VFP = Values[std::make_pair(RegIdx, ParentVNI->id)];
435 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx));
441 VNInfo *SplitEditor::defFromParent(unsigned RegIdx,
448 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx));
451 // so always begin RegIdx 0 early and all others late.
452 bool Late = RegIdx != 0;
455 unsigned Original = VRM.getOriginal(Edit->get(RegIdx));
475 return defValue(RegIdx, ParentVNI, Def);
680 unsigned RegIdx = AssignI.value();
682 DEBUG(dbgs() << " cannot find simple kill of RegIdx " << RegIdx << '\n');
683 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def));
802 // Get the complement interval, always RegIdx 0.
927 // RegAssign has holes where RegIdx 0 should be used.
931 unsigned RegIdx;
934 RegIdx = 0;
936 RegIdx = AssignI.value();
942 RegIdx = 0;
946 // The interval [Start;End) is continuously mapped to RegIdx, ParentVNI.
947 DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx);
948 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx));
951 ValueForcePair VFP = Values.lookup(std::make_pair(RegIdx, ParentVNI->id));
967 LiveRangeCalc &LRC = getLRCalc(RegIdx);
969 // This value has multiple defs in RegIdx, but it wasn't rematerialized,
1033 unsigned RegIdx = RegAssign.lookup(PHIVNI->def);
1034 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx));
1045 LiveRangeCalc &LRC = getLRCalc(RegIdx);
1054 assert(RegAssign.lookup(LastUse) == RegIdx &&
1084 unsigned RegIdx = RegAssign.lookup(Idx);
1085 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx));
1088 << Idx << ':' << RegIdx << '\t' << *MI);
1106 getLRCalc(RegIdx).extend(*LI, Idx.getNextSlot());
1148 unsigned RegIdx = RegAssign.lookup(ParentVNI->def);
1149 defValue(RegIdx, ParentVNI, ParentVNI->def);