Lines Matching refs:IntB
185 bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
458 LiveInterval &IntB = in adjustCopiesBackFrom() local
478 LiveInterval::iterator BS = IntB.FindSegmentContaining(CopyIdx); in adjustCopiesBackFrom()
479 if (BS == IntB.end()) return false; in adjustCopiesBackFrom()
503 IntB.FindSegmentContaining(AValNo->def.getPrevSlot()); in adjustCopiesBackFrom()
504 if (ValS == IntB.end()) in adjustCopiesBackFrom()
519 DEBUG(dbgs() << "Extending: " << PrintReg(IntB.reg, TRI)); in adjustCopiesBackFrom()
530 IntB.addSegment(LiveInterval::Segment(FillerStart, FillerEnd, BValNo)); in adjustCopiesBackFrom()
534 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
537 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
545 DEBUG(dbgs() << " result = " << IntB << '\n'); in adjustCopiesBackFrom()
549 int UIdx = ValSEndInst->findRegisterUseOperandIdx(IntB.reg, true); in adjustCopiesBackFrom()
557 CopyMI->substituteRegister(IntA.reg, IntB.reg, 0, *TRI); in adjustCopiesBackFrom()
566 LiveInterval &IntB, in hasOtherReachingDefs() argument
577 std::upper_bound(IntB.begin(), IntB.end(), ASeg.start); in hasOtherReachingDefs()
578 if (BI != IntB.begin()) in hasOtherReachingDefs()
580 for (; BI != IntB.end() && ASeg.end >= BI->start; ++BI) { in hasOtherReachingDefs()
610 LiveInterval &IntB = in removeCopyByCommutingDef() local
636 VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx); in removeCopyByCommutingDef()
668 if (NewReg != IntB.reg || !IntB.Query(AValNo->def).isKill()) in removeCopyByCommutingDef()
673 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
700 TargetRegisterInfo::isVirtualRegister(IntB.reg) && in removeCopyByCommutingDef()
701 !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg))) in removeCopyByCommutingDef()
749 if (UseMI->getOperand(0).getReg() != IntB.reg || in removeCopyByCommutingDef()
756 VNInfo *DVNI = IntB.getVNInfoAt(DefIdx); in removeCopyByCommutingDef()
761 BValNo = IntB.MergeValueNumberInto(DVNI, BValNo); in removeCopyByCommutingDef()
762 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
779 if (IntB.hasSubRanges()) { in removeCopyByCommutingDef()
790 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
804 CommonRange = IntB.createSubRangeFrom(Allocator, Common, SB); in removeCopyByCommutingDef()
820 LiveRange *NewRange = IntB.createSubRange(Allocator, AMask); in removeCopyByCommutingDef()
828 addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
829 DEBUG(dbgs() << "\t\textended: " << IntB << '\n'); in removeCopyByCommutingDef()