Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp53 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
114 ToDelete.push_back(II); in isOnlyCopiedFromConstantGlobal()
158 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
160 if (isOnlyCopiedFromConstantGlobal(AI, TheCopy, ToDelete)) in isOnlyCopiedFromConstantGlobal()
268 SmallVector<Instruction *, 4> ToDelete; in visitAllocaInst() local
269 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()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2033 SmallVector<MachineInstr *, 4> ToDelete; in processBlock() local
2040 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()