Lines Matching defs:Incr
217 auto *Incr = dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge));
218 if (Incr == nullptr || Incr->getOpcode() != Instruction::FAdd) return false;
222 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1));
224 if (IncValueVal == nullptr || Incr->getOperand(0) != PN ||
228 // Check Incr uses. One user is PN and the other user is an exit condition
230 Value::user_iterator IncrUse = Incr->user_begin();
232 if (IncrUse == Incr->user_end()) return false;
234 if (IncrUse != Incr->user_end()) return false;
363 Incr->getName() + ".int", Incr->getIterator());
364 NewAdd->setDebugLoc(Incr->getDebugLoc());
383 Incr->replaceAllUsesWith(PoisonValue::get(Incr->getType()));
384 RecursivelyDeleteTriviallyDeadInstructions(Incr, TLI, MSSAU.get());