Home
last modified time | relevance | path

Searched refs:bounds_check (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dbounds_check_elimination_test.cc203 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()
[all …]
Dbounds_check_elimination.cc565 for (HBoundsCheck* bounds_check : dynamic_bce_standby_) { in Finish()
566 if (bounds_check->IsInBlock()) { in Finish()
567 TryDynamicBCE(bounds_check); in Finish()
806 void VisitBoundsCheck(HBoundsCheck* bounds_check) OVERRIDE { in VisitBoundsCheck() argument
807 HBasicBlock* block = bounds_check->GetBlock(); in VisitBoundsCheck()
808 HInstruction* index = bounds_check->InputAt(0); in VisitBoundsCheck()
809 HInstruction* array_length = bounds_check->InputAt(1); in VisitBoundsCheck()
824 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
829 if (InductionRangeFitsIn(&array_range, bounds_check, index, &try_dynamic_bce)) { in VisitBoundsCheck()
830 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
[all …]