Lines Matching refs:PHINode
301 static PHINode *getInductionVariable(Loop *L, ScalarEvolution *SE) { in getInductionVariable()
302 PHINode *InnerIndexVar = L->getCanonicalInductionVariable(); in getInductionVariable()
307 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) { in getInductionVariable()
308 PHINode *PhiVar = cast<PHINode>(I); in getInductionVariable()
342 bool isLoopStructureUnderstood(PHINode *InnerInductionVar);
354 SmallVector<PHINode *, 8> &Inductions,
355 SmallVector<PHINode *, 8> &Reductions);
542 if (isa<PHINode>(LoopNestExit->begin())) { in processLoopList()
603 PHINode *UserIns = dyn_cast<PHINode>(U); in areAllUsesReductions()
629 PHINode *PHI = dyn_cast<PHINode>(L->getOperand(0)); in containsUnsafeInstructionsInLatch()
673 PHINode *InnerInduction) { in isLoopStructureUnderstood()
687 unsigned IncomBlockIndx = PHINode::getIncomingValueNumForOperand(i); in isLoopStructureUnderstood()
698 Loop *L, SmallVector<PHINode *, 8> &Inductions, in findInductionAndReductions() argument
699 SmallVector<PHINode *, 8> &Reductions) { in findInductionAndReductions()
702 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) { in findInductionAndReductions()
705 PHINode *PHI = cast<PHINode>(I); in findInductionAndReductions()
720 for (auto I = Block->begin(); isa<PHINode>(I); ++I) { in containsSafePHI()
721 PHINode *PHI = cast<PHINode>(I); in containsSafePHI()
730 if (!isa<PHINode>(Ins) && isOuterLoopExitBlock) in containsSafePHI()
760 PHINode *InnerInductionVar; in currentLimitations()
761 SmallVector<PHINode *, 8> Inductions; in currentLimitations()
762 SmallVector<PHINode *, 8> Reductions; in currentLimitations()
870 isa<PHINode>(OuterLoopPreHeader->begin()) || in canInterchangeLoops()
1033 PHINode *InductionPHI = getInductionVariable(InnerLoop, SE); in transform()
1087 SmallVector<PHINode *, 8> PHIVec; in splitInnerLoopHeader()
1088 for (auto I = New->begin(); isa<PHINode>(I); ++I) { in splitInnerLoopHeader()
1089 PHINode *PHI = dyn_cast<PHINode>(I); in splitInnerLoopHeader()
1094 for (PHINode *P : PHIVec) { in splitInnerLoopHeader()
1118 for (auto I = CurrBlock->begin(); isa<PHINode>(I); ++I) { in updateIncomingBlock()
1119 PHINode *PHI = cast<PHINode>(I); in updateIncomingBlock()
1206 SmallVector<PHINode *, 8> LcssaVec; in adjustLoopBranches()
1207 for (auto I = InnerLoopLatchSuccessor->begin(); isa<PHINode>(I); ++I) { in adjustLoopBranches()
1208 PHINode *LcssaPhi = cast<PHINode>(I); in adjustLoopBranches()
1211 for (PHINode *P : LcssaVec) { in adjustLoopBranches()