Lines Matching refs:bounds_check

565     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()
841 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
852 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
878 if (TryDynamicBCE(bounds_check)) { in VisitBoundsCheck()
887 first_index_bounds_check_map_.Put(array_length->GetId(), bounds_check); in VisitBoundsCheck()
1172 HBoundsCheck* bounds_check = in AddCompareWithDeoptimization() local
1186 block->InsertInstructionBefore(lower, bounds_check); in AddCompareWithDeoptimization()
1187 block->InsertInstructionBefore(upper, bounds_check); in AddCompareWithDeoptimization()
1188 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetArena()) HAbove(lower, upper)); in AddCompareWithDeoptimization()
1190 … InsertDeoptInBlock(bounds_check, new (GetGraph()->GetArena()) HAboveOrEqual(upper, array_length)); in AddCompareWithDeoptimization()
1198 HBoundsCheck* bounds_check = entry.second; in AddComparesWithDeoptimization() local
1199 HInstruction* index = bounds_check->InputAt(0); in AddComparesWithDeoptimization()
1200 HInstruction* array_length = bounds_check->InputAt(1); in AddComparesWithDeoptimization()
1533 void InsertDeoptInBlock(HBoundsCheck* bounds_check, HInstruction* condition) { in InsertDeoptInBlock() argument
1534 HBasicBlock* block = bounds_check->GetBlock(); in InsertDeoptInBlock()
1535 block->InsertInstructionBefore(condition, bounds_check); in InsertDeoptInBlock()
1537 new (GetGraph()->GetArena()) HDeoptimize(condition, bounds_check->GetDexPc()); in InsertDeoptInBlock()
1538 block->InsertInstructionBefore(deoptimize, bounds_check); in InsertDeoptInBlock()
1539 deoptimize->CopyEnvironmentFrom(bounds_check->GetEnvironment()); in InsertDeoptInBlock()