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.cpp517 MachineInstr *PrevCopy = in eraseIfRedundant() local
519 if (!PrevCopy) in eraseIfRedundant()
522 auto PrevCopyOperands = isCopyInstr(*PrevCopy, *TII, UseCopyInstr); in eraseIfRedundant()
526 if (!isNopCopy(*PrevCopy, Src, Def, TRI, TII, UseCopyInstr)) in eraseIfRedundant()
540 make_range(PrevCopy->getIterator(), Copy.getIterator())) in eraseIfRedundant()
545 PrevCopy->getOperand(PrevCopyOperands->Source->getOperandNo()) in eraseIfRedundant()
1296 std::optional<DestSourcePair> PrevCopy = in EliminateSpillageCopies() local
1300 if (!PrevCopy || !CurrentCopy) in EliminateSpillageCopies()
1302 return PrevCopy->Source->getReg() == CurrentCopy->Destination->getReg(); in EliminateSpillageCopies()
H A DPeepholeOptimizer.cpp1481 MachineInstr *PrevCopy = CopySrcMIs.find(SrcPair)->second; in foldRedundantCopy() local
1483 assert(SrcPair.SubReg == PrevCopy->getOperand(1).getSubReg() && in foldRedundantCopy()
1486 Register PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()
1527 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local
1528 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()
1536 Register PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()
1550 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()