• Home
  • Raw
  • Download

Lines Matching refs:IntA

259     bool hasOtherReachingDefs(LiveInterval &IntA, LiveInterval &IntB,
591 LiveInterval &IntA = in adjustCopiesBackFrom() local
624 LiveInterval::iterator AS = IntA.FindSegmentContaining(CopyUseIdx); in adjustCopiesBackFrom()
626 if (AS == IntA.end()) return false; in adjustCopiesBackFrom()
703 CopyMI->substituteRegister(IntA.reg(), IntB.reg(), 0, *TRI); in adjustCopiesBackFrom()
708 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
717 shrinkToUses(&IntA); in adjustCopiesBackFrom()
723 bool RegisterCoalescer::hasOtherReachingDefs(LiveInterval &IntA, in hasOtherReachingDefs() argument
729 if (LIS->hasPHIKill(IntA, AValNo)) in hasOtherReachingDefs()
732 for (LiveRange::Segment &ASeg : IntA.segments) { in hasOtherReachingDefs()
779 LiveInterval &IntA = in removeCopyByCommutingDef() local
811 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx.getRegSlot(true)); in removeCopyByCommutingDef()
822 int DefIdx = DefMI->findRegisterDefOperandIdx(IntA.reg()); in removeCopyByCommutingDef()
848 if (hasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) in removeCopyByCommutingDef()
853 for (MachineOperand &MO : MRI->use_nodbg_operands(IntA.reg())) { in removeCopyByCommutingDef()
857 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
858 if (US == IntA.end() || US->valno != AValNo) in removeCopyByCommutingDef()
875 if (Register::isVirtualRegister(IntA.reg()) && in removeCopyByCommutingDef()
877 !MRI->constrainRegClass(IntB.reg(), MRI->getRegClass(IntA.reg()))) in removeCopyByCommutingDef()
896 for (MachineRegisterInfo::use_iterator UI = MRI->use_begin(IntA.reg()), in removeCopyByCommutingDef()
912 LiveInterval::iterator US = IntA.FindSegmentContaining(UseIdx); in removeCopyByCommutingDef()
913 assert(US != IntA.end() && "Use must be live"); in removeCopyByCommutingDef()
955 if (IntA.hasSubRanges() || IntB.hasSubRanges()) { in removeCopyByCommutingDef()
956 if (!IntA.hasSubRanges()) { in removeCopyByCommutingDef()
957 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntA.reg()); in removeCopyByCommutingDef()
958 IntA.createSubRangeFrom(Allocator, Mask, IntA); in removeCopyByCommutingDef()
966 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
1005 auto P = addSegmentsWithValNo(IntB, BValNo, IntA, AValNo); in removeCopyByCommutingDef()
1009 LIS->removeVRegDefAt(IntA, AValNo->def); in removeCopyByCommutingDef()
1011 LLVM_DEBUG(dbgs() << "\t\ttrimmed: " << IntA << '\n'); in removeCopyByCommutingDef()
1078 LiveInterval &IntA = in removePartialRedundancy() local
1085 VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx); in removePartialRedundancy()
1099 VNInfo *PVal = IntA.getVNInfoBefore(LIS->getMBBEndIdx(Pred)); in removePartialRedundancy()
1106 if (DefMI->getOperand(0).getReg() != IntA.reg() || in removePartialRedundancy()
1165 .addReg(IntA.reg()); in removePartialRedundancy()
1227 shrinkToUses(&IntA); in removePartialRedundancy()