Searched refs:PrevCopy (Results 1 – 4 of 4) sorted by relevance
227 MachineInstr &PrevCopy = *CI->second; in eraseIfRedundant() local228 if (PrevCopy.getOperand(0).isDead()) in eraseIfRedundant()230 if (!isNopCopy(PrevCopy, Src, Def, TRI)) in eraseIfRedundant()241 make_range(PrevCopy.getIterator(), Copy.getIterator())) in eraseIfRedundant()
1411 MachineInstr *PrevCopy = CopyMIs.find(SrcReg)->second; in foldRedundantCopy() local1414 unsigned PrevSrcSubReg = PrevCopy->getOperand(1).getSubReg(); in foldRedundantCopy()1420 unsigned PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()1462 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local1463 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()1471 unsigned PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()1485 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()
159 MachineInstr &PrevCopy = *CI->second; in eraseIfRedundant() local160 if (!isNopCopy(PrevCopy, Src, Def, TRI)) in eraseIfRedundant()171 make_range(PrevCopy.getIterator(), Copy.getIterator())) in eraseIfRedundant()
1395 MachineInstr *PrevCopy = CopyMIs.find(SrcReg)->second; in foldRedundantCopy() local1398 unsigned PrevSrcSubReg = PrevCopy->getOperand(1).getSubReg(); in foldRedundantCopy()1404 unsigned PrevDstReg = PrevCopy->getOperand(0).getReg(); in foldRedundantCopy()1446 auto PrevCopy = NAPhysToVirtMIs.find(DstReg); in foldRedundantNAPhysCopy() local1447 if (PrevCopy == NAPhysToVirtMIs.end()) { in foldRedundantNAPhysCopy()1455 unsigned PrevDstReg = PrevCopy->second->getOperand(0).getReg(); in foldRedundantNAPhysCopy()1469 NAPhysToVirtMIs.erase(PrevCopy); in foldRedundantNAPhysCopy()