Lines Matching defs:RegIdx
457 VNInfo *SplitEditor::defValue(unsigned RegIdx,
464 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx));
473 Values.insert(std::make_pair(std::make_pair(RegIdx, ParentVNI->id), FP));
475 // This was the first time (RegIdx, ParentVNI) was mapped, and it is not
494 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo &ParentVNI) {
495 ValueForcePair &VFP = Values[std::make_pair(RegIdx, ParentVNI.id)];
507 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false);
540 MachineBasicBlock::iterator InsertBefore, bool Late, unsigned RegIdx) {
553 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx));
627 VNInfo *SplitEditor::defFromParent(unsigned RegIdx,
633 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx));
636 // so always begin RegIdx 0 early and all others late.
637 bool Late = RegIdx != 0;
640 unsigned Original = VRM.getOriginal(Edit->get(RegIdx));
666 Def = buildCopy(Edit->getReg(), Reg, LaneMask, MBB, I, Late, RegIdx);
670 return defValue(RegIdx, ParentVNI, Def, false);
877 unsigned RegIdx = AssignI.value();
879 LLVM_DEBUG(dbgs() << " cannot find simple kill of RegIdx " << RegIdx
881 forceRecompute(RegIdx, *Edit->getParent().getVNInfoAt(Def));
1003 // Get the complement interval, always RegIdx 0.
1128 // RegAssign has holes where RegIdx 0 should be used.
1132 unsigned RegIdx;
1135 RegIdx = 0;
1137 RegIdx = AssignI.value();
1143 RegIdx = 0;
1147 // The interval [Start;End) is continuously mapped to RegIdx, ParentVNI.
1148 LLVM_DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx << '('
1149 << printReg(Edit->get(RegIdx)) << ')');
1150 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx));
1153 ValueForcePair VFP = Values.lookup(std::make_pair(RegIdx, ParentVNI->id));
1169 LiveRangeCalc &LRC = getLRCalc(RegIdx);
1171 // This value has multiple defs in RegIdx, but it wasn't rematerialized,
1271 unsigned RegIdx = RegAssign.lookup(V->def);
1272 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx));
1273 LiveRangeCalc &LRC = getLRCalc(RegIdx);
1286 unsigned RegIdx = RegAssign.lookup(V->def);
1287 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx));
1306 : MO(O), RegIdx(R), Next(N) {}
1309 unsigned RegIdx;
1335 unsigned RegIdx = RegAssign.lookup(Idx);
1336 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx));
1339 << '\t' << Idx << ':' << RegIdx << '\t' << *MI);
1364 ExtPoints.push_back(ExtPoint(MO, RegIdx, Next));
1366 LiveRangeCalc &LRC = getLRCalc(RegIdx);
1372 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx));
1480 unsigned RegIdx = RegAssign.lookup(ParentVNI->def);
1481 defValue(RegIdx, ParentVNI, ParentVNI->def, true);