Lines Matching defs:loop

211   // with Deref). Other blocks unrolled from the loop must not contain them.
569 for (auto& loop : loop_descriptor) {
570 LoopUtils loop_utils{context(), &loop};
887 // By unrolling by a factor that doesn't divide evenly into the number of loop
968 Loop& loop = loop_descriptor.GetLoopByIndex(0);
970 EXPECT_TRUE(loop.HasUnrollLoopControl());
972 BasicBlock* condition = loop.FindConditionBlock();
975 Instruction* induction = loop.FindConditionVariable(condition);
978 LoopUtils loop_utils{context.get(), &loop};
982 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(),
1063 Loop& loop = loop_descriptor.GetLoopByIndex(0);
1065 EXPECT_FALSE(loop.HasUnrollLoopControl());
1067 BasicBlock* condition = loop.FindConditionBlock();
1070 Instruction* induction = loop.FindConditionVariable(condition);
1073 LoopUtils loop_utils{context.get(), &loop};
1077 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(),
1460 Loop& loop = loop_descriptor.GetLoopByIndex(0);
1462 EXPECT_TRUE(loop.HasUnrollLoopControl());
1464 BasicBlock* condition = loop.FindConditionBlock();
1467 Instruction* induction = loop.FindConditionVariable(condition);
1470 LoopUtils loop_utils{context.get(), &loop};
1474 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(),
1631 Loop& loop = loop_descriptor.GetLoopByIndex(0);
1633 EXPECT_TRUE(loop.HasUnrollLoopControl());
1635 BasicBlock* condition = loop.FindConditionBlock();
1638 Instruction* induction = loop.FindConditionVariable(condition);
1641 LoopUtils loop_utils{context.get(), &loop};
1645 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(),
3317 // Test that a loop with a self-referencing OpPhi instruction is handled
3321 ; Find the two adds from the unrolled loop
3363 // Test that a loop containing an unreachable merge block can still be unrolled
3367 ; Identify the first iteration of the unrolled loop, and make sure it contains
3369 ; The first SelectionMerge corresponds to the original loop merge.
3370 ; The second is the branch in the loop.
3375 ; Identify the second iteration of the unrolled loop, and make sure it contains
3377 ; The first SelectionMerge corresponds to the original loop merge
3378 ; The second is the branch in the loop.
3617 ; First loop iteration
3620 ; Second loop iteration
3623 ; Third loop iteration
3685 ; First loop iteration
3689 ; Second loop iteration
3693 ; Third loop iteration
3792 // This is an infinite loop that because the step is 0. We want to make sure