Lines Matching refs:mblock
222 BasicBlock* mblock = schedule.NewBasicBlock(); in TEST_F() local
225 schedule.AddGoto(tblock, mblock); in TEST_F()
226 schedule.AddGoto(fblock, mblock); in TEST_F()
227 schedule.InsertBranch(start, mblock, branch, tblock, fblock); in TEST_F()
235 EXPECT_EQ(2u, mblock->PredecessorCount()); in TEST_F()
236 EXPECT_EQ(1u, mblock->SuccessorCount()); in TEST_F()
237 EXPECT_EQ(end, mblock->SuccessorAt(0)); in TEST_F()
238 EXPECT_THAT(mblock->predecessors(), ElementsAre(tblock, fblock)); in TEST_F()
239 EXPECT_THAT(mblock->successors(), ElementsAre(end)); in TEST_F()
243 EXPECT_EQ(mblock, end->PredecessorAt(0)); in TEST_F()
244 EXPECT_THAT(end->predecessors(), ElementsAre(mblock)); in TEST_F()