Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1255 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1256 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
1260 if (UsePhi->getNumOperands() != 1) in widenIVUse()
1266 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
1270 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()
1271 UsePhi); in widenIVUse()
1272 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()
1275 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()
1276 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1277 DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi in widenIVUse()