Lines Matching refs:SrcReg
632 MCRegister SrcReg, bool KillSrc) const { in copyPhysReg() argument
636 if (M68k::XR32RegClass.contains(DstReg, SrcReg)) in copyPhysReg()
638 else if (M68k::XR16RegClass.contains(DstReg, SrcReg)) in copyPhysReg()
640 else if (M68k::DR8RegClass.contains(DstReg, SrcReg)) in copyPhysReg()
645 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
656 if (M68k::DR8RegClass.contains(SrcReg)) { in copyPhysReg()
661 } else if (M68k::XR16RegClass.contains(SrcReg) && in copyPhysReg()
667 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
671 bool FromCCR = SrcReg == M68k::CCR; in copyPhysReg()
672 bool FromSR = SrcReg == M68k::SR; in copyPhysReg()
681 assert(M68k::DR8RegClass.contains(SrcReg) && in copyPhysReg()
689 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
693 LLVM_DEBUG(dbgs() << "Cannot copy " << RI.getName(SrcReg) << " to " in copyPhysReg()
721 unsigned getStoreRegOpcode(unsigned SrcReg, const TargetRegisterClass *RC, in getStoreRegOpcode() argument
724 return getLoadStoreRegOpcode(SrcReg, RC, TRI, STI, false); in getStoreRegOpcode()
745 MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, Register SrcReg, in storeRegToStackSlot() argument
753 unsigned Opc = getStoreRegOpcode(SrcReg, RC, TRI, Subtarget); in storeRegToStackSlot()
757 .addReg(SrcReg, getKillRegState(IsKill)); in storeRegToStackSlot()