Searched refs:UsePhi (Results 1 – 2 of 2) sorted by relevance
1549 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local1550 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()1554 if (UsePhi->getNumOperands() != 1) in widenIVUse()1560 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()1564 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()1565 UsePhi); in widenIVUse()1566 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()1569 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()1570 DeadInsts.emplace_back(UsePhi); in widenIVUse()1571 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
197 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local198 tryRemoveTrivialPhi(UsePhi); in recursePhi()