Searched refs:NewBB2 (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 827 BasicBlock *NewBB2 = nullptr; in SplitLandingPadPredecessors() local 830 NewBB2 = BasicBlock::Create(OrigBB->getContext(), in SplitLandingPadPredecessors() 833 NewBBs.push_back(NewBB2); in SplitLandingPadPredecessors() 836 BranchInst *BI2 = BranchInst::Create(OrigBB, NewBB2); in SplitLandingPadPredecessors() 841 NewBB2Pred->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessors() 845 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, DT, LI, MSSAU, in SplitLandingPadPredecessors() 849 UpdatePHINodes(OrigBB, NewBB2, NewBB2Preds, BI2, HasLoopExit); in SplitLandingPadPredecessors() 857 if (NewBB2) { in SplitLandingPadPredecessors() 860 NewBB2->getInstList().insert(NewBB2->getFirstInsertionPt(), Clone2); in SplitLandingPadPredecessors() 870 PN->addIncoming(Clone2, NewBB2); in SplitLandingPadPredecessors()
|