Home
last modified time | relevance | path

Searched refs:NewBB2 (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp522 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp827 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()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp867 BasicBlock *NewBB2 = nullptr; in SplitLandingPadPredecessors() local
870 NewBB2 = BasicBlock::Create(OrigBB->getContext(), in SplitLandingPadPredecessors()
873 NewBBs.push_back(NewBB2); in SplitLandingPadPredecessors()
876 BranchInst *BI2 = BranchInst::Create(OrigBB, NewBB2); in SplitLandingPadPredecessors()
881 NewBB2Pred->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessors()
885 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, DT, LI, MSSAU, in SplitLandingPadPredecessors()
889 UpdatePHINodes(OrigBB, NewBB2, NewBB2Preds, BI2, HasLoopExit); in SplitLandingPadPredecessors()
897 if (NewBB2) { in SplitLandingPadPredecessors()
900 NewBB2->getInstList().insert(NewBB2->getFirstInsertionPt(), Clone2); in SplitLandingPadPredecessors()
910 PN->addIncoming(Clone2, NewBB2); in SplitLandingPadPredecessors()
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp563 BasicBlock *NewBB2 = SplitBlock(NewBB1, &*NewBB1->getFirstInsertionPt()); in TEST_F() local
581 Builder.CreateBr(NewBB2); in TEST_F()