Lines Matching refs:loop_
950 if (!loop_->GetHeaderBlock()->GetMergeInst()) { in CanPerformUnroll()
955 const BasicBlock* condition = loop_->FindConditionBlock(); in CanPerformUnroll()
959 const Instruction* induction = loop_->FindConditionVariable(condition); in CanPerformUnroll()
963 if (!loop_->FindNumberOfIterations(induction, &*condition->ctail(), nullptr)) in CanPerformUnroll()
968 const Instruction& branch = *loop_->GetLatchBlock()->ctail(); in CanPerformUnroll()
971 branch.GetSingleWordInOperand(0) == loop_->GetHeaderBlock()->id(); in CanPerformUnroll()
977 loop_->GetInductionVariables(inductions); in CanPerformUnroll()
981 context_->cfg()->preds(loop_->GetMergeBlock()->id()); in CanPerformUnroll()
988 context_->cfg()->preds(loop_->GetContinueBlock()->id()); in CanPerformUnroll()
996 for (uint32_t label_id : loop_->GetBlocks()) { in CanPerformUnroll()
1005 if (!loop_->AreAllChildrenMarkedForRemoval()) { in CanPerformUnroll()
1017 loop_->GetHeaderBlock()->GetParent()}; in PartiallyUnroll()
1018 unroller.Init(loop_); in PartiallyUnroll()
1023 unroller.FullyUnroll(loop_); in PartiallyUnroll()
1032 unroller.PartiallyUnrollResidualFactor(loop_, factor); in PartiallyUnroll()
1034 unroller.PartiallyUnroll(loop_, factor); in PartiallyUnroll()
1044 loop_->GetInductionVariables(inductions); in FullyUnroll()
1047 loop_->GetHeaderBlock()->GetParent()}; in FullyUnroll()
1049 unroller.Init(loop_); in FullyUnroll()
1050 unroller.FullyUnroll(loop_); in FullyUnroll()