• Home
  • Raw
  • Download

Lines Matching refs:PHINode

105     void HandleFloatingPointIV(Loop *L, PHINode *PH);
113 PHINode *IndVar, SCEVExpander &Rewriter);
192 PHINode *PHI = dyn_cast<PHINode>(User); in getInsertPointForUses()
241 void IndVarSimplify::HandleFloatingPointIV(Loop *L, PHINode *PN) { in HandleFloatingPointIV()
396 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in HandleFloatingPointIV()
448 PHINode *PN = dyn_cast<PHINode>(I); ++I) in RewriteNonIntegerIVs()
452 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) in RewriteNonIntegerIVs()
492 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin()); in RewriteLoopExitValues()
499 while ((PN = dyn_cast<PHINode>(BBI++))) { in RewriteLoopExitValues()
568 PHINode *NewPN = cast<PHINode>(PN->clone()); in RewriteLoopExitValues()
591 PHINode *NarrowIV;
605 WideIVVisitor(PHINode *NarrowIV, ScalarEvolution *SCEV, in WideIVVisitor()
664 PHINode *OrigPhi;
675 PHINode *WidePhi;
701 PHINode *CreateWideIV(SCEVExpander &Rewriter);
859 if (isa<PHINode>(DU.NarrowUse) && in WidenIVUse()
972 PHINode *WidenIV::CreateWideIV(SCEVExpander &Rewriter) { in CreateWideIV()
1003 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in CreateWideIV()
1058 SmallVector<PHINode*, 8> LoopPhis; in SimplifyAndExtend()
1059 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) { in SimplifyAndExtend()
1060 LoopPhis.push_back(cast<PHINode>(I)); in SimplifyAndExtend()
1074 PHINode *CurrIV = LoopPhis.pop_back_val(); in SimplifyAndExtend()
1088 if (PHINode *WidePhi = Widener.CreateWideIV(Rewriter)) { in SimplifyAndExtend()
1185 static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L, DominatorTree *DT) { in getLoopPhiForCounter()
1202 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter()
1212 Phi = dyn_cast<PHINode>(IncI->getOperand(1)); in getLoopPhiForCounter()
1257 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR()
1318 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) { in AlmostDeadIV()
1347 static PHINode *
1356 PHINode *BestPhi = 0; in FindLoopCounter()
1361 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) { in FindLoopCounter()
1362 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter()
1430 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit()
1512 PHINode *IndVar, in LinearFunctionTestReplace()
1616 if (isa<PHINode>(I)) in SinkUnusedInvariants()
1650 if (PHINode *P = dyn_cast<PHINode>(U)) { in SinkUnusedInvariants()
1652 PHINode::getIncomingValueNumForOperand(UI.getOperandNo()); in SinkUnusedInvariants()
1748 PHINode *IndVar = FindLoopCounter(L, BackedgeTakenCount, SE, DT, TD); in runOnLoop()