Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp441 bool UsePhi = UsePHICounter || ForceHardwareLoopPHI; in InsertIterationSetup() local
443 ? (UsePhi ? Intrinsic::test_start_loop_iterations in InsertIterationSetup()
445 : (UsePhi ? Intrinsic::start_loop_iterations in InsertIterationSetup()
457 UsePhi ? Builder.CreateExtractValue(LoopSetup, 1) : LoopSetup; in InsertIterationSetup()
465 if (UsePhi && UseLoopGuard) in InsertIterationSetup()
467 return !UsePhi ? LoopCountInit : LoopSetup; in InsertIterationSetup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1655 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1656 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
1660 if (UsePhi->getNumOperands() != 1) in widenIVUse()
1666 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
1670 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()
1671 UsePhi); in widenIVUse()
1672 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()
1675 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()
1676 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1677 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp199 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local
200 tryRemoveTrivialPhi(UsePhi); in recursePhi()