Home
last modified time | relevance | path

Searched refs:InductionPHI (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp1355 PHINode *InductionPHI = getInductionVariable(InnerLoop, SE); in transform() local
1356 if (!InductionPHI) { in transform()
1361 if (InductionPHI->getIncomingBlock(0) == InnerLoopPreHeader) in transform()
1362 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(1)); in transform()
1364 InnerIndexVar = dyn_cast<Instruction>(InductionPHI->getIncomingValue(0)); in transform()
1367 if (&InductionPHI->getParent()->front() != InductionPHI) in transform()
1368 InductionPHI->moveBefore(&InductionPHI->getParent()->front()); in transform()
1380 auto MoveInstructions = [&i, &WorkList, this, InductionPHI, NewLatch]() { in transform()
1392 UserI->getParent() == NewLatch || UserI == InductionPHI) in transform()
1401 OpI == InductionPHI) in transform()
H A DLoopFlatten.cpp100 PHINode *&InductionPHI, Value *&TripCount, BinaryOperator *&Increment, in findLoopComponents() argument
127 InductionPHI = L->getInductionVariable(*SE); in findLoopComponents()
128 if (!InductionPHI) { in findLoopComponents()
132 LLVM_DEBUG(dbgs() << "Found induction PHI: "; InductionPHI->dump()); in findLoopComponents()
161 dyn_cast<BinaryOperator>(InductionPHI->getIncomingValueForBlock(Latch)); in findLoopComponents()