Lines Matching refs:DstSub
260 unsigned &SrcSub, unsigned &DstSub) { in isMoveInstr() argument
263 DstSub = MI->getOperand(0).getSubReg(); in isMoveInstr()
268 DstSub = tri.composeSubRegIndices(MI->getOperand(0).getSubReg(), in isMoveInstr()
299 unsigned Src, Dst, SrcSub, DstSub; in setRegisters() local
300 if (!isMoveInstr(TRI, MI, Src, Dst, SrcSub, DstSub)) in setRegisters()
302 Partial = SrcSub || DstSub; in setRegisters()
309 std::swap(SrcSub, DstSub); in setRegisters()
317 if (DstSub) { in setRegisters()
318 Dst = TRI.getSubReg(Dst, DstSub); in setRegisters()
320 DstSub = 0; in setRegisters()
336 if (SrcSub && DstSub) { in setRegisters()
338 if (Src == Dst && SrcSub != DstSub) in setRegisters()
341 NewRC = TRI.getCommonSuperRegClass(SrcRC, SrcSub, DstRC, DstSub, in setRegisters()
345 } else if (DstSub) { in setRegisters()
347 SrcIdx = DstSub; in setRegisters()
348 NewRC = TRI.getMatchingSuperRegClass(DstRC, SrcRC, DstSub); in setRegisters()
374 assert(!(TargetRegisterInfo::isPhysicalRegister(Dst) && DstSub) && in setRegisters()
393 unsigned Src, Dst, SrcSub, DstSub; in isCoalescable() local
394 if (!isMoveInstr(TRI, MI, Src, Dst, SrcSub, DstSub)) in isCoalescable()
400 std::swap(SrcSub, DstSub); in isCoalescable()
411 if (DstSub) in isCoalescable()
412 Dst = TRI.getSubReg(Dst, DstSub); in isCoalescable()
424 TRI.composeSubRegIndices(DstIdx, DstSub); in isCoalescable()