• Home
  • Raw
  • Download

Lines Matching refs:IntB

259     bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
593 LiveInterval &IntB = in adjustCopiesBackFrom() local
613 LiveInterval::iterator BS = IntB.FindSegmentContaining(CopyIdx); in adjustCopiesBackFrom()
614 if (BS == IntB.end()) return false; in adjustCopiesBackFrom()
638 IntB.FindSegmentContaining(AValNo->def.getPrevSlot()); in adjustCopiesBackFrom()
639 if (ValS == IntB.end()) in adjustCopiesBackFrom()
654 LLVM_DEBUG(dbgs() << "Extending: " << printReg(IntB.reg(), TRI)); in adjustCopiesBackFrom()
665 IntB.addSegment(LiveInterval::Segment(FillerStart, FillerEnd, BValNo)); in adjustCopiesBackFrom()
669 IntB.MergeValueNumberInto(BValNo, ValS->valno); in adjustCopiesBackFrom()
672 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
693 LLVM_DEBUG(dbgs() << " result = " << IntB << '\n'); in adjustCopiesBackFrom()
697 int UIdx = ValSEndInst->findRegisterUseOperandIdx(IntB.reg(), true); in adjustCopiesBackFrom()
703 CopyMI->substituteRegister(IntA.reg(), IntB.reg(), 0, *TRI); in adjustCopiesBackFrom()
724 LiveInterval &IntB, in hasOtherReachingDefs() argument
734 LiveInterval::iterator BI = llvm::upper_bound(IntB, ASeg.start); in hasOtherReachingDefs()
735 if (BI != IntB.begin()) in hasOtherReachingDefs()
737 for (; BI != IntB.end() && ASeg.end >= BI->start; ++BI) { in hasOtherReachingDefs()
781 LiveInterval &IntB = in removeCopyByCommutingDef() local
807 VNInfo *BValNo = IntB.getVNInfoAt(CopyIdx); in removeCopyByCommutingDef()
843 if (NewReg != IntB.reg() || !IntB.Query(AValNo->def).isKill()) in removeCopyByCommutingDef()
848 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
876 Register::isVirtualRegister(IntB.reg()) && in removeCopyByCommutingDef()
877 !MRI->constrainRegClass(IntB.reg(), MRI->getRegClass(IntA.reg()))) in removeCopyByCommutingDef()
926 if (UseMI->getOperand(0).getReg() != IntB.reg() || in removeCopyByCommutingDef()
933 VNInfo *DVNI = IntB.getVNInfoAt(DefIdx); in removeCopyByCommutingDef()
938 BValNo = IntB.MergeValueNumberInto(DVNI, BValNo); in removeCopyByCommutingDef()
939 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
955 if (IntA.hasSubRanges() || IntB.hasSubRanges()) { in removeCopyByCommutingDef()
959 } else if (!IntB.hasSubRanges()) { in removeCopyByCommutingDef()
960 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntB.reg()); in removeCopyByCommutingDef()
961 IntB.createSubRangeFrom(Allocator, Mask, IntB); in removeCopyByCommutingDef()
978 IntB.refineSubRanges( in removeCopyByCommutingDef()
995 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
1005 auto P = addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
1007 LLVM_DEBUG(dbgs() << "\t\textended: " << IntB << '\n'); in removeCopyByCommutingDef()
1080 LiveInterval &IntB = in removePartialRedundancy() local
1091 if (IntB.overlaps(LIS->getMBBStartIdx(&MBB), CopyIdx)) in removePartialRedundancy()
1107 DefMI->getOperand(1).getReg() != IntB.reg() || in removePartialRedundancy()
1116 for (auto VNI : IntB.valnos) { in removePartialRedundancy()
1155 if (IntB.overlaps(InsPosIdx, LIS->getMBBEndIdx(CopyLeftBB))) in removePartialRedundancy()
1164 TII->get(TargetOpcode::COPY), IntB.reg()) in removePartialRedundancy()
1168 IntB.createDeadDef(NewCopyIdx, LIS->getVNInfoAllocator()); in removePartialRedundancy()
1169 for (LiveInterval::SubRange &SR : IntB.subranges()) in removePartialRedundancy()
1190 VNInfo *BValNo = IntB.Query(CopyIdx).valueOutOrDead(); in removePartialRedundancy()
1191 LIS->pruneValue(*static_cast<LiveRange *>(&IntB), CopyIdx.getRegSlot(), in removePartialRedundancy()
1195 LIS->extendToIndices(IntB, EndPoints); in removePartialRedundancy()
1198 for (LiveInterval::SubRange &SR : IntB.subranges()) { in removePartialRedundancy()
1219 IntB.computeSubRangeUndefs(Undefs, SR.LaneMask, *MRI, in removePartialRedundancy()
1224 shrinkToUses(&IntB); in removePartialRedundancy()