Lines Matching refs:Uses
1593 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in tryInstructionSplit() local
1594 if (Uses.size() <= 1) in tryInstructionSplit()
1597 DEBUG(dbgs() << "Split around " << Uses.size() << " individual instrs.\n"); in tryInstructionSplit()
1606 for (unsigned i = 0; i != Uses.size(); ++i) { in tryInstructionSplit()
1607 if (const MachineInstr *MI = Indexes->getInstructionFromIndex(Uses[i])) in tryInstructionSplit()
1612 DEBUG(dbgs() << " skip:\t" << Uses[i] << '\t' << *MI); in tryInstructionSplit()
1616 SlotIndex SegStart = SE->enterIntvBefore(Uses[i]); in tryInstructionSplit()
1617 SlotIndex SegStop = SE->leaveIntvAfter(Uses[i]); in tryInstructionSplit()
1651 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in calcGapWeights() local
1652 const unsigned NumGaps = Uses.size()-1; in calcGapWeights()
1679 while (Uses[Gap+1].getBoundaryIndex() < IntI.start()) in calcGapWeights()
1689 if (Uses[Gap+1].getBaseIndex() >= IntI.stop()) in calcGapWeights()
1705 while (Uses[Gap+1].getBoundaryIndex() < I->start) in calcGapWeights()
1713 if (Uses[Gap+1].getBaseIndex() >= I->end) in calcGapWeights()
1737 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in tryLocalSplit() local
1738 if (Uses.size() <= 2) in tryLocalSplit()
1740 const unsigned NumGaps = Uses.size()-1; in tryLocalSplit()
1744 for (unsigned i = 0, e = Uses.size(); i != e; ++i) in tryLocalSplit()
1745 dbgs() << ' ' << Uses[i]; in tryLocalSplit()
1758 Uses.front().getRegSlot()) - RMS.begin(); in tryLocalSplit()
1762 assert(!SlotIndex::isEarlierInstr(RMS[ri], Uses[i])); in tryLocalSplit()
1763 if (SlotIndex::isEarlierInstr(Uses[i+1], RMS[ri])) in tryLocalSplit()
1767 if (SlotIndex::isSameInstr(Uses[i+1], RMS[ri]) && i+1 == NumGaps) in tryLocalSplit()
1769 DEBUG(dbgs() << ' ' << RMS[ri] << ':' << Uses[i] << '-' << Uses[i+1]); in tryLocalSplit()
1773 while (ri != re && SlotIndex::isEarlierInstr(RMS[ri], Uses[i+1])) in tryLocalSplit()
1836 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()
1861 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
1909 DEBUG(dbgs() << "Best local split range: " << Uses[BestBefore] in tryLocalSplit()
1910 << '-' << Uses[BestAfter] << ", " << BestDiff in tryLocalSplit()
1917 SlotIndex SegStart = SE->enterIntvBefore(Uses[BestBefore]); in tryLocalSplit()
1918 SlotIndex SegStop = SE->leaveIntvAfter(Uses[BestAfter]); in tryLocalSplit()