Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp421 PHINode *IndPHI = cast<PHINode>(Indirect); in SplitIndirectBrCriticalEdges() local
432 PHINode *NewIndPHI = PHINode::Create(IndPHI->getType(), 1, "ind", IndPHI); in SplitIndirectBrCriticalEdges()
433 NewIndPHI->addIncoming(IndPHI->getIncomingValueForBlock(IBRPred), in SplitIndirectBrCriticalEdges()
439 PHINode::Create(IndPHI->getType(), 2, "merge", &*MergeInsert); in SplitIndirectBrCriticalEdges()
443 IndPHI->replaceAllUsesWith(MergePHI); in SplitIndirectBrCriticalEdges()
444 IndPHI->eraseFromParent(); in SplitIndirectBrCriticalEdges()