HomeSort by relevance Sort by last modified time
    Searched refs:DeadInst (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Scalar/
DeadStoreElimination.cpp 121 Instruction *DeadInst = NowDeadInsts.pop_back_val();
127 MD.removeInstruction(DeadInst);
129 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) {
130 Value *Op = DeadInst->getOperand(op);
131 DeadInst->setOperand(op, 0);
141 DeadInst->eraseFromParent();
143 if (ValueSet) ValueSet->remove(DeadInst);
LoopIdiomRecognize.cpp 239 Instruction *DeadInst = NowDeadInsts.pop_back_val();
243 SE.forgetValue(DeadInst);
245 for (unsigned op = 0, e = DeadInst->getNumOperands(); op != e; ++op) {
246 Value *Op = DeadInst->getOperand(op);
247 DeadInst->setOperand(op, 0);
257 DeadInst->eraseFromParent();
    [all...]

Completed in 1863 milliseconds