Searched refs:ReturnBB (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp970 // Update PHI nodes that use the ReturnBB to use the AfterCallBB.
971 BasicBlock *ReturnBB = Returns[0]->getParent(); local
972 ReturnBB->replaceAllUsesWith(AfterCallBB);
977 ReturnBB->getInstList());
982 // Delete the return instruction now and empty ReturnBB now.
984 ReturnBB->eraseFromParent();

Completed in 55 milliseconds