Lines Matching refs:Slot

508   bool applyFirstUse(int Slot) {  in applyFirstUse()  argument
511 if (ConservativeSlots.test(Slot)) in applyFirstUse()
604 int Slot = MO.getIndex(); in getStartOrEndSlot() local
605 if (Slot >= 0) in getStartOrEndSlot()
606 return Slot; in getStartOrEndSlot()
619 int Slot = getStartOrEndSlot(MI); in isLifetimeStartOrEnd() local
620 if (Slot < 0) in isLifetimeStartOrEnd()
622 if (!InterestingSlots.test(Slot)) in isLifetimeStartOrEnd()
624 slots.push_back(Slot); in isLifetimeStartOrEnd()
629 if (!applyFirstUse(Slot)) { in isLifetimeStartOrEnd()
639 int Slot = MO.getIndex(); in isLifetimeStartOrEnd() local
640 if (Slot<0) in isLifetimeStartOrEnd()
642 if (InterestingSlots.test(Slot) && applyFirstUse(Slot)) { in isLifetimeStartOrEnd()
643 slots.push_back(Slot); in isLifetimeStartOrEnd()
692 int Slot = getStartOrEndSlot(MI); in collectMarkers() local
693 if (Slot < 0) in collectMarkers()
695 InterestingSlots.set(Slot); in collectMarkers()
697 BetweenStartEnd.set(Slot); in collectMarkers()
698 NumStartLifetimes[Slot] += 1; in collectMarkers()
700 BetweenStartEnd.reset(Slot); in collectMarkers()
701 NumEndLifetimes[Slot] += 1; in collectMarkers()
703 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); in collectMarkers()
709 LLVM_DEBUG(dbgs() << " marker for slot #" << Slot); in collectMarkers()
719 int Slot = MO.getIndex(); in collectMarkers() local
720 if (Slot < 0) in collectMarkers()
722 if (! BetweenStartEnd.test(Slot)) { in collectMarkers()
723 ConservativeSlots.set(Slot); in collectMarkers()
729 StoreSlots.set(Slot); in collectMarkers()
731 NumLoadInCatchPad[Slot] += 1; in collectMarkers()
774 int Slot = slots[0]; in collectMarkers() local
775 if (BlockInfo.Begin.test(Slot)) { in collectMarkers()
776 BlockInfo.Begin.reset(Slot); in collectMarkers()
778 BlockInfo.End.set(Slot); in collectMarkers()
780 for (auto Slot : slots) { in collectMarkers() local
781 LLVM_DEBUG(dbgs() << "Found a use of slot #" << Slot); in collectMarkers()
785 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); in collectMarkers()
791 if (BlockInfo.End.test(Slot)) { in collectMarkers()
792 BlockInfo.End.reset(Slot); in collectMarkers()
794 BlockInfo.Begin.set(Slot); in collectMarkers()
884 for (auto Slot : slots) { in calculateLiveIntervals() local
889 if (!DefinitelyInUse[Slot]) { in calculateLiveIntervals()
890 LiveStarts[Slot].push_back(ThisIndex); in calculateLiveIntervals()
891 DefinitelyInUse[Slot] = true; in calculateLiveIntervals()
893 if (!Starts[Slot].isValid()) in calculateLiveIntervals()
894 Starts[Slot] = ThisIndex; in calculateLiveIntervals()
896 if (Starts[Slot].isValid()) { in calculateLiveIntervals()
897 VNInfo *VNI = Intervals[Slot]->getValNumInfo(0); in calculateLiveIntervals()
898 Intervals[Slot]->addSegment( in calculateLiveIntervals()
899 LiveInterval::Segment(Starts[Slot], ThisIndex, VNI)); in calculateLiveIntervals()
900 Starts[Slot] = SlotIndex(); // Invalidate the start index in calculateLiveIntervals()
901 DefinitelyInUse[Slot] = false; in calculateLiveIntervals()
940 if (SlotRemap.count(VI.Slot)) { in remapInstructions()
943 VI.Slot = SlotRemap[VI.Slot]; in remapInstructions()
1172 int Slot = MO.getIndex(); in removeInvalidSlotRanges() local
1174 if (Slot<0) in removeInvalidSlotRanges()
1177 if (Intervals[Slot]->empty()) in removeInvalidSlotRanges()
1182 LiveInterval *Interval = &*Intervals[Slot]; in removeInvalidSlotRanges()
1186 LLVM_DEBUG(dbgs() << "Invalidating range #" << Slot << "\n"); in removeInvalidSlotRanges()