Lines Matching defs:Slot

475   bool applyFirstUse(int Slot) {
478 if (ConservativeSlots.test(Slot))
571 int Slot = MO.getIndex();
572 if (Slot >= 0)
573 return Slot;
586 int Slot = getStartOrEndSlot(MI);
587 if (Slot < 0)
589 if (!InterestingSlots.test(Slot))
591 slots.push_back(Slot);
596 if (!applyFirstUse(Slot)) {
606 int Slot = MO.getIndex();
607 if (Slot<0)
609 if (InterestingSlots.test(Slot) && applyFirstUse(Slot)) {
610 slots.push_back(Slot);
656 int Slot = getStartOrEndSlot(MI);
657 if (Slot < 0)
659 InterestingSlots.set(Slot);
661 BetweenStartEnd.set(Slot);
662 NumStartLifetimes[Slot] += 1;
664 BetweenStartEnd.reset(Slot);
665 NumEndLifetimes[Slot] += 1;
667 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot);
673 LLVM_DEBUG(dbgs() << " marker for slot #" << Slot);
683 int Slot = MO.getIndex();
684 if (Slot < 0)
686 if (! BetweenStartEnd.test(Slot)) {
687 ConservativeSlots.set(Slot);
741 int Slot = slots[0];
742 if (BlockInfo.Begin.test(Slot)) {
743 BlockInfo.Begin.reset(Slot);
745 BlockInfo.End.set(Slot);
747 for (auto Slot : slots) {
748 LLVM_DEBUG(dbgs() << "Found a use of slot #" << Slot);
752 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot);
758 if (BlockInfo.End.test(Slot)) {
759 BlockInfo.End.reset(Slot);
761 BlockInfo.Begin.set(Slot);
851 for (auto Slot : slots) {
856 if (!DefinitelyInUse[Slot]) {
857 LiveStarts[Slot].push_back(ThisIndex);
858 DefinitelyInUse[Slot] = true;
860 if (!Starts[Slot].isValid())
861 Starts[Slot] = ThisIndex;
863 if (Starts[Slot].isValid()) {
864 VNInfo *VNI = Intervals[Slot]->getValNumInfo(0);
865 Intervals[Slot]->addSegment(
866 LiveInterval::Segment(Starts[Slot], ThisIndex, VNI));
867 Starts[Slot] = SlotIndex(); // Invalidate the start index
868 DefinitelyInUse[Slot] = false;
907 int Slot = VI.getStackSlot();
908 if (SlotRemap.count(Slot)) {
911 VI.updateStackSlot(SlotRemap[Slot]);
1140 int Slot = MO.getIndex();
1142 if (Slot<0)
1145 if (Intervals[Slot]->empty())
1150 LiveInterval *Interval = &*Intervals[Slot];
1154 LLVM_DEBUG(dbgs() << "Invalidating range #" << Slot << "\n");
1207 LLVM_DEBUG(dbgs() << "Slot structure:\n");
1210 LLVM_DEBUG(dbgs() << "Slot #" << i << " - " << MFI->getObjectSize(i)