Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp1070 PHINode *OldPhi = dyn_cast<PHINode>(I); in NormalizeReturnBlock() local
1071 if (!OldPhi) in NormalizeReturnBlock()
1075 PHINode::Create(OldPhi->getType(), NumPredsFromEntries + 1, "", Ins); in NormalizeReturnBlock()
1076 OldPhi->replaceAllUsesWith(RetPhi); in NormalizeReturnBlock()
1081 RetPhi->addIncoming(OldPhi->getIncomingValueForBlock(E), E); in NormalizeReturnBlock()
1082 OldPhi->removeIncomingValue(E); in NormalizeReturnBlock()
1089 if (auto *OldPhiVal = IsTrivialPhi(OldPhi)) { in NormalizeReturnBlock()
1090 OldPhi->replaceAllUsesWith(OldPhiVal); in NormalizeReturnBlock()
1091 DeadPhis.push_back(OldPhi); in NormalizeReturnBlock()