Lines Matching refs:bounds_check
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()
1463 bounds_check->GetBlock()->RemoveInstruction(bounds_check); in ReplaceBoundsCheck()
1769 HBoundsCheck* bounds_check = first_constant_index_bounds_check_map_.Get( in AddCompareWithDeoptimization() local
1773 HDeoptimize(cond, bounds_check->GetDexPc()); in AddCompareWithDeoptimization()
1774 block->InsertInstructionBefore(cond, bounds_check); in AddCompareWithDeoptimization()
1775 block->InsertInstructionBefore(deoptimize, bounds_check); in AddCompareWithDeoptimization()
1776 deoptimize->CopyEnvironmentFrom(bounds_check->GetEnvironment()); in AddCompareWithDeoptimization()
1784 HBoundsCheck* bounds_check = it->second; in AddComparesWithDeoptimization() local
1785 HInstruction* array_length = bounds_check->InputAt(1); in AddComparesWithDeoptimization()