Lines Matching defs:new_bb
352 std::unique_ptr<BasicBlock> new_bb =
358 in_loop->AddBasicBlock(new_bb.get());
359 loop_utils_.GetLoopDescriptor()->SetBasicBlockToLoop(new_bb->id(), in_loop);
362 context_->set_instr_block(new_bb->GetLabelInst(), new_bb.get());
363 def_use_mgr->AnalyzeInstDefUse(new_bb->GetLabelInst());
366 bb_pred->tail()->ForEachInId([bb, &new_bb](uint32_t* id) {
368 *id = new_bb->id();
372 cfg.AddEdge(bb_pred->id(), new_bb->id());
376 bb->ForEachPhiInst([&new_bb, def_use_mgr](Instruction* phi) {
377 phi->SetInOperand(1, {new_bb->id()});
381 context_, new_bb.get(),
384 cfg.RegisterBlock(new_bb.get());
390 BasicBlock* ret = new_bb.get();
391 loop_utils_.GetFunction()->AddBasicBlock(std::move(new_bb), it);