Home
last modified time | relevance | path

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

/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/lib/Transforms/Scalar/
DDeadStoreElimination.cpp114 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in DeleteDeadInstruction() local
120 MD.removeInstruction(DeadInst); in DeleteDeadInstruction()
122 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) { in DeleteDeadInstruction()
123 Value *Op = DeadInst->getOperand(op); in DeleteDeadInstruction()
124 DeadInst->setOperand(op, 0); in DeleteDeadInstruction()
134 DeadInst->eraseFromParent(); in DeleteDeadInstruction()
136 if (ValueSet) ValueSet->erase(DeadInst); in DeleteDeadInstruction()
DLoopIdiomRecognize.cpp142 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in deleteDeadInstruction() local
146 SE.forgetValue(DeadInst); in deleteDeadInstruction()
148 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) { in deleteDeadInstruction()
149 Value *Op = DeadInst->getOperand(op); in deleteDeadInstruction()
150 DeadInst->setOperand(op, 0); in deleteDeadInstruction()
160 DeadInst->eraseFromParent(); in deleteDeadInstruction()
/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()