Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp744 MachineInstr &CopyLike; member in __anond69149540211::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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp254 MachineInstr &rewriteSource(MachineInstr &CopyLike,
789 MachineInstr &CopyLike; member in __anon5d64f7ac0211::Rewriter
792 Rewriter(MachineInstr &CopyLike) : CopyLike(CopyLike) {} in Rewriter() argument
845 const MachineOperand &MOSrc = CopyLike.getOperand(1); in getNextRewritableSource()
848 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
856 MachineOperand &MOSrc = CopyLike.getOperand(CurrentSrcIdx); in RewriteCurrentSource()
883 while (CopyLike.getOperand(CurrentSrcIdx).isDead()) { in getNextRewritableSource()
891 const MachineOperand &MODef = CopyLike.getOperand(CurrentSrcIdx); in getNextRewritableSource()
928 const MachineOperand &MOInsertedReg = CopyLike.getOperand(2); in getNextRewritableSource()
930 const MachineOperand &MODef = CopyLike.getOperand(0); in getNextRewritableSource()
[all …]