Lines Matching refs:CopyLike

598   MachineInstr &CopyLike;  member in __anon2734e12b0211::CopyRewriter
603 CopyRewriter(MachineInstr &MI) : CopyLike(MI), CurrentSrcIdx(0) {} in CopyRewriter()
638 if (!CopyLike.isCopy() || CurrentSrcIdx == 1) in getNextRewritableSource()
644 const MachineOperand &MOSrc = CopyLike.getOperand(1); in getNextRewritableSource()
648 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
658 if (!CopyLike.isCopy() || CurrentSrcIdx != 1) in RewriteCurrentSource()
660 MachineOperand &MOSrc = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
693 const MachineOperand &MOInsertedReg = CopyLike.getOperand(2); in getNextRewritableSource()
696 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
704 TrackSubReg = (unsigned)CopyLike.getOperand(3).getImm(); in getNextRewritableSource()
711 MachineOperand &MO = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
741 const MachineOperand &MOExtractedReg = CopyLike.getOperand(1); in getNextRewritableSource()
747 SrcSubReg = CopyLike.getOperand(2).getImm(); in getNextRewritableSource()
750 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
761 CopyLike.getOperand(CurrentSrcIdx).setReg(NewReg); in RewriteCurrentSource()
772 CopyLike.RemoveOperand(2); in RewriteCurrentSource()
774 CopyLike.setDesc(TII.get(TargetOpcode::COPY)); in RewriteCurrentSource()
777 CopyLike.getOperand(CurrentSrcIdx + 1).setImm(NewSubReg); in RewriteCurrentSource()
816 if (CurrentSrcIdx >= CopyLike.getNumOperands()) in getNextRewritableSource()
819 const MachineOperand &MOInsertedReg = CopyLike.getOperand(CurrentSrcIdx); in getNextRewritableSource()
827 TrackSubReg = CopyLike.getOperand(CurrentSrcIdx + 1).getImm(); in getNextRewritableSource()
829 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
838 if ((CurrentSrcIdx & 1) != 1 || CurrentSrcIdx > CopyLike.getNumOperands()) in RewriteCurrentSource()
841 MachineOperand &MO = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()