Lines Matching refs:Uses
1583 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in tryInstructionSplit() local
1584 if (Uses.size() <= 1) in tryInstructionSplit()
1587 DEBUG(dbgs() << "Split around " << Uses.size() << " individual instrs.\n"); in tryInstructionSplit()
1596 for (unsigned i = 0; i != Uses.size(); ++i) { in tryInstructionSplit()
1597 if (const MachineInstr *MI = Indexes->getInstructionFromIndex(Uses[i])) in tryInstructionSplit()
1602 DEBUG(dbgs() << " skip:\t" << Uses[i] << '\t' << *MI); in tryInstructionSplit()
1606 SlotIndex SegStart = SE->enterIntvBefore(Uses[i]); in tryInstructionSplit()
1607 SlotIndex SegStop = SE->leaveIntvAfter(Uses[i]); in tryInstructionSplit()
1641 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in calcGapWeights() local
1642 const unsigned NumGaps = Uses.size()-1; in calcGapWeights()
1669 while (Uses[Gap+1].getBoundaryIndex() < IntI.start()) in calcGapWeights()
1679 if (Uses[Gap+1].getBaseIndex() >= IntI.stop()) in calcGapWeights()
1695 while (Uses[Gap+1].getBoundaryIndex() < I->start) in calcGapWeights()
1703 if (Uses[Gap+1].getBaseIndex() >= I->end) in calcGapWeights()
1727 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in tryLocalSplit() local
1728 if (Uses.size() <= 2) in tryLocalSplit()
1730 const unsigned NumGaps = Uses.size()-1; in tryLocalSplit()
1734 for (unsigned i = 0, e = Uses.size(); i != e; ++i) in tryLocalSplit()
1735 dbgs() << ' ' << Uses[i]; in tryLocalSplit()
1748 Uses.front().getRegSlot()) - RMS.begin(); in tryLocalSplit()
1752 assert(!SlotIndex::isEarlierInstr(RMS[ri], Uses[i])); in tryLocalSplit()
1753 if (SlotIndex::isEarlierInstr(Uses[i+1], RMS[ri])) in tryLocalSplit()
1757 if (SlotIndex::isSameInstr(Uses[i+1], RMS[ri]) && i+1 == NumGaps) in tryLocalSplit()
1759 DEBUG(dbgs() << ' ' << RMS[ri] << ':' << Uses[i] << '-' << Uses[i+1]); in tryLocalSplit()
1763 while (ri != re && SlotIndex::isEarlierInstr(RMS[ri], Uses[i+1])) in tryLocalSplit()
1826 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()
1851 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
1899 DEBUG(dbgs() << "Best local split range: " << Uses[BestBefore] in tryLocalSplit()
1900 << '-' << Uses[BestAfter] << ", " << BestDiff in tryLocalSplit()
1907 SlotIndex SegStart = SE->enterIntvBefore(Uses[BestBefore]); in tryLocalSplit()
1908 SlotIndex SegStop = SE->leaveIntvAfter(Uses[BestAfter]); in tryLocalSplit()