Lines Matching refs:loop_

320   Function* function = loop_->GetHeaderBlock()->GetParent();  in CreateLoopDedicatedExits()
331 loop_->GetExitBlocks(&exit_bb_set); in CreateLoopDedicatedExits()
342 [this](uint32_t id) { return loop_->IsInsideLoop(id); })) { in CreateLoopDedicatedExits()
363 if (loop_->IsInsideLoop(exit_pred_id)) { in CreateLoopDedicatedExits()
393 if (loop_->IsInsideLoop(incoming_id)) { in CreateLoopDedicatedExits()
427 loop_->SetMergeBlock(*new_loop_exits.begin()); in CreateLoopDedicatedExits()
440 Function* function = loop_->GetHeaderBlock()->GetParent(); in MakeLoopClosedSSA()
448 loop_->GetExitBlocks(&exit_bb_id); in MakeLoopClosedSSA()
455 loop_->GetMergeBlock()); in MakeLoopClosedSSA()
456 MakeSetClosedSSA(context_, function, loop_->GetBlocks(), exit_bb, in MakeLoopClosedSSA()
461 if (loop_->GetMergeBlock()) { in MakeLoopClosedSSA()
463 loop_->GetMergingBlocks(&merging_bb_id); in MakeLoopClosedSSA()
464 merging_bb_id.erase(loop_->GetMergeBlock()->id()); in MakeLoopClosedSSA()
467 exit_bb.insert(loop_->GetMergeBlock()); in MakeLoopClosedSSA()
484 loop_->ComputeLoopStructuredOrder(&ordered_loop_blocks); in CloneLoop()
499 new_exit_bb->SetParent(loop_->GetMergeBlock()->GetParent()); in CloneAndAttachLoopToHeader()
503 builder.AddBranch(loop_->GetHeaderBlock()->id()); in CloneAndAttachLoopToHeader()
506 const uint32_t old_merge_block = loop_->GetMergeBlock()->id(); in CloneAndAttachLoopToHeader()
523 const uint32_t old_header = loop_->GetHeaderBlock()->id(); in CloneAndAttachLoopToHeader()
529 if (!this->loop_->IsInsideLoop(inst)) in CloneAndAttachLoopToHeader()
535 loop_->GetOrCreatePreHeaderBlock()->id(), in CloneAndAttachLoopToHeader()
537 if (this->loop_->IsInsideLoop(inst)) in CloneAndAttachLoopToHeader()
543 new_loop->SetPreHeaderBlock(loop_->GetPreHeaderBlock()); in CloneAndAttachLoopToHeader()
576 if (loop_->IsInsideLoop(old_bb)) new_loop->AddBasicBlock(new_bb); in CloneLoop()
622 loop_mapping[loop_] = new_loop; in PopulateLoopNest()
624 if (loop_->HasParent()) loop_->GetParent()->AddNestedLoop(new_loop); in PopulateLoopNest()
625 PopulateLoopDesc(new_loop, loop_, cloning_result); in PopulateLoopNest()
628 make_range(++TreeDFIterator<Loop>(loop_), TreeDFIterator<Loop>())) { in PopulateLoopNest()