Lines Matching refs:idx

316     auto idx = std::find(possibly_removed_stores_.begin(),  in KeepIfIsStore()  local
318 if (idx != possibly_removed_stores_.end()) { in KeepIfIsStore()
320 possibly_removed_stores_.erase(idx); in KeepIfIsStore()
550 void VisitGetLocation(HInstruction* instruction, size_t idx) { in VisitGetLocation() argument
551 DCHECK_NE(idx, HeapLocationCollector::kHeapLocationNotFound); in VisitGetLocation()
554 HInstruction* heap_value = heap_values[idx]; in VisitGetLocation()
558 heap_values[idx] = constant; in VisitGetLocation()
565 heap_values[idx] = instruction; in VisitGetLocation()
566 KeepStoresIfAliasedToLocation(heap_values, idx); in VisitGetLocation()
593 void VisitSetLocation(HInstruction* instruction, size_t idx, HInstruction* value) { in VisitSetLocation() argument
594 DCHECK_NE(idx, HeapLocationCollector::kHeapLocationNotFound); in VisitSetLocation()
600 HInstruction* heap_value = heap_values[idx]; in VisitSetLocation()
617 ReferenceInfo* ref_info = heap_location_collector_.GetHeapLocation(idx)->GetReferenceInfo(); in VisitSetLocation()
635 heap_values[idx] = instruction; in VisitSetLocation()
639 if (i == idx) { in VisitSetLocation()
650 if (heap_location_collector_.MayAlias(i, idx)) { in VisitSetLocation()
669 size_t idx = heap_location_collector_.GetFieldHeapLocation(object, &field); in VisitInstanceFieldSet() local
670 VisitSetLocation(instruction, idx, value); in VisitInstanceFieldSet()
682 size_t idx = heap_location_collector_.GetFieldHeapLocation(cls, &field); in VisitStaticFieldSet() local
683 VisitSetLocation(instruction, idx, instruction->InputAt(1)); in VisitStaticFieldSet()
691 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitArraySet() local
692 VisitSetLocation(instruction, idx, instruction->InputAt(2)); in VisitArraySet()