Lines Matching refs:SrcSub
270 unsigned &SrcSub, unsigned &DstSub) { in isMoveInstr() argument
275 SrcSub = MI->getOperand(1).getSubReg(); in isMoveInstr()
281 SrcSub = MI->getOperand(2).getSubReg(); in isMoveInstr()
309 unsigned Src, Dst, SrcSub, DstSub; in setRegisters() local
310 if (!isMoveInstr(TRI, MI, Src, Dst, SrcSub, DstSub)) in setRegisters()
312 Partial = SrcSub || DstSub; in setRegisters()
319 std::swap(SrcSub, DstSub); in setRegisters()
334 if (SrcSub) { in setRegisters()
335 Dst = TRI.getMatchingSuperReg(Dst, SrcSub, MRI.getRegClass(Src)); in setRegisters()
346 if (SrcSub && DstSub) { in setRegisters()
348 if (Src == Dst && SrcSub != DstSub) in setRegisters()
351 NewRC = TRI.getCommonSuperRegClass(SrcRC, SrcSub, DstRC, DstSub, in setRegisters()
359 } else if (SrcSub) { in setRegisters()
361 DstIdx = SrcSub; in setRegisters()
362 NewRC = TRI.getMatchingSuperRegClass(SrcRC, DstRC, SrcSub); in setRegisters()
403 unsigned Src, Dst, SrcSub, DstSub; in isCoalescable() local
404 if (!isMoveInstr(TRI, MI, Src, Dst, SrcSub, DstSub)) in isCoalescable()
410 std::swap(SrcSub, DstSub); in isCoalescable()
424 if (!SrcSub) in isCoalescable()
427 return TRI.getSubReg(DstReg, SrcSub) == Dst; in isCoalescable()
433 return TRI.composeSubRegIndices(SrcIdx, SrcSub) == in isCoalescable()