Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp665 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() local
666 if (!IncI) in getLoopPhiForCounter()
669 switch (IncI->getOpcode()) { in getLoopPhiForCounter()
675 if (IncI->getNumOperands() == 2) in getLoopPhiForCounter()
682 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter()
684 if (L->isLoopInvariant(IncI->getOperand(1))) in getLoopPhiForCounter()
688 if (IncI->getOpcode() == Instruction::GetElementPtr) in getLoopPhiForCounter()
692 Phi = dyn_cast<PHINode>(IncI->getOperand(1)); in getLoopPhiForCounter()
694 if (L->isLoopInvariant(IncI->getOperand(0))) in getLoopPhiForCounter()
H A DLoopInterchange.cpp1461 auto IncI = cast<Instruction>(P.getIncomingValueForBlock(InnerLatch)); in moveLCSSAPhis() local
1464 auto IncIInnerMost = cast<Instruction>(followLCSSA(IncI)); in moveLCSSAPhis()
1472 [OuterHeader, OuterExit, IncI, InnerHeader](User *U) { in moveLCSSAPhis()
1474 IncI->getParent() == InnerHeader) || in moveLCSSAPhis()
1480 P.replaceAllUsesWith(IncI); in moveLCSSAPhis()