Lines Matching refs:IntA
185 bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
456 LiveInterval &IntA = in adjustCopiesBackFrom() local
489 LiveInterval::iterator AS = IntA.FindSegmentContaining(CopyUseIdx); in adjustCopiesBackFrom()
491 if (AS == IntA.end()) return false; in adjustCopiesBackFrom()
557 CopyMI->substituteRegister(IntA.reg, IntB.reg, 0, *TRI); in adjustCopiesBackFrom()
559 LIS->shrinkToUses(&IntA); in adjustCopiesBackFrom()
565 bool RegisterCoalescer::hasOtherReachingDefs(LiveInterval &IntA, in hasOtherReachingDefs() argument
571 if (LIS->hasPHIKill(IntA, AValNo)) in hasOtherReachingDefs()
574 for (LiveRange::Segment &ASeg : IntA.segments) { in hasOtherReachingDefs()
608 LiveInterval &IntA = in removeCopyByCommutingDef() local
640 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx.getRegSlot(true)); in removeCopyByCommutingDef()
651 int DefIdx = DefMI->findRegisterDefOperandIdx(IntA.reg); in removeCopyByCommutingDef()
673 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
678 for (MachineOperand &MO : MRI->use_nodbg_operands(IntA.reg)) { in removeCopyByCommutingDef()
682 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
683 if (US == IntA.end() || US->valno != AValNo) in removeCopyByCommutingDef()
699 if (TargetRegisterInfo::isVirtualRegister(IntA.reg) && in removeCopyByCommutingDef()
701 !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg))) in removeCopyByCommutingDef()
720 for (MachineRegisterInfo::use_iterator UI = MRI->use_begin(IntA.reg), in removeCopyByCommutingDef()
735 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
736 assert(US != IntA.end() && "Use must be live"); in removeCopyByCommutingDef()
780 if (!IntA.hasSubRanges()) { in removeCopyByCommutingDef()
781 unsigned Mask = MRI->getMaxLaneMaskForVReg(IntA.reg); in removeCopyByCommutingDef()
782 IntA.createSubRangeFrom(Allocator, Mask, IntA); in removeCopyByCommutingDef()
785 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
828 addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
831 LIS->removeVRegDefAt(IntA, AValNo->def); in removeCopyByCommutingDef()
833 DEBUG(dbgs() << "\t\ttrimmed: " << IntA << '\n'); in removeCopyByCommutingDef()