Lines Matching refs:SlotIndex

138       SlotIndex SI;    ///< Slot where this PHI occurs.
153 using DbgValueLoc = std::pair<SlotIndex, MachineInstr*>;
206 bool allUsesAvailableAt(const MachineInstr *OrigMI, SlotIndex OrigIdx,
207 SlotIndex UseIdx);
328 void addUndefFlag(const LiveInterval &Int, SlotIndex UseIdx,
613 SlotIndex OrigIdx, in allUsesAvailableAt()
614 SlotIndex UseIdx) { in allUsesAvailableAt()
634 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in adjustCopiesBackFrom()
662 SlotIndex CopyUseIdx = CopyIdx.getRegSlot(true); in adjustCopiesBackFrom()
695 SlotIndex FillerStart = ValS->end, FillerEnd = BS->start; in adjustCopiesBackFrom()
715 if (SS != S.end() && SlotIndex::isSameInstr(SS->start, SS->end)) { in adjustCopiesBackFrom()
721 SlotIndex BBStart = in adjustCopiesBackFrom()
845 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in removeCopyByCommutingDef()
895 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI); in removeCopyByCommutingDef()
946 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI).getRegSlot(true); in removeCopyByCommutingDef()
967 SlotIndex DefIdx = UseIdx.getRegSlot(); in removeCopyByCommutingDef()
998 SlotIndex AIdx = CopyIdx.getRegSlot(true); in removeCopyByCommutingDef()
1119 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot(true); in removePartialRedundancy()
1189 SlotIndex InsPosIdx = LIS->getInstructionIndex(*InsPos).getRegSlot(true); in removePartialRedundancy()
1201 SlotIndex NewCopyIdx = in removePartialRedundancy()
1224 SmallVector<SlotIndex, 8> EndPoints; in removePartialRedundancy()
1246 if (SlotIndex::isSameInstr(EndPoints[I], CopyIdx)) { in removePartialRedundancy()
1253 SmallVector<SlotIndex, 8> Undefs; in removePartialRedundancy()
1294 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI); in reMaterializeTrivialDef()
1465 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1466 SlotIndex DefIndex = in reMaterializeTrivialDef()
1491 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1494 SlotIndex DefIndex = in reMaterializeTrivialDef()
1544 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1558 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1624 SlotIndex Idx = LIS->getInstructionIndex(*CopyMI); in eliminateUndefCopy()
1641 SlotIndex RegIndex = Idx.getRegSlot(); in eliminateUndefCopy()
1673 assert(SVNI != nullptr && SlotIndex::isSameInstr(SVNI->def, RegIndex)); in eliminateUndefCopy()
1685 SlotIndex UseIdx = LIS->getInstructionIndex(MI); in eliminateUndefCopy()
1719 void RegisterCoalescer::addUndefFlag(const LiveInterval &Int, SlotIndex UseIdx, in addUndefFlag()
1758 SlotIndex UseIdx = LIS->getInstructionIndex(MI).getRegSlot(true); in updateRegDefsUses()
1813 SlotIndex MIIdx = UseMI->isDebugInstr() in updateRegDefsUses()
1816 SlotIndex UseIdx = MIIdx.getRegSlot(true); in updateRegDefsUses()
1857 SlotIndex PredEnd = LIS->getMBBEndIdx(Pred); in copyValueUndefInPredecessors()
1879 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in setUndefOnPrunedSubRegUses()
1950 const SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI); in joinCopy()
2219 SlotIndex CopyRegIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in joinReservedPhysReg()
2220 SlotIndex DestRegIdx = LIS->getInstructionIndex(DestMI).getRegSlot(); in joinReservedPhysReg()
2227 for (SlotIndex SI = Indexes->getNextNonNullIndex(DestRegIdx); in joinReservedPhysReg()
2488 SmallVectorImpl<std::pair<SlotIndex, LaneBitmask>> &TaintExtent);
2524 void pruneValues(JoinVals &Other, SmallVectorImpl<SlotIndex> &EndPoints,
2582 SlotIndex Def = VNI->def; in followCopyChain()
2731 assert(SlotIndex::isSameInstr(VNI->def, OtherVNI->def) && "Broken LRQ"); in analyzeValue()
2766 assert(!SlotIndex::isSameInstr(VNI->def, V.OtherVNI->def) && "Broken LRQ"); in analyzeValue()
2982 SmallVectorImpl<std::pair<SlotIndex, LaneBitmask>> &TaintExtent) { in taintExtent() argument
2985 SlotIndex MBBEnd = Indexes->getMBBEndIdx(MBB); in taintExtent()
2993 SlotIndex End = OtherI->end; in taintExtent()
3057 SmallVector<std::pair<SlotIndex, LaneBitmask>, 8> TaintExtent; in resolveConflicts()
3074 assert(!SlotIndex::isSameInstr(VNI->def, TaintExtent.front().first) && in resolveConflicts()
3120 SmallVectorImpl<SlotIndex> &EndPoints, in pruneValues()
3123 SlotIndex Def = LR.getValNumInfo(i)->def; in pruneValues()
3237 SlotIndex Def = LR.getValNumInfo(i)->def; in pruneSubRegValues()
3238 SlotIndex OtherDef; in pruneSubRegValues()
3256 SmallVector<SlotIndex,8> EndPoints; in pruneSubRegValues()
3295 static bool isDefInSubRange(LiveInterval &LI, SlotIndex Def) { in isDefInSubRange()
3336 SlotIndex Def = VNI->def; in eraseInstrs()
3353 SlotIndex NewEnd; in eraseInstrs()
3373 SlotIndex ED, LE; in eraseInstrs()
3455 SmallVector<SlotIndex, 8> EndPoints; in joinSubRegRanges()
3593 SmallVector<SlotIndex, 8> EndPoints; in joinVirtRegs()
3616 const SlotIndex &SI = PHIIt->second.SI; in joinVirtRegs()
3704 auto CloseNewDVRange = [this, &ToInsert](SlotIndex Slot) { in buildVRegToDbgValueMap()
3719 SlotIndex CurrentSlot = Slots.getMBBStartIdx(&MBB); in buildVRegToDbgValueMap()
3783 SlotIndex LastUndefIdx; in checkMergingChangesDbgValuesImpl()
3788 &LastUndefIdx](SlotIndex Idx) -> bool { in checkMergingChangesDbgValuesImpl()
4134 SlotIndex SI = Slots->getMBBStartIdx(MBB); in runOnMachineFunction()