Lines Matching refs:IndUpdate
4381 auto *IndUpdate = cast<Instruction>(Ind->getIncomingValueForBlock(Latch)); in collectLoopScalars() local
4402 return I == IndUpdate || !TheLoop->contains(I) || Worklist.count(I) || in collectLoopScalars()
4411 llvm::all_of(IndUpdate->users(), [&](User *U) -> bool { in collectLoopScalars()
4414 IsDirectLoadStoreFromPtrIndvar(IndUpdate, I); in collectLoopScalars()
4421 Worklist.insert(IndUpdate); in collectLoopScalars()
4423 LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *IndUpdate in collectLoopScalars()
4738 auto *IndUpdate = cast<Instruction>(Ind->getIncomingValueForBlock(Latch)); in collectLoopUniforms() local
4744 return I == IndUpdate || !TheLoop->contains(I) || Worklist.count(I) || in collectLoopUniforms()
4753 llvm::all_of(IndUpdate->users(), [&](User *U) -> bool { in collectLoopUniforms()
4756 isVectorizedMemAccessUse(I, IndUpdate); in collectLoopUniforms()
4763 addToWorklistIfAllowed(IndUpdate); in collectLoopUniforms()