Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp84 BasicBlock* newEntryBlock = cast<BasicBlock>(VMap[entryBlock]); in unswitchFunction() local
110 retPhi->addIncoming(OldPhi->getIncomingValueForBlock(newEntryBlock), in unswitchFunction()
111 newEntryBlock); in unswitchFunction()
112 OldPhi->removeIncomingValue(newEntryBlock); in unswitchFunction()
116 newEntryBlock->getTerminator()->replaceUsesOfWith(preReturn, newReturnBlock); in unswitchFunction()
122 if (&BB != newEntryBlock && &BB != newReturnBlock && in unswitchFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPartialInlining.cpp77 BasicBlock* newEntryBlock = cast<BasicBlock>(VMap[entryBlock]); in unswitchFunction() local
103 retPhi->addIncoming(OldPhi->getIncomingValueForBlock(newEntryBlock), in unswitchFunction()
104 newEntryBlock); in unswitchFunction()
105 OldPhi->removeIncomingValue(newEntryBlock); in unswitchFunction()
109 newEntryBlock->getTerminator()->replaceUsesOfWith(preReturn, newReturnBlock); in unswitchFunction()
116 if (&*FI != newEntryBlock && &*FI != newReturnBlock && in unswitchFunction()