• Home
  • Raw
  • Download

Lines Matching refs:Idx

129   void insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, unsigned LocNo,
206 void addDef(SlotIndex Idx, const MachineOperand &LocMO) { in addDef() argument
208 LocMap::iterator I = locInts.find(Idx); in addDef()
209 if (!I.valid() || I.start() != Idx) in addDef()
210 I.insert(Idx, Idx.getNextSlot(), getLocationNo(LocMO)); in addDef()
227 void extendDef(SlotIndex Idx, unsigned LocNo,
314 bool handleDebugValue(MachineInstr *MI, SlotIndex Idx);
448 bool LDVImpl::handleDebugValue(MachineInstr *MI, SlotIndex Idx) { in handleDebugValue() argument
462 UV->addDef(Idx, MI->getOperand(0)); in handleDebugValue()
478 SlotIndex Idx = MBBI == MBB->begin() ? in collectDebugValues() local
483 if (handleDebugValue(MBBI, Idx)) { in collectDebugValues()
494 void UserValue::extendDef(SlotIndex Idx, unsigned LocNo, in extendDef() argument
500 Todo.push_back(Idx); in extendDef()
586 SlotIndex Idx = LIS.getInstructionIndex(MI); in addDefsFromCopies() local
587 LocMap::iterator I = locInts.find(Idx.getRegSlot(true)); in addDefsFromCopies()
594 const VNInfo *DstVNI = DstLI->getVNInfoAt(Idx.getRegSlot()); in addDefsFromCopies()
595 assert(DstVNI && DstVNI->def == Idx.getRegSlot() && "Bad copy value"); in addDefsFromCopies()
606 SlotIndex Idx = Kills[i]; in addDefsFromCopies() local
610 if (DstLI->getVNInfoAt(Idx) != DstVNI) in addDefsFromCopies()
613 LocMap::iterator I = locInts.find(Idx); in addDefsFromCopies()
614 if (I.valid() && I.start() <= Idx) in addDefsFromCopies()
616 DEBUG(dbgs() << "Kill at " << Idx << " covered by valno #" in addDefsFromCopies()
621 I.insert(Idx, Idx.getNextSlot(), LocNo); in addDefsFromCopies()
622 NewDefs.push_back(std::make_pair(Idx, LocNo)); in addDefsFromCopies()
643 SlotIndex Idx = Defs[i].first; in computeIntervals() local
648 extendDef(Idx, LocNo, 0, 0, 0, LIS, MDT, UVS); in computeIntervals()
658 VNI = LI->getVNInfoAt(Idx); in computeIntervals()
661 extendDef(Idx, LocNo, LI, VNI, &Kills, LIS, MDT, UVS); in computeIntervals()
670 const VNInfo *VNI = LI->getVNInfoAt(Idx); in computeIntervals()
672 extendDef(Idx, LocNo, LI, VNI, 0, LIS, MDT, UVS); in computeIntervals()
895 findInsertLocation(MachineBasicBlock *MBB, SlotIndex Idx, in findInsertLocation() argument
898 Idx = Idx.getBaseIndex(); in findInsertLocation()
902 while (!(MI = LIS.getInstructionFromIndex(Idx))) { in findInsertLocation()
904 if (Idx == Start) { in findInsertLocation()
908 Idx = Idx.getPrevIndex(); in findInsertLocation()
921 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, in insertDebugValue() argument
925 MachineBasicBlock::iterator I = findInsertLocation(MBB, Idx, LIS); in insertDebugValue()