Lines Matching refs:RegIdx
471 VNInfo *SplitEditor::defValue(unsigned RegIdx, in defValue() argument
478 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
487 Values.insert(std::make_pair(std::make_pair(RegIdx, ParentVNI->id), FP)); in defValue()
508 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo &ParentVNI) { in forceRecompute() argument
509 ValueForcePair &VFP = Values[std::make_pair(RegIdx, ParentVNI.id)]; in forceRecompute()
521 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false); in forceRecompute()
548 MachineBasicBlock::iterator InsertBefore, bool Late, unsigned RegIdx) { in buildCopy() argument
562 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx)); in buildCopy()
592 VNInfo *SplitEditor::defFromParent(unsigned RegIdx, const VNInfo *ParentVNI, in defFromParent() argument
596 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
600 bool Late = RegIdx != 0; in defFromParent()
603 Register Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent()
637 Def = buildCopy(Edit->getReg(), Reg, LaneMask, MBB, I, Late, RegIdx); in defFromParent()
642 return defValue(RegIdx, ParentVNI, Def, false); in defFromParent()
809 unsigned RegIdx = 0; in leaveIntvAtTop() local
810 Register Reg = LIS.getInterval(Edit->get(RegIdx)).reg(); in leaveIntvAtTop()
811 VNInfo *VNI = defFromParent(RegIdx, ParentVNI, Start, MBB, in leaveIntvAtTop()
884 unsigned RegIdx = AssignI.value(); in removeBackCopies() local
893 LLVM_DEBUG(dbgs() << " cannot find simple kill of RegIdx " << RegIdx in removeBackCopies()
895 forceRecompute(RegIdx, *Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
1146 unsigned RegIdx; in transferValues() local
1149 RegIdx = 0; in transferValues()
1151 RegIdx = AssignI.value(); in transferValues()
1157 RegIdx = 0; in transferValues()
1162 LLVM_DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx << '(' in transferValues()
1163 << printReg(Edit->get(RegIdx)) << ')'); in transferValues()
1164 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1167 ValueForcePair VFP = Values.lookup(std::make_pair(RegIdx, ParentVNI->id)); in transferValues()
1183 LiveIntervalCalc &LIC = getLICalc(RegIdx); in transferValues()
1285 unsigned RegIdx = RegAssign.lookup(V->def); in extendPHIKillRanges() local
1286 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1287 LiveIntervalCalc &LIC = getLICalc(RegIdx); in extendPHIKillRanges()
1300 unsigned RegIdx = RegAssign.lookup(V->def); in extendPHIKillRanges() local
1301 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1320 : MO(O), RegIdx(R), Next(N) {} in rewriteAssigned()
1323 unsigned RegIdx; in rewriteAssigned() member
1347 unsigned RegIdx = RegAssign.lookup(Idx); in rewriteAssigned() local
1348 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1351 << '\t' << Idx << ':' << RegIdx << '\t' << *MI); in rewriteAssigned()
1397 ExtPoints.push_back(ExtPoint(MO, RegIdx, Next)); in rewriteAssigned()
1399 LiveIntervalCalc &LIC = getLICalc(RegIdx); in rewriteAssigned()
1405 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx)); in rewriteAssigned()
1513 unsigned RegIdx = RegAssign.lookup(ParentVNI->def); in finish() local
1514 defValue(RegIdx, ParentVNI, ParentVNI->def, true); in finish()