Home
last modified time | relevance | path

Searched refs:DeadInst (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocBase.cpp167 for (auto DeadInst : DeadRemats) { in postOptimization() local
168 LIS->RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()
169 DeadInst->eraseFromParent(); in postOptimization()
DRegAllocPBQP.cpp775 for (auto DeadInst : DeadRemats) { in postOptimization() local
776 LIS.RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()
777 DeadInst->eraseFromParent(); in postOptimization()
/external/llvm/lib/CodeGen/
DRegAllocBase.cpp156 for (auto DeadInst : DeadRemats) { in postOptimization() local
157 LIS->RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()
158 DeadInst->eraseFromParent(); in postOptimization()
DRegAllocPBQP.cpp727 for (auto DeadInst : DeadRemats) { in postOptimization() local
728 LIS.RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()
729 DeadInst->eraseFromParent(); in postOptimization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp117 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in deleteDeadInstruction() local
119 auto It = ThrowableInst.find(DeadInst); in deleteDeadInstruction()
125 salvageDebugInfo(*DeadInst); in deleteDeadInstruction()
130 MD.removeInstruction(DeadInst); in deleteDeadInstruction()
132 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) { in deleteDeadInstruction()
133 Value *Op = DeadInst->getOperand(op); in deleteDeadInstruction()
134 DeadInst->setOperand(op, nullptr); in deleteDeadInstruction()
144 if (ValueSet) ValueSet->remove(DeadInst); in deleteDeadInstruction()
145 IOL.erase(DeadInst); in deleteDeadInstruction()
146 OBB.eraseInstruction(DeadInst); in deleteDeadInstruction()
[all …]
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp82 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in deleteDeadInstruction() local
88 MD.removeInstruction(DeadInst); in deleteDeadInstruction()
90 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) { in deleteDeadInstruction()
91 Value *Op = DeadInst->getOperand(op); in deleteDeadInstruction()
92 DeadInst->setOperand(op, nullptr); in deleteDeadInstruction()
103 if (NewIter == DeadInst->getIterator()) in deleteDeadInstruction()
104 NewIter = DeadInst->eraseFromParent(); in deleteDeadInstruction()
106 DeadInst->eraseFromParent(); in deleteDeadInstruction()
108 if (ValueSet) ValueSet->remove(DeadInst); in deleteDeadInstruction()