Lines Matching refs:bounds_check
565 for (HBoundsCheck* bounds_check : dynamic_bce_standby_) {
566 if (bounds_check->IsInBlock()) {
567 TryDynamicBCE(bounds_check);
806 void VisitBoundsCheck(HBoundsCheck* bounds_check) OVERRIDE {
807 HBasicBlock* block = bounds_check->GetBlock();
808 HInstruction* index = bounds_check->InputAt(0);
809 HInstruction* array_length = bounds_check->InputAt(1);
824 ReplaceInstruction(bounds_check, index);
829 if (InductionRangeFitsIn(&array_range, bounds_check, index, &try_dynamic_bce)) {
830 ReplaceInstruction(bounds_check, index);
841 ReplaceInstruction(bounds_check, index);
852 ReplaceInstruction(bounds_check, index);
878 if (TryDynamicBCE(bounds_check)) {
887 first_index_bounds_check_map_.Put(array_length->GetId(), bounds_check);
1172 HBoundsCheck* bounds_check =
1186 block->InsertInstructionBefore(lower, bounds_check);
1187 block->InsertInstructionBefore(upper, bounds_check);
1188 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetArena()) HAbove(lower, upper));
1190 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetArena()) HAboveOrEqual(upper, array_length));
1198 HBoundsCheck* bounds_check = entry.second;
1199 HInstruction* index = bounds_check->InputAt(0);
1200 HInstruction* array_length = bounds_check->InputAt(1);
1533 void InsertDeoptInBlock(HBoundsCheck* bounds_check, HInstruction* condition) {
1534 HBasicBlock* block = bounds_check->GetBlock();
1535 block->InsertInstructionBefore(condition, bounds_check);
1537 new (GetGraph()->GetArena()) HDeoptimize(condition, bounds_check->GetDexPc());
1538 block->InsertInstructionBefore(deoptimize, bounds_check);
1539 deoptimize->CopyEnvironmentFrom(bounds_check->GetEnvironment());