Searched refs:bounds_check (Results 1 – 2 of 2) sorted by relevance
/art/compiler/optimizing/ |
D | bounds_check_elimination_test.cc | 190 HBoundsCheck* bounds_check = new (&allocator) in TEST() local 193 null_check, bounds_check, constant_1, Primitive::kPrimInt, 0); in TEST() 194 block3->AddInstruction(bounds_check); in TEST() 210 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST() 264 HBoundsCheck* bounds_check = new (&allocator) in TEST() local 267 null_check, bounds_check, constant_1, Primitive::kPrimInt, 0); in TEST() 268 block3->AddInstruction(bounds_check); in TEST() 284 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST() 363 HInstruction** bounds_check, in BuildSSAGraph1() argument 417 *bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph1() [all …]
|
D | bounds_check_elimination.cc | 1378 void VisitBoundsCheck(HBoundsCheck* bounds_check) { in VisitBoundsCheck() argument 1379 HBasicBlock* block = bounds_check->GetBlock(); in VisitBoundsCheck() 1380 HInstruction* index = bounds_check->InputAt(0); in VisitBoundsCheck() 1381 HInstruction* array_length = bounds_check->InputAt(1); in VisitBoundsCheck() 1401 ReplaceBoundsCheck(bounds_check, index); in VisitBoundsCheck() 1413 ReplaceBoundsCheck(bounds_check, index); in VisitBoundsCheck() 1424 ReplaceBoundsCheck(bounds_check, index); in VisitBoundsCheck() 1439 first_constant_index_bounds_check_map_.Put(array_length->GetId(), bounds_check); in VisitBoundsCheck() 1461 void ReplaceBoundsCheck(HInstruction* bounds_check, HInstruction* index) { in ReplaceBoundsCheck() argument 1462 bounds_check->ReplaceWith(index); in ReplaceBoundsCheck() [all …]
|