Lines Matching refs:RegIdx
372 VNInfo *SplitEditor::defValue(unsigned RegIdx, in defValue() argument
378 LiveInterval *LI = Edit->get(RegIdx); in defValue()
385 Values.insert(std::make_pair(std::make_pair(RegIdx, ParentVNI->id), in defValue()
408 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo *ParentVNI) { in forceRecompute() argument
410 ValueForcePair &VFP = Values[std::make_pair(RegIdx, ParentVNI->id)]; in forceRecompute()
423 Edit->get(RegIdx)->addRange(LiveRange(Def, Def.getDeadSlot(), VNI)); in forceRecompute()
428 VNInfo *SplitEditor::defFromParent(unsigned RegIdx, in defFromParent() argument
435 LiveInterval *LI = Edit->get(RegIdx); in defFromParent()
439 bool Late = RegIdx != 0; in defFromParent()
456 return defValue(RegIdx, ParentVNI, Def); in defFromParent()
663 unsigned RegIdx = AssignI.value(); in removeBackCopies() local
665 DEBUG(dbgs() << " cannot find simple kill of RegIdx " << RegIdx << '\n'); in removeBackCopies()
666 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
845 unsigned RegIdx; in transferValues() local
848 RegIdx = 0; in transferValues()
850 RegIdx = AssignI.value(); in transferValues()
856 RegIdx = 0; in transferValues()
861 DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx); in transferValues()
862 LiveInterval *LI = Edit->get(RegIdx); in transferValues()
865 ValueForcePair VFP = Values.lookup(std::make_pair(RegIdx, ParentVNI->id)); in transferValues()
881 LiveRangeCalc &LRC = getLRCalc(RegIdx); in transferValues()
949 unsigned RegIdx = RegAssign.lookup(PHIVNI->def); in extendPHIKillRanges() local
950 LiveInterval *LI = Edit->get(RegIdx); in extendPHIKillRanges()
951 LiveRangeCalc &LRC = getLRCalc(RegIdx); in extendPHIKillRanges()
960 assert(RegAssign.lookup(LastUse) == RegIdx && in extendPHIKillRanges()
990 unsigned RegIdx = RegAssign.lookup(Idx); in rewriteAssigned() local
991 LiveInterval *LI = Edit->get(RegIdx); in rewriteAssigned()
994 << Idx << ':' << RegIdx << '\t' << *MI); in rewriteAssigned()
1012 getLRCalc(RegIdx).extend(LI, Idx.getNextSlot()); in rewriteAssigned()
1055 unsigned RegIdx = RegAssign.lookup(ParentVNI->def); in finish() local
1056 defValue(RegIdx, ParentVNI, ParentVNI->def); in finish()