Lines Matching refs:bounds_check
202 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F() local
205 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F()
206 block3->AddInstruction(bounds_check); in TEST_F()
220 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
269 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F() local
272 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F()
273 block3->AddInstruction(bounds_check); in TEST_F()
287 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
411 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph1() local
413 null_check, bounds_check, constant_10, DataType::Type::kInt32, 0); in BuildSSAGraph1()
418 loop_body->AddInstruction(bounds_check); in BuildSSAGraph1()
426 return bounds_check; in BuildSSAGraph1()
431 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 0, 1); in TEST_F() local
433 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
438 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 1, 1); in TEST_F() local
440 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
445 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), -1, 1); in TEST_F() local
447 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
452 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 0, 1, kCondGT); in TEST_F() local
454 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
460 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 0, 2); in TEST_F() local
462 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
467 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 1, 2); in TEST_F() local
469 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
528 HInstruction* bounds_check = new (allocator) HBoundsCheck(add, array_length, 0); in BuildSSAGraph2() local
530 null_check, bounds_check, constant_10, DataType::Type::kInt32, 0); in BuildSSAGraph2()
535 loop_body->AddInstruction(bounds_check); in BuildSSAGraph2()
543 return bounds_check; in BuildSSAGraph2()
548 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 0); in TEST_F() local
550 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
555 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 1); in TEST_F() local
557 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
562 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), -1); in TEST_F() local
564 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
569 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 0, -1, kCondLT); in TEST_F() local
571 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
576 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 0, -2); in TEST_F() local
578 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
636 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph3() local
638 null_check, bounds_check, constant_10, DataType::Type::kInt32, 0); in BuildSSAGraph3()
642 loop_body->AddInstruction(bounds_check); in BuildSSAGraph3()
650 return bounds_check; in BuildSSAGraph3()
656 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 0, 1, kCondGE); in TEST_F() local
658 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
664 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 1, 1, kCondGE); in TEST_F() local
666 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
672 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 0, 1, kCondGT); in TEST_F() local
674 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
680 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 1, 8, kCondGE); in TEST_F() local
682 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
741 HInstruction* bounds_check = new (allocator) HBoundsCheck(add_minus_1, array_length, 0); in BuildSSAGraph4() local
743 null_check, bounds_check, constant_10, DataType::Type::kInt32, 0); in BuildSSAGraph4()
749 loop_body->AddInstruction(bounds_check); in BuildSSAGraph4()
757 return bounds_check; in BuildSSAGraph4()
762 HInstruction* bounds_check = BuildSSAGraph4(graph_, GetAllocator(), 0); in TEST_F() local
764 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
769 HInstruction* bounds_check = BuildSSAGraph4(graph_, GetAllocator(), 1); in TEST_F() local
771 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
776 HInstruction* bounds_check = BuildSSAGraph4(graph_, GetAllocator(), 0, kCondGT); in TEST_F() local
778 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()