Home
last modified time | relevance | path

Searched refs:OuterPHI (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp507 PHINode *OuterPHI = dyn_cast<PHINode>(PreHeaderValue); in checkPHIs() local
508 if (!OuterPHI || OuterPHI->getParent() != FI.OuterLoop->getHeader()) { in checkPHIs()
518 OuterPHI->getIncomingValueForBlock(FI.OuterLoop->getLoopLatch())); in checkPHIs()
534 LLVM_DEBUG(dbgs() << " Outer: "; OuterPHI->dump()); in checkPHIs()
535 SafeOuterPHIs.insert(OuterPHI); in checkPHIs()
539 for (PHINode &OuterPHI : FI.OuterLoop->getHeader()->phis()) { in checkPHIs()
540 if (FI.isNarrowInductionPhi(&OuterPHI)) in checkPHIs()
542 if (!SafeOuterPHIs.count(&OuterPHI)) { in checkPHIs()
543 LLVM_DEBUG(dbgs() << "found unsafe PHI in outer loop: "; OuterPHI.dump()); in checkPHIs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp199 PHINode *OuterPHI = cast<PHINode>(I); in getInnerResumeDest() local
200 PHINode *InnerPHI = PHINode::Create(OuterPHI->getType(), PHICapacity, in getInnerResumeDest()
201 OuterPHI->getName() + ".lpad-body"); in getInnerResumeDest()
203 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest()
204 InnerPHI->addIncoming(OuterPHI, OuterResumeDest); in getInnerResumeDest()