Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp697 PHINode *ReplPHI = nullptr; in rewritePHIs() local
702 ReplPHI = PHINode::Create(LandingPad->getType(), 1, "", LandingPad); in rewritePHIs()
703 ReplPHI->takeName(LandingPad); in rewritePHIs()
704 LandingPad->replaceAllUsesWith(ReplPHI); in rewritePHIs()
711 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI); in rewritePHIs()
723 } while (PN != ReplPHI); // ReplPHI is either null or the PHI that replaced in rewritePHIs()