Lines Matching defs:SlotIndex

261 using LocMap = IntervalMap<SlotIndex, DbgVariableValue, 4>;
304 SmallSet<SlotIndex, 2> trimmedDefs;
307 void insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx,
308 SlotIndex StopIdx, DbgVariableValue DbgValue,
414 void addDef(SlotIndex Idx, ArrayRef<MachineOperand> LocMOs, bool IsIndirect,
425 // A later DBG_VALUE at the same SlotIndex overrides the old location.
445 extendDef(SlotIndex Idx, DbgVariableValue DbgValue,
448 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> &Kills,
463 SlotIndex KilledAt,
464 SmallVectorImpl<std::pair<SlotIndex, DbgVariableValue>> &NewDefs,
503 SlotIndex loc; ///< Slot used by the debug label.
506 void insertDebugLabel(MachineBasicBlock *MBB, SlotIndex Idx,
512 UserLabel(const DILabel *label, DebugLoc L, SlotIndex Idx)
517 const SlotIndex Index) const {
541 SlotIndex SI; /// Slot where this PHI occurs.
558 SlotIndex Idx; ///< Slot position where MI should be re-inserted.
599 bool handleDebugValue(MachineInstr &MI, SlotIndex Idx);
609 /// \param Idx Last valid SlotIndex before instruction
612 MachineBasicBlock::iterator handleDebugInstr(MachineInstr &MI, SlotIndex Idx);
617 /// \param Idx Last valid SlotIndex before instruction.
620 bool handleDebugLabel(MachineInstr &MI, SlotIndex Idx);
800 bool LDVImpl::handleDebugValue(MachineInstr &MI, SlotIndex Idx) {
877 SlotIndex Idx) {
897 bool LDVImpl::handleDebugLabel(MachineInstr &MI, SlotIndex Idx) {
925 // Use the first debug instruction in the sequence to get a SlotIndex
932 // non-debug instruction's SlotIndex as its SlotIndex.
933 SlotIndex Idx =
961 SlotIndex Idx, DbgVariableValue DbgValue,
964 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> &Kills,
966 SlotIndex Start = Idx;
968 SlotIndex Stop = LIS.getMBBEndIdx(MBB);
1017 SlotIndex KilledAt,
1018 SmallVectorImpl<std::pair<SlotIndex, DbgVariableValue>> &NewDefs,
1048 SlotIndex Idx = LIS.getInstructionIndex(*MI);
1106 SmallVector<std::pair<SlotIndex, DbgVariableValue>, 16> Defs;
1115 SlotIndex Idx = Defs[i].first;
1137 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> Kills;
1189 SlotIndex PrevEnd;
1197 SlotIndex RStart = LIS.getInstructionIndex(*Range.first);
1198 SlotIndex REnd = LIS.getInstructionIndex(*Range.second);
1201 // based on the block's SlotIndex, not the first instruction's index.
1208 SlotIndex IStop = I.stop();
1283 SlotIndex SI = Slots->getMBBStartIdx(MBB);
1373 SlotIndex LStart = LocMapI.start();
1374 SlotIndex LStop = LocMapI.stop();
1458 const SlotIndex &Slot = PHIIt->second.SI;
1590 findInsertLocation(MachineBasicBlock *MBB, SlotIndex Idx, LiveIntervals &LIS,
1592 SlotIndex Start = LIS.getMBBStartIdx(MBB);
1637 SlotIndex StopIdx, ArrayRef<MachineOperand> LocMOs,
1649 SlotIndex::isEarlierEqualInstr(StopIdx, LIS.getInstructionIndex(*I)))
1661 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx,
1662 SlotIndex StopIdx, DbgVariableValue DbgValue,
1668 SlotIndex MBBEndIdx = LIS.getMBBEndIdx(&*MBB);
1733 void UserLabel::insertDebugLabel(MachineBasicBlock *MBB, SlotIndex Idx,
1751 SlotIndex Start = I.start();
1752 SlotIndex Stop = I.stop();
1774 SlotIndex MBBEnd = LIS.getMBBEndIdx(&*MBB);
1900 SlotIndex Idx = StashIt->Idx;
1938 SlotIndex End = Slots->getMBBEndIdx(MBB);