Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp409 MachineInstr *PrevCopy = in eraseIfRedundant() local
411 if (!PrevCopy) in eraseIfRedundant()
414 auto PrevCopyOperands = isCopyInstr(*PrevCopy, *TII, UseCopyInstr); in eraseIfRedundant()
418 if (!isNopCopy(*PrevCopy, Src, Def, TRI, TII, UseCopyInstr)) in eraseIfRedundant()
431 make_range(PrevCopy->getIterator(), Copy.getIterator())) in eraseIfRedundant()
H A DPeepholeOptimizer.cpp1429 MachineInstr *PrevCopy = CopyMIs.find(SrcPair)->second; in foldRedundantCopy() local
1431 assert(SrcSubReg == PrevCopy->getOperand(1).getSubReg() && in foldRedundantCopy()
1434 Register PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()
1475 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local
1476 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()
1484 Register PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()
1498 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()