Lines Matching full:increment

41 // linear expressions and other loop components like the loop increment. The
45 // We assume the loops to be canonical, i.e. starting at 0 and increment with
121 // increment by one on each loop.
272 LLVM_DEBUG(dbgs() << "Use is inner loop increment, continuing\n"); in checkInnerInductionPhiUsers()
305 setLoopComponents(Value *&TC, Value *&TripCount, BinaryOperator *&Increment, in setLoopComponents() argument
308 IterationInstructions.insert(Increment); in setLoopComponents()
309 LLVM_DEBUG(dbgs() << "Found Increment: "; Increment->dump()); in setLoopComponents()
323 PHINode *&InductionPHI, Value *&TripCount, BinaryOperator *&Increment, in verifyTripCount() argument
340 return setLoopComponents(RHS, TripCount, Increment, IterationInstructions); in verifyTripCount()
361 return setLoopComponents(NewRHS, TripCount, Increment, in verifyTripCount()
364 return setLoopComponents(RHS, TripCount, Increment, IterationInstructions); in verifyTripCount()
383 return setLoopComponents(RHS, TripCount, Increment, IterationInstructions); in verifyTripCount()
386 // Finds the induction variable, increment and trip count for a simple loop that
390 PHINode *&InductionPHI, Value *&TripCount, BinaryOperator *&Increment, in findLoopComponents() argument
400 // start at zero and increment with a step size of one. in findLoopComponents()
446 // Find increment and trip count. in findLoopComponents()
449 // increment variable. in findLoopComponents()
450 Increment = in findLoopComponents()
452 if ((Compare->getOperand(0) != Increment || !Increment->hasNUses(2)) && in findLoopComponents()
453 !Increment->hasNUses(1)) { in findLoopComponents()
454 LLVM_DEBUG(dbgs() << "Could not find valid increment\n"); in findLoopComponents()
465 Increment, BackBranch, SE, IsWidened); in findLoopComponents()
575 // (increment, compare and branch) will be increased, but the in checkOuterLoopInsts()
673 // before the IV increment wraps, which would be UB. in checkOverflow()
832 // Increment statistic value. in DoFlattenLoopPair()