Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp96 PHINode* OldPhi = dyn_cast<PHINode>(I); in unswitchFunction() local
97 if (!OldPhi) break; in unswitchFunction()
99 PHINode* retPhi = PHINode::Create(OldPhi->getType(), 2, "", Ins); in unswitchFunction()
100 OldPhi->replaceAllUsesWith(retPhi); in unswitchFunction()
104 retPhi->addIncoming(OldPhi->getIncomingValueForBlock(newEntryBlock), in unswitchFunction()
106 OldPhi->removeIncomingValue(newEntryBlock); in unswitchFunction()