Lines Matching refs:BB2
54 " %y3 = invoke i32 @g() to label %bb1 unwind label %bb2\n"
58 "bb2:\n"
67 " %y8 = phi i32 [0, %bb2], [%y4, %bb1]\n"
68 " %y9 = phi i32 [0, %bb2], [%y4, %bb1]\n"
90 BasicBlock *BB2 = &*FI++;
91 BBI = BB2->begin();
107 EXPECT_TRUE(DT->isReachableFromEntry(BB2));
114 EXPECT_TRUE(DT->dominates(BB0, BB2));
120 EXPECT_FALSE(DT->dominates(BB1, BB2));
124 EXPECT_FALSE(DT->dominates(BB2, BB0));
125 EXPECT_FALSE(DT->dominates(BB2, BB1));
126 EXPECT_TRUE(DT->dominates(BB2, BB2));
127 EXPECT_TRUE(DT->dominates(BB2, BB3));
128 EXPECT_FALSE(DT->dominates(BB2, BB4));
132 EXPECT_FALSE(DT->dominates(BB3, BB2));
139 EXPECT_TRUE(DT->properlyDominates(BB0, BB2));
144 EXPECT_FALSE(DT->properlyDominates(BB1, BB2));
147 EXPECT_FALSE(DT->properlyDominates(BB2, BB0));
148 EXPECT_FALSE(DT->properlyDominates(BB2, BB1));
149 EXPECT_FALSE(DT->properlyDominates(BB2, BB2));
150 EXPECT_TRUE(DT->properlyDominates(BB2, BB3));
154 EXPECT_FALSE(DT->properlyDominates(BB3, BB2));
188 EXPECT_TRUE(DT->dominates(Y1, BB2));
194 EXPECT_FALSE(DT->dominates(Y3, BB2));
203 EXPECT_FALSE(PDT->dominates(BB2, BB0));
229 EXPECT_EQ(DT->getNode(BB2)->getDFSNumIn(), 5UL);
230 EXPECT_EQ(DT->getNode(BB2)->getDFSNumOut(), 6UL);
237 EXPECT_EQ(DT->getNode(BB2)->getLevel(), 1U);
251 EXPECT_EQ(DT->getNode(BB2)->getDFSNumIn(), 7UL);
252 EXPECT_EQ(DT->getNode(BB2)->getDFSNumOut(), 8UL);
261 EXPECT_EQ(DT->getNode(BB2)->getLevel(), 1U);
282 " switch i32 %i, label %bb2 [\n"
288 " bb2:\n"
302 BasicBlock *BB2 = &*FI++;
308 assert(Edge_BB0_BB2.getEnd() == BB2 &&
317 EXPECT_TRUE(DT->dominates(Edge_BB0_BB2, BB2));
323 EXPECT_FALSE(DT->dominates(Edge_BB0_BB1_a, BB2));
324 EXPECT_FALSE(DT->dominates(Edge_BB0_BB1_b, BB2));