Home
last modified time | relevance | path

Searched refs:ref_info (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dload_store_analysis.h96 HeapLocation(ReferenceInfo* ref_info, in HeapLocation() argument
102 : ref_info_(ref_info), in HeapLocation()
110 DCHECK(ref_info != nullptr); in HeapLocation()
113 if (ref_info->IsSingleton() && !IsArray()) { in HeapLocation()
234 ReferenceInfo* ref_info = ref_info_array_[i]; in FindReferenceInfoOf() local
235 if (ref_info->GetReference() == ref) { in FindReferenceInfoOf()
236 DCHECK_EQ(i, ref_info->GetPosition()); in FindReferenceInfoOf()
237 return ref_info; in FindReferenceInfoOf()
300 size_t FindHeapLocationIndex(ReferenceInfo* ref_info, in FindHeapLocationIndex() argument
309 if (loc->GetReferenceInfo() == ref_info && in FindHeapLocationIndex()
[all …]
Dload_store_elimination.cc369 ReferenceInfo* ref_info = location->GetReferenceInfo(); in HandleLoopSideEffects() local
370 if (ref_info->IsSingleton() && !location->IsValueKilledByLoopSideEffects()) { in HandleLoopSideEffects()
405 ReferenceInfo* ref_info = heap_location_collector_.GetHeapLocation(i)->GetReferenceInfo(); in MergePredecessorValues() local
406 HInstruction* ref = ref_info->GetReference(); in MergePredecessorValues()
408 if (ref_info->IsSingleton()) { in MergePredecessorValues()
460 if (ref_info->IsSingletonAndRemovable() && in MergePredecessorValues()
617 ReferenceInfo* ref_info = heap_location_collector_.GetHeapLocation(idx)->GetReferenceInfo(); in VisitSetLocation() local
618 … if (ref_info->IsSingleton() && !loop_info->IsDefinedOutOfTheLoop(ref_info->GetReference())) { in VisitSetLocation()
739 ReferenceInfo* ref_info = heap_location_collector_.GetHeapLocation(i)->GetReferenceInfo(); in HandleExit() local
740 if (!ref_info->IsSingletonAndRemovable()) { in HandleExit()
[all …]
/art/openjdkjvmti/
Dti_heap.cc954 jvmtiHeapReferenceInfo* ref_info) in GetReferenceKind() argument
957 memset(ref_info, 0, sizeof(jvmtiHeapReferenceInfo)); in GetReferenceKind()
966 ref_info->jni_local.thread_id = thread_id; in GetReferenceKind()
977 ref_info->jni_local.thread_tag = tag_table_->GetTagOrZero(thread_obj); in GetReferenceKind()
983 ref_info->jni_local.depth = 0; in GetReferenceKind()
988 ref_info->jni_local.method = art::jni::EncodeArtMethod(method); in GetReferenceKind()
998 ref_info->stack_local.thread_id = thread_id; in GetReferenceKind()
1009 ref_info->stack_local.thread_tag = tag_table_->GetTagOrZero(thread_obj); in GetReferenceKind()
1014 ref_info->stack_local.slot = static_cast<jint>(java_info.GetVReg()); in GetReferenceKind()
1016 ref_info->stack_local.location = in GetReferenceKind()
[all …]
/art/dex2oat/linker/
Dimage_writer.cc331 for (const HeapReferencePointerInfo& ref_info : string_ref_info) { in PrepareImageAddressSpace() local
334 if (HasDexCacheStringNativeRefTag(ref_info.first)) { in PrepareImageAddressSpace()
337 ref_info.first)); in PrepareImageAddressSpace()
339 } else if (HasDexCachePreResolvedStringNativeRefTag(ref_info.first)) { in PrepareImageAddressSpace()
342 ref_info.first)); in PrepareImageAddressSpace()
346 base_offset = GetImageOffset(reinterpret_cast<mirror::Object*>(ref_info.first)); in PrepareImageAddressSpace()
349 string_reference_offsets_.emplace_back(base_offset, ref_info.second); in PrepareImageAddressSpace()