Lines Matching defs:SlotIndex

265 using LocMap = IntervalMap<SlotIndex, DbgVariableValue, 4>;
308 SmallSet<SlotIndex, 2> trimmedDefs;
311 void insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx,
312 SlotIndex StopIdx, DbgVariableValue DbgValue,
418 void addDef(SlotIndex Idx, ArrayRef<MachineOperand> LocMOs, bool IsIndirect,
429 // A later DBG_VALUE at the same SlotIndex overrides the old location.
449 extendDef(SlotIndex Idx, DbgVariableValue DbgValue,
452 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> &Kills,
467 SlotIndex KilledAt,
468 SmallVectorImpl<std::pair<SlotIndex, DbgVariableValue>> &NewDefs,
507 SlotIndex loc; ///< Slot used by the debug label.
510 void insertDebugLabel(MachineBasicBlock *MBB, SlotIndex Idx,
516 UserLabel(const DILabel *label, DebugLoc L, SlotIndex Idx)
521 const SlotIndex Index) const {
553 SlotIndex SI; /// Slot where this PHI occurs.
570 SlotIndex Idx; ///< Slot position where MI should be re-inserted.
611 bool handleDebugValue(MachineInstr &MI, SlotIndex Idx);
621 /// \param Idx Last valid SlotIndex before instruction
624 MachineBasicBlock::iterator handleDebugInstr(MachineInstr &MI, SlotIndex Idx);
629 /// \param Idx Last valid SlotIndex before instruction.
632 bool handleDebugLabel(MachineInstr &MI, SlotIndex Idx);
810 SlotIndex Idx) {
887 LiveDebugVariables::LDVImpl::handleDebugInstr(MachineInstr &MI, SlotIndex Idx) {
908 SlotIndex Idx) {
937 // Use the first debug instruction in the sequence to get a SlotIndex
944 // non-debug instruction's SlotIndex as its SlotIndex.
945 SlotIndex Idx =
973 SlotIndex Idx, DbgVariableValue DbgValue,
976 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> &Kills,
978 SlotIndex Start = Idx;
980 SlotIndex Stop = LIS.getMBBEndIdx(MBB);
1029 SlotIndex KilledAt,
1030 SmallVectorImpl<std::pair<SlotIndex, DbgVariableValue>> &NewDefs,
1060 SlotIndex Idx = LIS.getInstructionIndex(*MI);
1118 SmallVector<std::pair<SlotIndex, DbgVariableValue>, 16> Defs;
1127 SlotIndex Idx = Defs[i].first;
1149 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> Kills;
1201 SlotIndex PrevEnd;
1209 SlotIndex RStart = LIS.getInstructionIndex(*Range.first);
1210 SlotIndex REnd = LIS.getInstructionIndex(*Range.second);
1213 // based on the block's SlotIndex, not the first instruction's index.
1220 SlotIndex IStop = I.stop();
1295 SlotIndex SI = Slots->getMBBStartIdx(MBB);
1419 SlotIndex LStart = LocMapI.start();
1420 SlotIndex LStop = LocMapI.stop();
1505 const SlotIndex &Slot = PHIIt->second.SI;
1637 findInsertLocation(MachineBasicBlock *MBB, SlotIndex Idx, LiveIntervals &LIS,
1639 SlotIndex Start = LIS.getMBBStartIdx(MBB);
1685 SlotIndex StopIdx, ArrayRef<MachineOperand> LocMOs,
1697 SlotIndex::isEarlierEqualInstr(StopIdx, LIS.getInstructionIndex(*I)))
1709 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx,
1710 SlotIndex StopIdx, DbgVariableValue DbgValue,
1716 SlotIndex MBBEndIdx = LIS.getMBBEndIdx(&*MBB);
1781 void UserLabel::insertDebugLabel(MachineBasicBlock *MBB, SlotIndex Idx,
1799 SlotIndex Start = I.start();
1800 SlotIndex Stop = I.stop();
1822 SlotIndex MBBEnd = LIS.getMBBEndIdx(&*MBB);
1945 SlotIndex Idx = StashIt->Idx;
1983 SlotIndex End = Slots->getMBBEndIdx(MBB);