Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1549 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1550 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp197 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local
198 tryRemoveTrivialPhi(UsePhi); in recursePhi()