Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp133 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in DeleteDeadInstruction() local
139 MD.removeInstruction(DeadInst); in DeleteDeadInstruction()
141 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) { in DeleteDeadInstruction()
142 Value *Op = DeadInst->getOperand(op); in DeleteDeadInstruction()
143 DeadInst->setOperand(op, nullptr); in DeleteDeadInstruction()
153 DeadInst->eraseFromParent(); in DeleteDeadInstruction()
155 if (ValueSet) ValueSet->remove(DeadInst); in DeleteDeadInstruction()
507 auto RemoveDeadInstAndUpdateBBI = [&](Instruction *DeadInst) { in runOnBasicBlock() argument
512 DeleteDeadInstruction(DeadInst, *MD, *TLI); in runOnBasicBlock()