Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp1196 std::unique_ptr<CopyRewriter> CpyRewriter(getCopyRewriter(*MI, *TII, *MRI)); in optimizeCoalescableCopy() local
1198 if (!CpyRewriter) in optimizeCoalescableCopy()
1202 while (CpyRewriter->getNextRewritableSource(SrcReg, SrcSubReg, TrackReg, in optimizeCoalescableCopy()
1214 TargetInstrInfo::RegSubRegPair NewSrc = CpyRewriter->getNewSource( in optimizeCoalescableCopy()
1220 if (CpyRewriter->RewriteCurrentSource(NewSrc.Reg, NewSrc.SubReg)) { in optimizeCoalescableCopy()
1253 std::unique_ptr<CopyRewriter> CpyRewriter(getCopyRewriter(*MI, *TII, *MRI)); in optimizeUncoalescableCopy() local
1255 if (!CpyRewriter) in optimizeUncoalescableCopy()
1263 while (CpyRewriter->getNextRewritableSource(Reg, SubReg, CopyDefReg, in optimizeUncoalescableCopy()
1282 MachineInstr *NewCopy = CpyRewriter->RewriteSource(Def, RewriteMap); in optimizeUncoalescableCopy()