• Home
  • Raw
  • Download

Lines Matching refs:IntB

182     bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
478 LiveInterval &IntB = in adjustCopiesBackFrom() local
498 LiveInterval::iterator BS = IntB.FindSegmentContaining(CopyIdx); in adjustCopiesBackFrom()
499 if (BS == IntB.end()) return false; in adjustCopiesBackFrom()
523 IntB.FindSegmentContaining(AValNo->def.getPrevSlot()); in adjustCopiesBackFrom()
524 if (ValS == IntB.end()) in adjustCopiesBackFrom()
539 DEBUG(dbgs() << "Extending: " << PrintReg(IntB.reg, TRI)); in adjustCopiesBackFrom()
550 IntB.addSegment(LiveInterval::Segment(FillerStart, FillerEnd, BValNo)); in adjustCopiesBackFrom()
554 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
557 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
565 DEBUG(dbgs() << " result = " << IntB << '\n'); in adjustCopiesBackFrom()
569 int UIdx = ValSEndInst->findRegisterUseOperandIdx(IntB.reg, true); in adjustCopiesBackFrom()
577 CopyMI->substituteRegister(IntA.reg, IntB.reg, 0, *TRI); in adjustCopiesBackFrom()
586 LiveInterval &IntB, in hasOtherReachingDefs() argument
597 std::upper_bound(IntB.begin(), IntB.end(), ASeg.start); in hasOtherReachingDefs()
598 if (BI != IntB.begin()) in hasOtherReachingDefs()
600 for (; BI != IntB.end() && ASeg.end >= BI->start; ++BI) { in hasOtherReachingDefs()
630 LiveInterval &IntB = in removeCopyByCommutingDef() local
656 VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx); in removeCopyByCommutingDef()
692 if (NewReg != IntB.reg || !IntB.Query(AValNo->def).isKill()) in removeCopyByCommutingDef()
697 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
725 TargetRegisterInfo::isVirtualRegister(IntB.reg) && in removeCopyByCommutingDef()
726 !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg))) in removeCopyByCommutingDef()
774 if (UseMI->getOperand(0).getReg() != IntB.reg || in removeCopyByCommutingDef()
781 VNInfo *DVNI = IntB.getVNInfoAt(DefIdx); in removeCopyByCommutingDef()
786 BValNo = IntB.MergeValueNumberInto(DVNI, BValNo); in removeCopyByCommutingDef()
787 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
804 if (IntB.hasSubRanges()) { in removeCopyByCommutingDef()
815 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
830 CommonRange = IntB.createSubRangeFrom(Allocator, Common, SB); in removeCopyByCommutingDef()
846 LiveRange *NewRange = IntB.createSubRange(Allocator, AMask); in removeCopyByCommutingDef()
854 addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
855 DEBUG(dbgs() << "\t\textended: " << IntB << '\n'); in removeCopyByCommutingDef()