Lines Matching refs:IntA
280 bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
620 LiveInterval &IntA = in adjustCopiesBackFrom() local
653 LiveInterval::iterator AS = IntA.FindSegmentContaining(CopyUseIdx); in adjustCopiesBackFrom()
655 if (AS == IntA.end()) return false; in adjustCopiesBackFrom()
732 CopyMI->substituteRegister(IntA.reg(), IntB.reg(), 0, *TRI); in adjustCopiesBackFrom()
737 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
746 shrinkToUses(&IntA); in adjustCopiesBackFrom()
752 bool RegisterCoalescer::hasOtherReachingDefs(LiveInterval &IntA, in hasOtherReachingDefs() argument
758 if (LIS->hasPHIKill(IntA, AValNo)) in hasOtherReachingDefs()
761 for (LiveRange::Segment &ASeg : IntA.segments) { in hasOtherReachingDefs()
808 LiveInterval &IntA = in removeCopyByCommutingDef() local
840 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx.getRegSlot(true)); in removeCopyByCommutingDef()
851 int DefIdx = DefMI->findRegisterDefOperandIdx(IntA.reg()); in removeCopyByCommutingDef()
877 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
882 for (MachineOperand &MO : MRI->use_nodbg_operands(IntA.reg())) { in removeCopyByCommutingDef()
886 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
887 if (US == IntA.end() || US->valno != AValNo) in removeCopyByCommutingDef()
904 if (IntA.reg().isVirtual() && IntB.reg().isVirtual() && in removeCopyByCommutingDef()
905 !MRI->constrainRegClass(IntB.reg(), MRI->getRegClass(IntA.reg()))) in removeCopyByCommutingDef()
925 llvm::make_early_inc_range(MRI->use_operands(IntA.reg()))) { in removeCopyByCommutingDef()
936 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
937 assert(US != IntA.end() && "Use must be live"); in removeCopyByCommutingDef()
979 if (IntA.hasSubRanges() || IntB.hasSubRanges()) { in removeCopyByCommutingDef()
980 if (!IntA.hasSubRanges()) { in removeCopyByCommutingDef()
981 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntA.reg()); in removeCopyByCommutingDef()
982 IntA.createSubRangeFrom(Allocator, Mask, IntA); in removeCopyByCommutingDef()
990 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
1029 auto P = addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
1033 LIS->removeVRegDefAt(IntA, AValNo->def); in removeCopyByCommutingDef()
1035 LLVM_DEBUG(dbgs() << "\t\ttrimmed: " << IntA << '\n'); in removeCopyByCommutingDef()
1102 LiveInterval &IntA = in removePartialRedundancy() local
1109 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx); in removePartialRedundancy()
1123 VNInfo *PVal = IntA.getVNInfoBefore(LIS->getMBBEndIdx(Pred)); in removePartialRedundancy()
1130 if (DefMI->getOperand(0).getReg() != IntA.reg() || in removePartialRedundancy()
1189 .addReg(IntA.reg()); in removePartialRedundancy()
1266 shrinkToUses(&IntA); in removePartialRedundancy()