Lines Matching refs:new_bb
564 BasicBlock* new_bb = old_bb->Clone(context_); in CloneLoop() local
565 new_bb->SetParent(&function_); in CloneLoop()
567 new_bb->GetLabelInst()->SetResultId(context_->TakeNextId()); in CloneLoop()
568 def_use_mgr->AnalyzeInstDef(new_bb->GetLabelInst()); in CloneLoop()
569 context_->set_instr_block(new_bb->GetLabelInst(), new_bb); in CloneLoop()
570 cloning_result->cloned_bb_.emplace_back(new_bb); in CloneLoop()
572 cloning_result->old_to_new_bb_[old_bb->id()] = new_bb; in CloneLoop()
573 cloning_result->new_to_old_bb_[new_bb->id()] = old_bb; in CloneLoop()
574 cloning_result->value_map_[old_bb->id()] = new_bb->id(); in CloneLoop()
576 if (loop_->IsInsideLoop(old_bb)) new_loop->AddBasicBlock(new_bb); in CloneLoop()
578 for (auto new_inst = new_bb->begin(), old_inst = old_bb->begin(); in CloneLoop()
579 new_inst != new_bb->end(); ++new_inst, ++old_inst) { in CloneLoop()