Searched refs:DeadInst (Results 1 – 1 of 1) sorted by relevance
133 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in DeleteDeadInstruction() local139 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() argument512 DeleteDeadInstruction(DeadInst, *MD, *TLI); in runOnBasicBlock()