Searched refs:UsePhi (Results 1 – 3 of 3) sorted by relevance
441 bool UsePhi = UsePHICounter || ForceHardwareLoopPHI; in InsertIterationSetup() local443 ? (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()
1655 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local1656 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()
199 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local200 tryRemoveTrivialPhi(UsePhi); in recursePhi()