Lines Matching refs:IntB

290     bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
632 LiveInterval &IntB = in adjustCopiesBackFrom() local
652 LiveInterval::iterator BS = IntB.FindSegmentContaining(CopyIdx); in adjustCopiesBackFrom()
653 if (BS == IntB.end()) return false; in adjustCopiesBackFrom()
677 IntB.FindSegmentContaining(AValNo->def.getPrevSlot()); in adjustCopiesBackFrom()
678 if (ValS == IntB.end()) in adjustCopiesBackFrom()
693 LLVM_DEBUG(dbgs() << "Extending: " << printReg(IntB.reg(), TRI)); in adjustCopiesBackFrom()
704 IntB.addSegment(LiveInterval::Segment(FillerStart, FillerEnd, BValNo)); in adjustCopiesBackFrom()
708 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
711 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
732 LLVM_DEBUG(dbgs() << " result = " << IntB << '\n'); in adjustCopiesBackFrom()
736 int UIdx = ValSEndInst->findRegisterUseOperandIdx(IntB.reg(), true); in adjustCopiesBackFrom()
742 CopyMI->substituteRegister(IntA.reg(), IntB.reg(), 0, *TRI); in adjustCopiesBackFrom()
763 LiveInterval &IntB, in hasOtherReachingDefs() argument
773 LiveInterval::iterator BI = llvm::upper_bound(IntB, ASeg.start); in hasOtherReachingDefs()
774 if (BI != IntB.begin()) in hasOtherReachingDefs()
776 for (; BI != IntB.end() && ASeg.end >= BI->start; ++BI) { in hasOtherReachingDefs()
820 LiveInterval &IntB = in removeCopyByCommutingDef() local
846 VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx); in removeCopyByCommutingDef()
882 if (NewReg != IntB.reg() || !IntB.Query(AValNo->def).isKill()) in removeCopyByCommutingDef()
887 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
915 Register::isVirtualRegister(IntB.reg()) && in removeCopyByCommutingDef()
916 !MRI->constrainRegClass(IntB.reg(), MRI->getRegClass(IntA.reg()))) in removeCopyByCommutingDef()
961 if (UseMI->getOperand(0).getReg() != IntB.reg() || in removeCopyByCommutingDef()
968 VNInfo *DVNI = IntB.getVNInfoAt(DefIdx); in removeCopyByCommutingDef()
973 BValNo = IntB.MergeValueNumberInto(DVNI, BValNo); in removeCopyByCommutingDef()
974 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
990 if (IntA.hasSubRanges() || IntB.hasSubRanges()) { in removeCopyByCommutingDef()
994 } else if (!IntB.hasSubRanges()) { in removeCopyByCommutingDef()
995 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntB.reg()); in removeCopyByCommutingDef()
996 IntB.createSubRangeFrom(Allocator, Mask, IntB); in removeCopyByCommutingDef()
1013 IntB.refineSubRanges( in removeCopyByCommutingDef()
1030 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
1040 auto P = addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
1042 LLVM_DEBUG(dbgs() << "\t\textended: " << IntB << '\n'); in removeCopyByCommutingDef()
1115 LiveInterval &IntB = in removePartialRedundancy() local
1126 if (IntB.overlaps(LIS->getMBBStartIdx(&MBB), CopyIdx)) in removePartialRedundancy()
1142 DefMI->getOperand(1).getReg() != IntB.reg() || in removePartialRedundancy()
1151 for (auto *VNI : IntB.valnos) { in removePartialRedundancy()
1190 if (IntB.overlaps(InsPosIdx, LIS->getMBBEndIdx(CopyLeftBB))) in removePartialRedundancy()
1199 TII->get(TargetOpcode::COPY), IntB.reg()) in removePartialRedundancy()
1203 IntB.createDeadDef(NewCopyIdx, LIS->getVNInfoAllocator()); in removePartialRedundancy()
1204 for (LiveInterval::SubRange &SR : IntB.subranges()) in removePartialRedundancy()
1225 VNInfo *BValNo = IntB.Query(CopyIdx).valueOutOrDead(); in removePartialRedundancy()
1226 LIS->pruneValue(*static_cast<LiveRange *>(&IntB), CopyIdx.getRegSlot(), in removePartialRedundancy()
1230 LIS->extendToIndices(IntB, EndPoints); in removePartialRedundancy()
1233 for (LiveInterval::SubRange &SR : IntB.subranges()) { in removePartialRedundancy()
1254 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1259 shrinkToUses(&IntB); in removePartialRedundancy()