Searched refs:NewBB2 (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 557 BasicBlock *NewBB2 = 0; in SplitLandingPadPredecessors() local 560 NewBB2 = BasicBlock::Create(OrigBB->getContext(), in SplitLandingPadPredecessors() 563 NewBBs.push_back(NewBB2); in SplitLandingPadPredecessors() 566 BranchInst *BI2 = BranchInst::Create(OrigBB, NewBB2); in SplitLandingPadPredecessors() 571 (*i)->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessors() 575 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, P, HasLoopExit); in SplitLandingPadPredecessors() 578 UpdatePHINodes(OrigBB, NewBB2, NewBB2Preds, BI2, P, HasLoopExit); in SplitLandingPadPredecessors() 586 if (NewBB2) { in SplitLandingPadPredecessors() 589 NewBB2->getInstList().insert(NewBB2->getFirstInsertionPt(), Clone2); in SplitLandingPadPredecessors() 594 PN->addIncoming(Clone2, NewBB2); in SplitLandingPadPredecessors()
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 522 BasicBlock *NewBB2 = nullptr; in SplitLandingPadPredecessors() local 525 NewBB2 = BasicBlock::Create(OrigBB->getContext(), in SplitLandingPadPredecessors() 528 NewBBs.push_back(NewBB2); in SplitLandingPadPredecessors() 531 BranchInst *BI2 = BranchInst::Create(OrigBB, NewBB2); in SplitLandingPadPredecessors() 536 NewBB2Pred->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessors() 540 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, DT, LI, in SplitLandingPadPredecessors() 544 UpdatePHINodes(OrigBB, NewBB2, NewBB2Preds, BI2, HasLoopExit); in SplitLandingPadPredecessors() 552 if (NewBB2) { in SplitLandingPadPredecessors() 555 NewBB2->getInstList().insert(NewBB2->getFirstInsertionPt(), Clone2); in SplitLandingPadPredecessors() 565 PN->addIncoming(Clone2, NewBB2); in SplitLandingPadPredecessors()
|