Lines Matching refs:IntA
222 bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
538 LiveInterval &IntA = in adjustCopiesBackFrom() local
571 LiveInterval::iterator AS = IntA.FindSegmentContaining(CopyUseIdx); in adjustCopiesBackFrom()
573 if (AS == IntA.end()) return false; in adjustCopiesBackFrom()
644 CopyMI->substituteRegister(IntA.reg, IntB.reg, 0, *TRI); in adjustCopiesBackFrom()
649 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
658 shrinkToUses(&IntA); in adjustCopiesBackFrom()
664 bool RegisterCoalescer::hasOtherReachingDefs(LiveInterval &IntA, in hasOtherReachingDefs() argument
670 if (LIS->hasPHIKill(IntA, AValNo)) in hasOtherReachingDefs()
673 for (LiveRange::Segment &ASeg : IntA.segments) { in hasOtherReachingDefs()
721 LiveInterval &IntA = in removeCopyByCommutingDef() local
753 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx.getRegSlot(true)); in removeCopyByCommutingDef()
764 int DefIdx = DefMI->findRegisterDefOperandIdx(IntA.reg); in removeCopyByCommutingDef()
790 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
795 for (MachineOperand &MO : MRI->use_nodbg_operands(IntA.reg)) { in removeCopyByCommutingDef()
799 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
800 if (US == IntA.end() || US->valno != AValNo) in removeCopyByCommutingDef()
817 if (TargetRegisterInfo::isVirtualRegister(IntA.reg) && in removeCopyByCommutingDef()
819 !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg))) in removeCopyByCommutingDef()
838 for (MachineRegisterInfo::use_iterator UI = MRI->use_begin(IntA.reg), in removeCopyByCommutingDef()
853 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
854 assert(US != IntA.end() && "Use must be live"); in removeCopyByCommutingDef()
896 if (IntA.hasSubRanges() || IntB.hasSubRanges()) { in removeCopyByCommutingDef()
897 if (!IntA.hasSubRanges()) { in removeCopyByCommutingDef()
898 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntA.reg); in removeCopyByCommutingDef()
899 IntA.createSubRangeFrom(Allocator, Mask, IntA); in removeCopyByCommutingDef()
906 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
937 auto P = addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
941 LIS->removeVRegDefAt(IntA, AValNo->def); in removeCopyByCommutingDef()
943 LLVM_DEBUG(dbgs() << "\t\ttrimmed: " << IntA << '\n'); in removeCopyByCommutingDef()
1008 LiveInterval &IntA = in removePartialRedundancy() local
1015 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx); in removePartialRedundancy()
1029 VNInfo *PVal = IntA.getVNInfoBefore(LIS->getMBBEndIdx(Pred)); in removePartialRedundancy()
1036 if (DefMI->getOperand(0).getReg() != IntA.reg || in removePartialRedundancy()
1095 .addReg(IntA.reg); in removePartialRedundancy()
1154 shrinkToUses(&IntA); in removePartialRedundancy()