Lines Matching refs:Ind
4273 auto *Ind = Induction.first; in collectLoopScalars() local
4274 auto *IndUpdate = cast<Instruction>(Ind->getIncomingValueForBlock(Latch)); in collectLoopScalars()
4277 Worklist.insert(Ind); in collectLoopScalars()
4279 LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Ind << "\n"); in collectLoopScalars()
4316 auto *Ind = Induction.first; in collectLoopScalars() local
4317 auto *IndUpdate = cast<Instruction>(Ind->getIncomingValueForBlock(Latch)); in collectLoopScalars()
4329 auto ScalarInd = llvm::all_of(Ind->users(), [&](User *U) -> bool { in collectLoopScalars()
4341 return I == Ind || !TheLoop->contains(I) || Worklist.count(I); in collectLoopScalars()
4347 Worklist.insert(Ind); in collectLoopScalars()
4349 LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Ind << "\n"); in collectLoopScalars()
4589 auto *Ind = Induction.first; in collectLoopUniforms() local
4590 auto *IndUpdate = cast<Instruction>(Ind->getIncomingValueForBlock(Latch)); in collectLoopUniforms()
4594 auto UniformInd = llvm::all_of(Ind->users(), [&](User *U) -> bool { in collectLoopUniforms()
4597 isVectorizedMemAccessUse(I, Ind); in collectLoopUniforms()
4607 return I == Ind || !TheLoop->contains(I) || Worklist.count(I) || in collectLoopUniforms()
4614 Worklist.insert(Ind); in collectLoopUniforms()
4616 LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *Ind << "\n"); in collectLoopUniforms()
6214 PHINode *Ind = Induction.first; in collectTriviallyDeadInstructions() local
6215 auto *IndUpdate = cast<Instruction>(Ind->getIncomingValueForBlock(Latch)); in collectTriviallyDeadInstructions()
6217 return U == Ind || DeadInstructions.find(cast<Instruction>(U)) != in collectTriviallyDeadInstructions()