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

/art/test/595-profile-saving/
H A Dprofile-saving.cc73 JNIEnv* env, jclass cls, jstring filename, jint method_index) {
80 static_cast<uint16_t>(method_index));
72 Java_Main_presentInProfile( JNIEnv* env, jclass cls, jstring filename, jint method_index) argument
/art/compiler/optimizing/
H A Dinliner.cc254 uint32_t method_index = invoke_instruction->GetDexMethodIndex(); local
257 VLOG(compiler) << "Try inlining " << PrettyMethod(method_index, caller_dex_file);
278 method_index, class_linker->GetImagePointerSize());
288 VLOG(compiler) << "Method cannot be resolved " << PrettyMethod(method_index, caller_dex_file);
313 << PrettyMethod(method_index, caller_dex_file)
331 << PrettyMethod(method_index, caller_dex_file)
340 << PrettyMethod(method_index, caller_dex_file)
640 size_t method_index = invoke_instruction->IsInvokeVirtual() local
653 method_index % ImTable::kSize, pointer_size);
661 new_method = ic.GetTypeAt(i)->GetEmbeddedVTableEntry(method_index, pointer_siz
1035 uint32_t method_index = resolved_method->GetDexMethodIndex(); local
[all...]
H A Dstack_map_stream.h112 uint32_t method_index; member in struct:art::StackMapStream::InlineInfoEntry
129 void BeginInlineInfoEntry(uint32_t method_index,
H A Dstack_map_stream.cc101 void StackMapStream::BeginInlineInfoEntry(uint32_t method_index, argument
107 current_inline_info_.method_index = method_index;
238 method_index_max = std::max(method_index_max, inline_entry.method_index);
354 inline_info.SetMethodIndexAtDepth(inline_info_encoding_, depth, inline_entry.method_index);
545 inline_entry.method_index);
H A Dnodes.h3911 uint32_t method_index,
3926 method_index,
3907 HInvokeStaticOrDirect(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t method_index, MethodReference target_method, DispatchInfo dispatch_info, InvokeType original_invoke_type, InvokeType optimized_invoke_type, ClinitCheckRequirement clinit_check_requirement) argument
/art/compiler/dex/quick/
H A 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_);
H A Ddex_file_method_inliner.cc690 InlineMethodFlags DexFileMethodInliner::IsIntrinsicOrSpecial(uint32_t method_index) { argument
692 auto it = inline_methods_.find(method_index);
701 bool DexFileMethodInliner::IsIntrinsic(uint32_t method_index, InlineMethod* intrinsic) { argument
703 auto it = inline_methods_.find(method_index);
711 bool DexFileMethodInliner::IsSpecial(uint32_t method_index) { argument
713 auto it = inline_methods_.find(method_index);
846 uint32_t DexFileMethodInliner::GetOffsetForStringInit(uint32_t method_index, size_t pointer_size) { argument
848 auto it = inline_methods_.find(method_index);
857 bool DexFileMethodInliner::IsStringInitMethodIndex(uint32_t method_index) { argument
859 auto it = inline_methods_.find(method_index);
[all...]
/art/runtime/
H A Doat_file.h177 const OatMethod GetOatMethod(uint32_t method_index) const;
180 // method_index, or null if none is present. Note that most
182 const OatMethodOffsets* GetOatMethodOffsets(uint32_t method_index) const;
185 // OatMethodOffsets for the requested method_index, or 0 if none
187 uint32_t GetOatMethodOffsetsOffset(uint32_t method_index) const;
H A Ddex_file_verifier.cc2573 static bool FindMethodName(uint32_t method_index, argument
2578 if (method_index >= header->method_ids_size_) {
2584 method_index)->name_idx_;
2602 bool DexFileVerifier::CheckMethodAccessFlags(uint32_t method_index, argument
2613 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(),
2635 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(),
2642 if (!FindMethodName(method_index, begin_, header_, &str, error_msg)) {
2663 method_index,
2664 GetMethodDescriptionOrError(begin_, header_, method_index).c_str());
2673 method_index,
[all...]
H A Dart_method-inl.h128 inline ArtMethod* ArtMethod::GetDexCacheResolvedMethod(uint16_t method_index, size_t ptr_size) { argument
131 DCHECK_LT(method_index,
135 method_index,
146 inline void ArtMethod::SetDexCacheResolvedMethod(uint16_t method_index, ArtMethod* new_method, argument
150 DCHECK_LT(method_index,
155 method_index, local
H A Doat_file.cc1260 uint32_t OatFile::OatClass::GetOatMethodOffsetsOffset(uint32_t method_index) const {
1261 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index);
1268 const OatMethodOffsets* OatFile::OatClass::GetOatMethodOffsets(uint32_t method_index) const {
1269 // NOTE: We don't keep the number of methods and cannot do a bounds check for method_index.
1277 methods_pointer_index = method_index;
1280 if (!BitVector::IsBitSet(bitmap_, method_index)) {
1283 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index);
1290 const OatFile::OatMethod OatFile::OatClass::GetOatMethod(uint32_t method_index) const {
1291 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index);
H A Dart_method.cc129 uint16_t method_index = GetMethodIndex(); local
133 if (super_class->HasVTable() && method_index < super_class->GetVTableLength()) {
134 result = super_class->GetVTableEntry(method_index, pointer_size);
H A Ddex_file_verifier.h168 bool CheckMethodAccessFlags(uint32_t method_index,
H A Dart_method.h428 ALWAYS_INLINE ArtMethod* GetDexCacheResolvedMethod(uint16_t method_index, size_t ptr_size)
430 ALWAYS_INLINE void SetDexCacheResolvedMethod(uint16_t method_index,
H A Ddex_file_verifier_test.cc313 uint32_t method_index = it.GetMemberIndex(); local
314 uint32_t name_index = dex_file->GetMethodId(method_index).name_idx_;
319 *method_idx = method_index;
H A Ddex_file.cc1251 uint32_t method_index = method->GetDexMethodIndex(); local
1254 if (method_annotations[i].method_idx_ == method_index) {
1272 uint32_t method_index = method->GetDexMethodIndex(); local
1275 if (parameter_annotations[i].method_idx_ == method_index) {
H A Dclass_linker.cc2849 for (size_t method_index = 0; it.HasNextDirectMethod(); ++method_index, it.Next()) {
2850 ArtMethod* method = klass->GetDirectMethod(method_index, image_pointer_size_);
2857 OatFile::OatMethod oat_method = oat_class.GetOatMethod(method_index);
/art/compiler/
H A Doat_test.cc422 size_t method_index = 0; local
424 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file);
425 ++method_index;
433 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file);
434 ++method_index;
/art/runtime/jit/
H A Dprofile_compilation_info_test.cc55 uint16_t method_index,
57 return info->AddMethodIndex(dex_location, checksum, method_index);
53 AddMethod(const std::string& dex_location, uint32_t checksum, uint16_t method_index, ProfileCompilationInfo* info) argument
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h48 uint32_t method_index = inline_info.GetMethodIndexAtDepth(encoding, inlining_depth); local
51 ArtMethod* caller = outer_method->GetDexCacheResolvedMethod(method_index, sizeof(void*));
80 *outer_method->GetDexFile(), method_index, dex_cache, class_loader, nullptr, invoke_type);
/art/runtime/quick/
H A Dinline_method_analyser.cc147 uint32_t method_index = invoke_direct->VRegB_35c(); local
150 method->GetDexCache()->GetResolvedMethod(method_index, pointer_size);
/art/compiler/driver/
H A Dcompiler_driver.h454 bool IsStringInit(uint32_t method_index, const DexFile* dex_file, int32_t* offset);
H A Dcompiler_driver.cc2887 bool CompilerDriver::IsStringInit(uint32_t method_index, const DexFile* dex_file, int32_t* offset) { argument
2890 *offset = inliner->GetOffsetForStringInit(method_index, pointer_size);
2891 return inliner->IsStringInitMethodIndex(method_index);
/art/oatdump/
H A Doatdump.cc505 size_t method_index = m->GetMethodIndex(); local
506 return oat_class.GetOatMethod(method_index).GetQuickCode();

Completed in 1684 milliseconds