Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1502 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1503 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
1507 if (UsePhi->getNumOperands() != 1) in widenIVUse()
1513 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
1517 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()
1518 UsePhi); in widenIVUse()
1519 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()
1522 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()
1523 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1524 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp173 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) { in recursePhi() local
174 auto OperRange = UsePhi->operands(); in recursePhi()
175 tryRemoveTrivialPhi(UsePhi, OperRange); in recursePhi()