Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp988 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in WidenIVUse() local
989 if (LI->getLoopFor(UsePhi->getParent()) != L) { in WidenIVUse()
993 if (UsePhi->getNumOperands() != 1) in WidenIVUse()
997 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in WidenIVUse()
998 UsePhi); in WidenIVUse()
999 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in WidenIVUse()
1002 UsePhi->replaceAllUsesWith(Trunc); in WidenIVUse()
1003 DeadInsts.push_back(UsePhi); in WidenIVUse()
1004 DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi in WidenIVUse()