Lines Matching refs:DstSub
270 unsigned &SrcSub, unsigned &DstSub) { in isMoveInstr() argument
273 DstSub = MI->getOperand(0).getSubReg(); in isMoveInstr()
278 DstSub = tri.composeSubRegIndices(MI->getOperand(0).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()
327 if (DstSub) { in setRegisters()
328 Dst = TRI.getSubReg(Dst, DstSub); in setRegisters()
330 DstSub = 0; 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()
355 } else if (DstSub) { in setRegisters()
357 SrcIdx = DstSub; in setRegisters()
358 NewRC = TRI.getMatchingSuperRegClass(DstRC, SrcRC, DstSub); in setRegisters()
384 assert(!(TargetRegisterInfo::isPhysicalRegister(Dst) && DstSub) && 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()
421 if (DstSub) in isCoalescable()
422 Dst = TRI.getSubReg(Dst, DstSub); in isCoalescable()
434 TRI.composeSubRegIndices(DstIdx, DstSub); in isCoalescable()