Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp499 MachineInstr *PrevCopy = in eraseIfRedundant() local
501 if (!PrevCopy) in eraseIfRedundant()
504 auto PrevCopyOperands = isCopyInstr(*PrevCopy, *TII, UseCopyInstr); in eraseIfRedundant()
508 if (!isNopCopy(*PrevCopy, Src, Def, TRI, TII, UseCopyInstr)) in eraseIfRedundant()
522 make_range(PrevCopy->getIterator(), Copy.getIterator())) in eraseIfRedundant()
527 PrevCopy->getOperand(PrevCopyOperands->Source->getOperandNo()) in eraseIfRedundant()
1272 std::optional<DestSourcePair> PrevCopy = in EliminateSpillageCopies() local
1276 if (!PrevCopy || !CurrentCopy) in EliminateSpillageCopies()
1278 return PrevCopy->Source->getReg() == CurrentCopy->Destination->getReg(); in EliminateSpillageCopies()
H A DPeepholeOptimizer.cpp1482 MachineInstr *PrevCopy = CopySrcMIs.find(SrcPair)->second; in foldRedundantCopy() local
1484 assert(SrcPair.SubReg == PrevCopy->getOperand(1).getSubReg() && in foldRedundantCopy()
1487 Register PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()
1528 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local
1529 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()
1537 Register PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()
1551 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()