Lines Matching refs:IntB

182     bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
468 LiveInterval &IntB = in adjustCopiesBackFrom() local
488 LiveInterval::iterator BS = IntB.FindSegmentContaining(CopyIdx); in adjustCopiesBackFrom()
489 if (BS == IntB.end()) return false; in adjustCopiesBackFrom()
513 IntB.FindSegmentContaining(AValNo->def.getPrevSlot()); in adjustCopiesBackFrom()
514 if (ValS == IntB.end()) in adjustCopiesBackFrom()
529 DEBUG(dbgs() << "Extending: " << PrintReg(IntB.reg, TRI)); in adjustCopiesBackFrom()
540 IntB.addSegment(LiveInterval::Segment(FillerStart, FillerEnd, BValNo)); in adjustCopiesBackFrom()
544 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
547 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
555 DEBUG(dbgs() << " result = " << IntB << '\n'); in adjustCopiesBackFrom()
559 int UIdx = ValSEndInst->findRegisterUseOperandIdx(IntB.reg, true); in adjustCopiesBackFrom()
567 CopyMI->substituteRegister(IntA.reg, IntB.reg, 0, *TRI); in adjustCopiesBackFrom()
576 LiveInterval &IntB, in hasOtherReachingDefs() argument
587 std::upper_bound(IntB.begin(), IntB.end(), ASeg.start); in hasOtherReachingDefs()
588 if (BI != IntB.begin()) in hasOtherReachingDefs()
590 for (; BI != IntB.end() && ASeg.end >= BI->start; ++BI) { in hasOtherReachingDefs()
620 LiveInterval &IntB = in removeCopyByCommutingDef() local
646 VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx); in removeCopyByCommutingDef()
682 if (NewReg != IntB.reg || !IntB.Query(AValNo->def).isKill()) in removeCopyByCommutingDef()
687 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
715 TargetRegisterInfo::isVirtualRegister(IntB.reg) && in removeCopyByCommutingDef()
716 !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg))) in removeCopyByCommutingDef()
764 if (UseMI->getOperand(0).getReg() != IntB.reg || in removeCopyByCommutingDef()
771 VNInfo *DVNI = IntB.getVNInfoAt(DefIdx); in removeCopyByCommutingDef()
776 BValNo = IntB.MergeValueNumberInto(DVNI, BValNo); in removeCopyByCommutingDef()
777 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
794 if (IntB.hasSubRanges()) { in removeCopyByCommutingDef()
805 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
820 CommonRange = IntB.createSubRangeFrom(Allocator, Common, SB); in removeCopyByCommutingDef()
836 LiveRange *NewRange = IntB.createSubRange(Allocator, AMask); in removeCopyByCommutingDef()
844 addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
845 DEBUG(dbgs() << "\t\textended: " << IntB << '\n'); in removeCopyByCommutingDef()