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.cpp509 bool UsePhi = UsePHICounter || Opts.ForcePhi; in InsertIterationSetup() local
511 ? (UsePhi ? Intrinsic::test_start_loop_iterations in InsertIterationSetup()
513 : (UsePhi ? Intrinsic::start_loop_iterations in InsertIterationSetup()
525 UsePhi ? Builder.CreateExtractValue(LoopSetup, 1) : LoopSetup; in InsertIterationSetup()
533 if (UsePhi && UseLoopGuard) in InsertIterationSetup()
535 return !UsePhi ? LoopCountInit : LoopSetup; in InsertIterationSetup()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1849 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local
1850 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
1854 if (UsePhi->getNumOperands() != 1) in widenIVUse()
1860 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
1864 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse()
1865 UsePhi->getIterator()); in widenIVUse()
1866 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse()
1871 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse()
1872 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1873 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()