Lines Matching refs:CopyLike

744   MachineInstr &CopyLike;  member in __anon2734e12b0211::CopyRewriter
749 CopyRewriter(MachineInstr &MI) : CopyLike(MI), CurrentSrcIdx(0) {} in CopyRewriter()
784 if (!CopyLike.isCopy() || CurrentSrcIdx == 1) in getNextRewritableSource()
790 const MachineOperand &MOSrc = CopyLike.getOperand(1); in getNextRewritableSource()
794 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
804 if (!CopyLike.isCopy() || CurrentSrcIdx != 1) in RewriteCurrentSource()
806 MachineOperand &MOSrc = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
907 while (CopyLike.getOperand(CurrentSrcIdx).isDead()) { in getNextRewritableSource()
914 const MachineOperand &MODef = CopyLike.getOperand(CurrentSrcIdx); in getNextRewritableSource()
942 BuildMI(*CopyLike.getParent(), &CopyLike, CopyLike.getDebugLoc(), in RewriteSource()
951 DEBUG(dbgs() << " Replacing: " << CopyLike); in RewriteSource()
990 const MachineOperand &MOInsertedReg = CopyLike.getOperand(2); in getNextRewritableSource()
993 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
1001 TrackSubReg = (unsigned)CopyLike.getOperand(3).getImm(); in getNextRewritableSource()
1008 MachineOperand &MO = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
1038 const MachineOperand &MOExtractedReg = CopyLike.getOperand(1); in getNextRewritableSource()
1044 SrcSubReg = CopyLike.getOperand(2).getImm(); in getNextRewritableSource()
1047 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
1058 CopyLike.getOperand(CurrentSrcIdx).setReg(NewReg); in RewriteCurrentSource()
1069 CopyLike.RemoveOperand(2); in RewriteCurrentSource()
1071 CopyLike.setDesc(TII.get(TargetOpcode::COPY)); in RewriteCurrentSource()
1074 CopyLike.getOperand(CurrentSrcIdx + 1).setImm(NewSubReg); in RewriteCurrentSource()
1113 if (CurrentSrcIdx >= CopyLike.getNumOperands()) in getNextRewritableSource()
1116 const MachineOperand &MOInsertedReg = CopyLike.getOperand(CurrentSrcIdx); in getNextRewritableSource()
1124 TrackSubReg = CopyLike.getOperand(CurrentSrcIdx + 1).getImm(); in getNextRewritableSource()
1126 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
1135 if ((CurrentSrcIdx & 1) != 1 || CurrentSrcIdx > CopyLike.getNumOperands()) in RewriteCurrentSource()
1138 MachineOperand &MO = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()