Lines Matching refs:MergeBB
315 BasicBlock **MergeBB) {
340 *MergeBB = Inst->getParent();
341 (*MergeBB)->setName("if.end.icp");
353 // created direct invoke stmt -- as its NormalDst will be fixed up to MergeBB.
354 BranchInst::Create(II->getNormalDest(), *MergeBB);
376 // OrigBB (the MergeBB after if-then-else splitting). After moving the invoke
399 // OrigBB (the MergeBB after if-then-else splitting). After moving the invoke
449 // MergeBB is the bottom BB of the if-then-else-diamond after the
451 // IndirectCallBB to MergeBB are removed before this call (during
456 BasicBlock *MergeBB) {
463 // fixed up to MergeBB. MergeBB is the place where return cast is inserted.
464 // Also since IndirectCallBB does not have an edge to MergeBB, there is no
465 // need to insert new PHIs into MergeBB.
470 II->setNormalDest(MergeBB);
536 BasicBlock *DirectCallBB, *IndirectCallBB, *MergeBB;
538 &IndirectCallBB, &MergeBB);
541 createDirectCallInst(Inst, DirectCallee, DirectCallBB, MergeBB);
543 // Move Inst from MergeBB to IndirectCallBB.
551 // NormalDest points to MergeBB, and MergeBB jumps to the original
552 // NormalDest. MergeBB might have a new bitcast instruction for the return
557 fixupPHINodeForUnwind(Inst, II->getUnwindDest(), MergeBB, IndirectCallBB,
561 fixupPHINodeForNormalDest(Inst, II->getNormalDest(), MergeBB,
568 DEBUG(dbgs() << *BB << *DirectCallBB << *IndirectCallBB << *MergeBB << "\n");