Home
last modified time | relevance | path

Searched refs:toErase (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/
Dcopy_removal.cc50 SmallPtrSet<Operation *, 16> toErase; in removeCopy() local
87 if (!checkDominance(copyOp, copyTarget.getUsers(), toErase)) continue; in removeCopy()
95 toErase.insert(lastOp); in removeCopy()
102 toErase.insert(copyOp); in removeCopy()
105 for (auto *eraseOp : toErase) eraseOp->erase(); in removeCopy()
/external/llvm/lib/CodeGen/
DStackSlotColoring.cpp378 SmallVector<MachineInstr*, 4> toErase; in RemoveDeadStores() local
390 toErase.push_back(&*I); in RemoveDeadStores()
410 toErase.push_back(&*I); in RemoveDeadStores()
413 toErase.push_back(&*NextMI); in RemoveDeadStores()
417 for (SmallVectorImpl<MachineInstr *>::iterator I = toErase.begin(), in RemoveDeadStores()
418 E = toErase.end(); I != E; ++I) in RemoveDeadStores()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackSlotColoring.cpp428 SmallVector<MachineInstr*, 4> toErase; in RemoveDeadStores() local
439 toErase.push_back(&*I); in RemoveDeadStores()
469 toErase.push_back(&*ProbableLoadMI); in RemoveDeadStores()
472 toErase.push_back(&*NextMI); in RemoveDeadStores()
476 for (SmallVectorImpl<MachineInstr *>::iterator I = toErase.begin(), in RemoveDeadStores()
477 E = toErase.end(); I != E; ++I) in RemoveDeadStores()