Searched refs:UsePhi (Results 1 – 3 of 3) sorted by relevance
509 bool UsePhi = UsePHICounter || Opts.ForcePhi; in InsertIterationSetup() local511 ? (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()
1849 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local1850 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()
192 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local 193 tryRemoveTrivialPhi(UsePhi); in recursePhi()