Searched refs:DeadInst (Results 1 – 5 of 5) sorted by relevance
156 for (auto DeadInst : DeadRemats) { in postOptimization() local157 LIS->RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()158 DeadInst->eraseFromParent(); in postOptimization()
727 for (auto DeadInst : DeadRemats) { in postOptimization() local728 LIS.RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()729 DeadInst->eraseFromParent(); in postOptimization()
114 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in DeleteDeadInstruction() local120 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()
142 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in deleteDeadInstruction() local146 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()
82 Instruction *DeadInst = NowDeadInsts.pop_back_val(); in deleteDeadInstruction() local88 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()