Home
last modified time | relevance | path

Searched refs:CurrentSrcIdx (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp747 unsigned CurrentSrcIdx; member in __anon2734e12b0211::CopyRewriter
750 CopyRewriter(MachineInstr &MI) : CopyLike(MI), CurrentSrcIdx(0) {} in CopyRewriter()
785 if (!CopyLike.isCopy() || CurrentSrcIdx == 1) in getNextRewritableSource()
789 CurrentSrcIdx = 1; in getNextRewritableSource()
805 if (!CopyLike.isCopy() || CurrentSrcIdx != 1) in RewriteCurrentSource()
807 MachineOperand &MOSrc = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
905 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
908 while (CopyLike.getOperand(CurrentSrcIdx).isDead()) { in getNextRewritableSource()
909 ++CurrentSrcIdx; in getNextRewritableSource()
910 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
[all …]