Searched refs:newReturnBlock (Results 1 – 3 of 3) sorted by relevance
85 BasicBlock* newReturnBlock = cast<BasicBlock>(VMap[returnBlock]); in unswitchFunction() local96 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()
78 BasicBlock* newReturnBlock = cast<BasicBlock>(VMap[returnBlock]); in unswitchFunction() local89 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()
356 BasicBlock newReturnBlock = originalReturnBlock.listIterator().split(code); in splitBeforeReturn() local360 Value oldReturnValue = newReturnBlock.listIterator().next().asReturn().returnValue(); in splitBeforeReturn()361 newReturnBlock.listIterator().next().asReturn().returnValue().replaceUsers(newReturnValue); in splitBeforeReturn()