Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp507 bool UsePhi = UsePHICounter || Opts.ForcePhi; in InsertIterationSetup() local
509 ? (UsePhi ? Intrinsic::test_start_loop_iterations in InsertIterationSetup()
511 : (UsePhi ? Intrinsic::start_loop_iterations in InsertIterationSetup()
523 UsePhi ? Builder.CreateExtractValue(LoopSetup, 1) : LoopSetup; in InsertIterationSetup()
531 if (UsePhi && UseLoopGuard) in InsertIterationSetup()
533 return !UsePhi ? LoopCountInit : LoopSetup; in InsertIterationSetup()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1739 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1740 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
1744 if (UsePhi->getNumOperands() != 1) in widenIVUse()
1750 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
1754 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()
1755 UsePhi); in widenIVUse()
1756 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()
1760 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()
1761 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1762 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp192 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local
193 tryRemoveTrivialPhi(UsePhi); in recursePhi()