Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DHardwareLoops.cpp444 bool UsePhi = UsePHICounter || ForceHardwareLoopPHI; in InsertIterationSetup() local
446 ? (UsePhi ? Intrinsic::test_start_loop_iterations in InsertIterationSetup()
448 : (UsePhi ? Intrinsic::start_loop_iterations in InsertIterationSetup()
460 UsePhi ? Builder.CreateExtractValue(LoopSetup, 1) : LoopSetup; in InsertIterationSetup()
468 if (UsePhi && UseLoopGuard) in InsertIterationSetup()
470 return !UsePhi ? LoopCountInit : LoopSetup; in InsertIterationSetup()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1706 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1707 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
1711 if (UsePhi->getNumOperands() != 1) in widenIVUse()
1717 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
1721 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()
1722 UsePhi); in widenIVUse()
1723 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()
1726 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()
1727 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1728 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp192 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local
193 tryRemoveTrivialPhi(UsePhi); in recursePhi()