Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:RegIdx

372 VNInfo *SplitEditor::defValue(unsigned RegIdx,
378 LiveInterval *LI = Edit->get(RegIdx);
385 Values.insert(std::make_pair(std::make_pair(RegIdx, ParentVNI->id),
388 // This was the first time (RegIdx, ParentVNI) was mapped.
408 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo *ParentVNI) {
410 ValueForcePair &VFP = Values[std::make_pair(RegIdx, ParentVNI->id)];
423 Edit->get(RegIdx)->addRange(LiveRange(Def, Def.getDeadSlot(), VNI));
428 VNInfo *SplitEditor::defFromParent(unsigned RegIdx,
435 LiveInterval *LI = Edit->get(RegIdx);
438 // so always begin RegIdx 0 early and all others late.
439 bool Late = RegIdx != 0;
456 return defValue(RegIdx, ParentVNI, Def);
663 unsigned RegIdx = AssignI.value();
665 DEBUG(dbgs() << " cannot find simple kill of RegIdx " << RegIdx << '\n');
666 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def));
730 // Get the complement interval, always RegIdx 0.
841 // RegAssign has holes where RegIdx 0 should be used.
845 unsigned RegIdx;
848 RegIdx = 0;
850 RegIdx = AssignI.value();
856 RegIdx = 0;
860 // The interval [Start;End) is continuously mapped to RegIdx, ParentVNI.
861 DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx);
862 LiveInterval *LI = Edit->get(RegIdx);
865 ValueForcePair VFP = Values.lookup(std::make_pair(RegIdx, ParentVNI->id));
881 LiveRangeCalc &LRC = getLRCalc(RegIdx);
883 // This value has multiple defs in RegIdx, but it wasn't rematerialized,
949 unsigned RegIdx = RegAssign.lookup(PHIVNI->def);
950 LiveInterval *LI = Edit->get(RegIdx);
951 LiveRangeCalc &LRC = getLRCalc(RegIdx);
960 assert(RegAssign.lookup(LastUse) == RegIdx &&
990 unsigned RegIdx = RegAssign.lookup(Idx);
991 LiveInterval *LI = Edit->get(RegIdx);
994 << Idx << ':' << RegIdx << '\t' << *MI);
1012 getLRCalc(RegIdx).extend(LI, Idx.getNextSlot());
1055 unsigned RegIdx = RegAssign.lookup(ParentVNI->def);
1056 defValue(RegIdx, ParentVNI, ParentVNI->def);