Lines Matching refs:RtMI
657 MachineInstr *RtMI, *Rt2MI; in mergeNarrowInsns() local
660 RtMI = &*MergeMI; in mergeNarrowInsns()
663 RtMI = &*I; in mergeNarrowInsns()
667 int OffsetImm = getLdStOffsetOp(*RtMI).getImm(); in mergeNarrowInsns()
681 std::swap(RtMI, Rt2MI); in mergeNarrowInsns()
716 if (RtMI->getOpcode() == getMatchingNonSExtOpcode(RtMI->getOpcode())) { in mergeNarrowInsns()
719 .addOperand(getLdStRegOp(*RtMI)) in mergeNarrowInsns()
724 BuildMI(*MBB, InsertionPoint, DL, TII->get(getBitExtrOpcode(*RtMI))) in mergeNarrowInsns()
725 .addOperand(getLdStRegOp(*RtMI)) in mergeNarrowInsns()
732 if (RtMI->getOpcode() == getMatchingNonSExtOpcode(RtMI->getOpcode())) { in mergeNarrowInsns()
735 .addOperand(getLdStRegOp(*RtMI)) in mergeNarrowInsns()
740 BuildMI(*MBB, InsertionPoint, DL, TII->get(getBitExtrOpcode(*RtMI))) in mergeNarrowInsns()
741 .addOperand(getLdStRegOp(*RtMI)) in mergeNarrowInsns()
843 MachineInstr *RtMI, *Rt2MI; in mergePairedInsns() local
845 RtMI = &*Paired; in mergePairedInsns()
853 RtMI = &*I; in mergePairedInsns()
856 int OffsetImm = getLdStOffsetOp(*RtMI).getImm(); in mergePairedInsns()
858 if (TII->isUnscaledLdSt(RtMI->getOpcode())) { in mergePairedInsns()
859 assert(!(OffsetImm % getMemScale(*RtMI)) && in mergePairedInsns()
861 OffsetImm /= getMemScale(*RtMI); in mergePairedInsns()
869 .addOperand(getLdStRegOp(*RtMI)) in mergePairedInsns()