Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp79 BasicBlock* newReturnBlock = cast<BasicBlock>(VMap[returnBlock]); in unswitchFunction() local
90 BasicBlock* preReturn = newReturnBlock; in unswitchFunction()
91 newReturnBlock = newReturnBlock->splitBasicBlock( in unswitchFunction()
92 newReturnBlock->getFirstNonPHI()); in unswitchFunction()
94 BasicBlock::iterator Ins = newReturnBlock->begin(); in unswitchFunction()
101 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
110 newEntryBlock->getTerminator()->replaceUsesOfWith(preReturn, newReturnBlock); in unswitchFunction()
117 if (&*FI != newEntryBlock && &*FI != newReturnBlock && in unswitchFunction()