Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp746 unsigned CurrentSrcIdx; member in __anond69149540211::CopyRewriter
749 CopyRewriter(MachineInstr &MI) : CopyLike(MI), CurrentSrcIdx(0) {} in CopyRewriter()
784 if (!CopyLike.isCopy() || CurrentSrcIdx == 1) in getNextRewritableSource()
788 CurrentSrcIdx = 1; in getNextRewritableSource()
804 if (!CopyLike.isCopy() || CurrentSrcIdx != 1) in RewriteCurrentSource()
806 MachineOperand &MOSrc = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
904 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
907 while (CopyLike.getOperand(CurrentSrcIdx).isDead()) { in getNextRewritableSource()
908 ++CurrentSrcIdx; in getNextRewritableSource()
909 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp790 unsigned CurrentSrcIdx = 0; ///< The index of the source being rewritten. member in __anon5d64f7ac0211::Rewriter
839 if (CurrentSrcIdx > 0) in getNextRewritableSource()
843 CurrentSrcIdx = 1; in getNextRewritableSource()
854 if (CurrentSrcIdx != 1) in RewriteCurrentSource()
856 MachineOperand &MOSrc = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
880 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
883 while (CopyLike.getOperand(CurrentSrcIdx).isDead()) { in getNextRewritableSource()
884 ++CurrentSrcIdx; in getNextRewritableSource()
885 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
891 const MachineOperand &MODef = CopyLike.getOperand(CurrentSrcIdx); in getNextRewritableSource()
[all …]