reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
758 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 759 BB0->getTerminator()->eraseFromParent(); 760 BranchInst::Create(BB1, BB0); 761 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 764 DTU.applyUpdatesPermissive({{DominatorTree::Delete, BB0, BB1}, 765 {DominatorTree::Delete, BB0, BB1}, 766 {DominatorTree::Insert, BB0, BB1}, 767 {DominatorTree::Insert, BB0, BB1}, 768 {DominatorTree::Insert, BB0, BB1}}); 774 DTU.applyUpdatesPermissive({{DominatorTree::Delete, BB0, BB1}}); 778 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 779 BB0->getTerminator()->eraseFromParent(); 782 DTU.applyUpdatesPermissive({{DominatorTree::Delete, BB0, BB1}, 783 {DominatorTree::Insert, BB0, BB1}, 784 {DominatorTree::Delete, BB0, BB1}, 785 {DominatorTree::Insert, BB0, BB1}, 786 {DominatorTree::Insert, BB0, BB1}}); 790 BranchInst::Create(BB2, BB0); 791 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 792 DTU.applyUpdates({{DominatorTree::Insert, BB0, BB2}});