Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp599 MachineInstr *PrevCopy = in eraseIfRedundant() local
601 if (!PrevCopy) in eraseIfRedundant()
604 auto PrevCopyOperands = isCopyInstr(*PrevCopy, *TII, UseCopyInstr); in eraseIfRedundant()
608 if (!isNopCopy(*PrevCopy, Src, Def, TRI, TII, UseCopyInstr)) in eraseIfRedundant()
622 make_range(PrevCopy->getIterator(), Copy.getIterator())) in eraseIfRedundant()
627 PrevCopy->getOperand(PrevCopyOperands->Source->getOperandNo()) in eraseIfRedundant()
1415 std::optional<DestSourcePair> PrevCopy = in EliminateSpillageCopies() local
1419 if (!PrevCopy || !CurrentCopy) in EliminateSpillageCopies()
1421 return PrevCopy->Source->getReg() == CurrentCopy->Destination->getReg(); in EliminateSpillageCopies()
H A DPeepholeOptimizer.cpp1469 MachineInstr *PrevCopy = CopySrcMIs.find(SrcPair)->second; in foldRedundantCopy() local
1471 assert(SrcPair.SubReg == PrevCopy->getOperand(1).getSubReg() && in foldRedundantCopy()
1474 Register PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()
1515 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local
1516 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()
1524 Register PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()
1538 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()