Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp85 BasicBlock* newReturnBlock = cast<BasicBlock>(VMap[returnBlock]); in unswitchFunction() local
96 BasicBlock* preReturn = newReturnBlock; in unswitchFunction()
97 newReturnBlock = newReturnBlock->splitBasicBlock( in unswitchFunction()
98 newReturnBlock->getFirstNonPHI()->getIterator()); in unswitchFunction()
100 Instruction *Ins = &newReturnBlock->front(); in unswitchFunction()
107 Ins = newReturnBlock->getFirstNonPHI(); 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.cpp78 BasicBlock* newReturnBlock = cast<BasicBlock>(VMap[returnBlock]); in unswitchFunction() local
89 BasicBlock* preReturn = newReturnBlock; in unswitchFunction()
90 newReturnBlock = newReturnBlock->splitBasicBlock( in unswitchFunction()
91 newReturnBlock->getFirstNonPHI()); in unswitchFunction()
93 BasicBlock::iterator Ins = newReturnBlock->begin(); in unswitchFunction()
100 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
109 newEntryBlock->getTerminator()->replaceUsesOfWith(preReturn, newReturnBlock); in unswitchFunction()
116 if (&*FI != newEntryBlock && &*FI != newReturnBlock && in unswitchFunction()
/external/r8/src/test/java/com/android/tools/r8/ir/
DSplitBlockTest.java356 BasicBlock newReturnBlock = originalReturnBlock.listIterator().split(code); in splitBeforeReturn() local
360 Value oldReturnValue = newReturnBlock.listIterator().next().asReturn().returnValue(); in splitBeforeReturn()
361 newReturnBlock.listIterator().next().asReturn().returnValue().replaceUsers(newReturnValue); in splitBeforeReturn()