Lines Matching refs:BB2
217 BasicBlock *BB2 = BasicBlock::Create(context, "", F);
218 IRBuilder<> Builder2(BB2);
220 Builder1.CreateBr(BB2);
229 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB1, SubInst, Mapping);
264 BasicBlock *BB2 = BasicBlock::Create(context, "", F);
265 IRBuilder<> Builder2(BB2);
267 Builder1.CreateBr(BB2);
272 Builder2.CreateBr(BB2);
276 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB2, BB2->getTerminator(), Mapping);
299 EXPECT_EQ(Split->getSingleSuccessor(), BB2);
300 EXPECT_EQ(BB2->getSingleSuccessor(), Split);
315 BasicBlock *BB2 = BasicBlock::Create(context, "", F);
316 IRBuilder<> Builder2(BB2);
318 Builder1.CreateBr(BB2);
323 Builder2.CreateBr(BB2);
327 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB2, SubInst, Mapping);
346 EXPECT_EQ(Split->getSingleSuccessor(), BB2);
347 EXPECT_EQ(BB2->getSingleSuccessor(), Split);