Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp410 MachineInstr *PrevCopy = in eraseIfRedundant() local
412 if (!PrevCopy) in eraseIfRedundant()
415 auto PrevCopyOperands = isCopyInstr(*PrevCopy, *TII, UseCopyInstr); in eraseIfRedundant()
419 if (!isNopCopy(*PrevCopy, Src, Def, TRI, TII, UseCopyInstr)) in eraseIfRedundant()
433 make_range(PrevCopy->getIterator(), Copy.getIterator())) in eraseIfRedundant()
H A DPeepholeOptimizer.cpp1427 MachineInstr *PrevCopy = CopyMIs.find(SrcPair)->second; in foldRedundantCopy() local
1429 assert(SrcSubReg == PrevCopy->getOperand(1).getSubReg() && in foldRedundantCopy()
1432 Register PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()
1473 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local
1474 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()
1482 Register PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()
1496 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()