Searched refs:ToDelete (Results 1 – 2 of 2) sorted by relevance
53 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument114 ToDelete.push_back(II); in isOnlyCopiedFromConstantGlobal()158 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument160 if (isOnlyCopiedFromConstantGlobal(AI, TheCopy, ToDelete)) in isOnlyCopiedFromConstantGlobal()268 SmallVector<Instruction *, 4> ToDelete; in visitAllocaInst() local269 if (MemTransferInst *Copy = isOnlyCopiedFromConstantGlobal(&AI, ToDelete)) { in visitAllocaInst()275 for (unsigned i = 0, e = ToDelete.size(); i != e; ++i) in visitAllocaInst()276 EraseInstFromFunction(*ToDelete[i]); in visitAllocaInst()
2033 SmallVector<MachineInstr *, 4> ToDelete; in processBlock() local2040 ToDelete.push_back(MI); in processBlock()2043 if (!ToDelete.empty()) in processBlock()2046 for (unsigned i = 0, ie = ToDelete.size(); i != ie; ++i) { in processBlock()2047 DEBUG(dbgs() << "Removing VSX self-copy: " << *ToDelete[i]); in processBlock()2048 ToDelete[i]->eraseFromParent(); in processBlock()