Home
last modified time | relevance | path

Searched refs:method_index (Results 1 – 24 of 24) sorted by relevance

/art/compiler/optimizing/
Dinliner.cc254 uint32_t method_index = invoke_instruction->GetDexMethodIndex(); in TryInline() local
257 VLOG(compiler) << "Try inlining " << PrettyMethod(method_index, caller_dex_file); in TryInline()
278 method_index, class_linker->GetImagePointerSize()); in TryInline()
288 VLOG(compiler) << "Method cannot be resolved " << PrettyMethod(method_index, caller_dex_file); in TryInline()
313 << PrettyMethod(method_index, caller_dex_file) in TryInline()
331 << PrettyMethod(method_index, caller_dex_file) in TryInline()
340 << PrettyMethod(method_index, caller_dex_file) in TryInline()
640 size_t method_index = invoke_instruction->IsInvokeVirtual() in TryInlinePolymorphicCallToSameTarget() local
653 method_index % mirror::Class::kImtSize, pointer_size); in TryInlinePolymorphicCallToSameTarget()
661 new_method = ic.GetTypeAt(i)->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
[all …]
Dstack_map_stream.h112 uint32_t method_index; member
129 void BeginInlineInfoEntry(uint32_t method_index,
Dstack_map_stream.cc101 void StackMapStream::BeginInlineInfoEntry(uint32_t method_index, in BeginInlineInfoEntry() argument
107 current_inline_info_.method_index = method_index; in BeginInlineInfoEntry()
238 method_index_max = std::max(method_index_max, inline_entry.method_index); in ComputeInlineInfoEncoding()
354 inline_info.SetMethodIndexAtDepth(inline_info_encoding_, depth, inline_entry.method_index); in FillIn()
545 inline_entry.method_index); in CheckCodeInfo()
Dnodes.h3911 uint32_t method_index, in HInvokeStaticOrDirect() argument
3926 method_index, in HInvokeStaticOrDirect()
/art/compiler/dex/quick/
Ddex_file_method_inliner.h64 InlineMethodFlags IsIntrinsicOrSpecial(uint32_t method_index) REQUIRES(!lock_);
69 bool IsIntrinsic(uint32_t method_index, InlineMethod* intrinsic) REQUIRES(!lock_);
74 bool IsSpecial(uint32_t method_index) REQUIRES(!lock_);
79 uint32_t GetOffsetForStringInit(uint32_t method_index, size_t pointer_size)
85 bool IsStringInitMethodIndex(uint32_t method_index) REQUIRES(!lock_);
Ddex_file_method_inliner.cc690 InlineMethodFlags DexFileMethodInliner::IsIntrinsicOrSpecial(uint32_t method_index) { in IsIntrinsicOrSpecial() argument
692 auto it = inline_methods_.find(method_index); in IsIntrinsicOrSpecial()
701 bool DexFileMethodInliner::IsIntrinsic(uint32_t method_index, InlineMethod* intrinsic) { in IsIntrinsic() argument
703 auto it = inline_methods_.find(method_index); in IsIntrinsic()
711 bool DexFileMethodInliner::IsSpecial(uint32_t method_index) { in IsSpecial() argument
713 auto it = inline_methods_.find(method_index); in IsSpecial()
846 uint32_t DexFileMethodInliner::GetOffsetForStringInit(uint32_t method_index, size_t pointer_size) { in GetOffsetForStringInit() argument
848 auto it = inline_methods_.find(method_index); in GetOffsetForStringInit()
857 bool DexFileMethodInliner::IsStringInitMethodIndex(uint32_t method_index) { in IsStringInitMethodIndex() argument
859 auto it = inline_methods_.find(method_index); in IsStringInitMethodIndex()
/art/test/595-profile-saving/
Dprofile-saving.cc73 JNIEnv* env, jclass cls, jstring filename, jint method_index) { in Java_Main_presentInProfile() argument
80 static_cast<uint16_t>(method_index)); in Java_Main_presentInProfile()
/art/runtime/
Ddex_file_verifier.cc2573 static bool FindMethodName(uint32_t method_index, in FindMethodName() argument
2578 if (method_index >= header->method_ids_size_) { in FindMethodName()
2584 method_index)->name_idx_; in FindMethodName()
2602 bool DexFileVerifier::CheckMethodAccessFlags(uint32_t method_index, in CheckMethodAccessFlags() argument
2613 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(), in CheckMethodAccessFlags()
2635 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(), in CheckMethodAccessFlags()
2642 if (!FindMethodName(method_index, begin_, header_, &str, error_msg)) { in CheckMethodAccessFlags()
2663 method_index, in CheckMethodAccessFlags()
2664 GetMethodDescriptionOrError(begin_, header_, method_index).c_str()); in CheckMethodAccessFlags()
2673 method_index, in CheckMethodAccessFlags()
[all …]
Dart_method-inl.h128 inline ArtMethod* ArtMethod::GetDexCacheResolvedMethod(uint16_t method_index, size_t ptr_size) { in GetDexCacheResolvedMethod() argument
131 DCHECK_LT(method_index, in GetDexCacheResolvedMethod()
135 method_index, in GetDexCacheResolvedMethod()
146 inline void ArtMethod::SetDexCacheResolvedMethod(uint16_t method_index, ArtMethod* new_method, in SetDexCacheResolvedMethod() argument
150 DCHECK_LT(method_index, in SetDexCacheResolvedMethod()
155 method_index, in SetDexCacheResolvedMethod()
Doat_file.h177 const OatMethod GetOatMethod(uint32_t method_index) const;
182 const OatMethodOffsets* GetOatMethodOffsets(uint32_t method_index) const;
187 uint32_t GetOatMethodOffsetsOffset(uint32_t method_index) const;
Doat_file.cc1260 uint32_t OatFile::OatClass::GetOatMethodOffsetsOffset(uint32_t method_index) const { in GetOatMethodOffsetsOffset()
1261 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index); in GetOatMethodOffsetsOffset()
1268 const OatMethodOffsets* OatFile::OatClass::GetOatMethodOffsets(uint32_t method_index) const { in GetOatMethodOffsets()
1277 methods_pointer_index = method_index; in GetOatMethodOffsets()
1280 if (!BitVector::IsBitSet(bitmap_, method_index)) { in GetOatMethodOffsets()
1283 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets()
1290 const OatFile::OatMethod OatFile::OatClass::GetOatMethod(uint32_t method_index) const { in GetOatMethod()
1291 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index); in GetOatMethod()
Dart_method.cc129 uint16_t method_index = GetMethodIndex(); in FindOverriddenMethod() local
133 if (super_class->HasVTable() && method_index < super_class->GetVTableLength()) { in FindOverriddenMethod()
134 result = super_class->GetVTableEntry(method_index, pointer_size); in FindOverriddenMethod()
Ddex_file_verifier.h168 bool CheckMethodAccessFlags(uint32_t method_index,
Dart_method.h412 ALWAYS_INLINE ArtMethod* GetDexCacheResolvedMethod(uint16_t method_index, size_t ptr_size)
414 ALWAYS_INLINE void SetDexCacheResolvedMethod(uint16_t method_index,
Ddex_file_verifier_test.cc313 uint32_t method_index = it.GetMemberIndex(); in FindMethodData() local
314 uint32_t name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData()
319 *method_idx = method_index; in FindMethodData()
Ddex_file.cc1251 uint32_t method_index = method->GetDexMethodIndex(); in FindAnnotationSetForMethod() local
1254 if (method_annotations[i].method_idx_ == method_index) { in FindAnnotationSetForMethod()
1272 uint32_t method_index = method->GetDexMethodIndex(); in FindAnnotationsItemForMethod() local
1275 if (parameter_annotations[i].method_idx_ == method_index) { in FindAnnotationsItemForMethod()
Dclass_linker.cc2822 for (size_t method_index = 0; it.HasNextDirectMethod(); ++method_index, it.Next()) { in FixupStaticTrampolines() local
2823 ArtMethod* method = klass->GetDirectMethod(method_index, image_pointer_size_); in FixupStaticTrampolines()
2830 OatFile::OatMethod oat_method = oat_class.GetOatMethod(method_index); in FixupStaticTrampolines()
/art/compiler/
Doat_test.cc422 size_t method_index = 0; in TEST_F() local
424 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
425 ++method_index; in TEST_F()
433 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
434 ++method_index; in TEST_F()
/art/runtime/jit/
Dprofile_compilation_info_test.cc55 uint16_t method_index, in AddMethod() argument
57 return info->AddMethodIndex(dex_location, checksum, method_index); in AddMethod()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h48 uint32_t method_index = inline_info.GetMethodIndexAtDepth(encoding, inlining_depth); in GetResolvedMethod() local
51 ArtMethod* caller = outer_method->GetDexCacheResolvedMethod(method_index, sizeof(void*)); in GetResolvedMethod()
80 *outer_method->GetDexFile(), method_index, dex_cache, class_loader, nullptr, invoke_type); in GetResolvedMethod()
/art/runtime/quick/
Dinline_method_analyser.cc147 uint32_t method_index = invoke_direct->VRegB_35c(); in GetTargetConstructor() local
150 method->GetDexCache()->GetResolvedMethod(method_index, pointer_size); in GetTargetConstructor()
/art/compiler/driver/
Dcompiler_driver.h454 bool IsStringInit(uint32_t method_index, const DexFile* dex_file, int32_t* offset);
Dcompiler_driver.cc2870 bool CompilerDriver::IsStringInit(uint32_t method_index, const DexFile* dex_file, int32_t* offset) { in IsStringInit() argument
2873 *offset = inliner->GetOffsetForStringInit(method_index, pointer_size); in IsStringInit()
2874 return inliner->IsStringInitMethodIndex(method_index); in IsStringInit()
/art/oatdump/
Doatdump.cc505 size_t method_index = m->GetMethodIndex(); in GetQuickOatCode() local
506 return oat_class.GetOatMethod(method_index).GetQuickCode(); in GetQuickOatCode()