Lines Matching refs:bounds_check
203 HBoundsCheck* bounds_check = new (&allocator_) in TEST_F() local
206 null_check, bounds_check, constant_1, Primitive::kPrimInt, 0); in TEST_F()
207 block3->AddInstruction(bounds_check); in TEST_F()
221 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
269 HBoundsCheck* bounds_check = new (&allocator_) in TEST_F() local
272 null_check, bounds_check, constant_1, Primitive::kPrimInt, 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, Primitive::kPrimInt, 0); in BuildSSAGraph1()
418 loop_body->AddInstruction(bounds_check); in BuildSSAGraph1()
426 return bounds_check; in BuildSSAGraph1()
431 HInstruction* bounds_check = BuildSSAGraph1(graph_, &allocator_, 0, 1); in TEST_F() local
433 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
438 HInstruction* bounds_check = BuildSSAGraph1(graph_, &allocator_, 1, 1); in TEST_F() local
440 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
445 HInstruction* bounds_check = BuildSSAGraph1(graph_, &allocator_, -1, 1); in TEST_F() local
447 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
452 HInstruction* bounds_check = BuildSSAGraph1(graph_, &allocator_, 0, 1, kCondGT); in TEST_F() local
454 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
460 HInstruction* bounds_check = BuildSSAGraph1(graph_, &allocator_, 0, 2); in TEST_F() local
462 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
467 HInstruction* bounds_check = BuildSSAGraph1(graph_, &allocator_, 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, Primitive::kPrimInt, 0); in BuildSSAGraph2()
535 loop_body->AddInstruction(bounds_check); in BuildSSAGraph2()
543 return bounds_check; in BuildSSAGraph2()
548 HInstruction* bounds_check = BuildSSAGraph2(graph_, &allocator_, 0); in TEST_F() local
550 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
555 HInstruction* bounds_check = BuildSSAGraph2(graph_, &allocator_, 1); in TEST_F() local
557 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
562 HInstruction* bounds_check = BuildSSAGraph2(graph_, &allocator_, -1); in TEST_F() local
564 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
569 HInstruction* bounds_check = BuildSSAGraph2(graph_, &allocator_, 0, -1, kCondLT); in TEST_F() local
571 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
576 HInstruction* bounds_check = BuildSSAGraph2(graph_, &allocator_, 0, -2); in TEST_F() local
578 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
637 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph3() local
639 null_check, bounds_check, constant_10, Primitive::kPrimInt, 0); in BuildSSAGraph3()
643 loop_body->AddInstruction(bounds_check); in BuildSSAGraph3()
651 return bounds_check; in BuildSSAGraph3()
657 HInstruction* bounds_check = BuildSSAGraph3(graph_, &allocator_, 0, 1, kCondGE); in TEST_F() local
659 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
665 HInstruction* bounds_check = BuildSSAGraph3(graph_, &allocator_, 1, 1, kCondGE); in TEST_F() local
667 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
673 HInstruction* bounds_check = BuildSSAGraph3(graph_, &allocator_, 0, 1, kCondGT); in TEST_F() local
675 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
681 HInstruction* bounds_check = BuildSSAGraph3(graph_, &allocator_, 1, 8, kCondGE); in TEST_F() local
683 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
742 HInstruction* bounds_check = new (allocator) HBoundsCheck(add_minus_1, array_length, 0); in BuildSSAGraph4() local
744 null_check, bounds_check, constant_10, Primitive::kPrimInt, 0); in BuildSSAGraph4()
750 loop_body->AddInstruction(bounds_check); in BuildSSAGraph4()
758 return bounds_check; in BuildSSAGraph4()
763 HInstruction* bounds_check = BuildSSAGraph4(graph_, &allocator_, 0); in TEST_F() local
765 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
770 HInstruction* bounds_check = BuildSSAGraph4(graph_, &allocator_, 1); in TEST_F() local
772 ASSERT_TRUE(IsRemoved(bounds_check)); in TEST_F()
777 HInstruction* bounds_check = BuildSSAGraph4(graph_, &allocator_, 0, kCondGT); in TEST_F() local
779 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()