Home
last modified time | relevance | path

Searched refs:quick_code (Results 1 – 12 of 12) sorted by relevance

/art/compiler/
Dcompiled_method.cc26 const ArrayRef<const uint8_t>& quick_code) in CompiledCode() argument
28 quick_code_(storage->DeduplicateCode(quick_code)), in CompiledCode()
99 const ArrayRef<const uint8_t>& quick_code, in CompiledMethod() argument
103 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod()
112 const ArrayRef<const uint8_t>& quick_code, in SwapAllocCompiledMethod() argument
121 quick_code, in SwapAllocCompiledMethod()
Dcompiled_method.h43 const ArrayRef<const uint8_t>& quick_code);
113 const ArrayRef<const uint8_t>& quick_code,
123 const ArrayRef<const uint8_t>& quick_code,
/art/test/661-oat-writer-layout/
Doat_writer_layout.cc42 const void* quick_code = in Java_Main_getOatMethodQuickCode() local
45 return static_cast<jlong>(reinterpret_cast<uintptr_t>(quick_code)); in Java_Main_getOatMethodQuickCode()
/art/runtime/
Dinstrumentation.cc209 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) in UpdateEntrypoints() argument
213 if (jit != nullptr && jit->GetCodeCache()->ContainsPc(quick_code)) { in UpdateEntrypoints()
216 CHECK_EQ(reinterpret_cast<uintptr_t>(quick_code) & 1, 1u); in UpdateEntrypoints()
220 method->SetEntryPointFromQuickCompiledCode(quick_code); in UpdateEntrypoints()
911 void Instrumentation::UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code) { in UpdateMethodsCodeImpl() argument
914 new_quick_code = quick_code; in UpdateMethodsCodeImpl()
920 if (class_linker->IsQuickResolutionStub(quick_code) || in UpdateMethodsCodeImpl()
921 class_linker->IsQuickToInterpreterBridge(quick_code)) { in UpdateMethodsCodeImpl()
922 new_quick_code = quick_code; in UpdateMethodsCodeImpl()
932 new_quick_code = quick_code; in UpdateMethodsCodeImpl()
[all …]
Dinstrumentation.h303 void UpdateMethodsCode(ArtMethod* method, const void* quick_code)
307 void UpdateNativeMethodsCodeToJitCode(ArtMethod* method, const void* quick_code)
315 void UpdateMethodsCodeForJavaDebuggable(ArtMethod* method, const void* quick_code)
647 void UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code)
Dclass_linker.cc3351 bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code) { in ShouldUseInterpreterEntrypoint() argument
3357 if (quick_code == nullptr) { in ShouldUseInterpreterEntrypoint()
3367 if (runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) { in ShouldUseInterpreterEntrypoint()
3382 if (quick_code == GetQuickInstrumentationEntryPoint()) { in ShouldUseInterpreterEntrypoint()
3395 return (jit == nullptr) || !jit->GetCodeCache()->ContainsPc(quick_code); in ShouldUseInterpreterEntrypoint()
3405 return !runtime->GetHeap()->IsInBootImageOatFile(quick_code); in ShouldUseInterpreterEntrypoint()
3455 const void* quick_code = nullptr; in FixupStaticTrampolines() local
3463 quick_code = oat_method.GetQuickCode(); in FixupStaticTrampolines()
3467 if (quick_code == nullptr && jit != nullptr) { in FixupStaticTrampolines()
3468 quick_code = jit->GetCodeCache()->GetSavedEntryPointOfPreCompiledMethod(method); in FixupStaticTrampolines()
[all …]
Dclass_linker.h722 static bool ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code)
/art/dex2oat/linker/
Doat_writer_test.cc80 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod() local
81 EXPECT_FALSE(quick_code.empty()); in CheckMethod()
82 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod()
83 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod()
85 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
Dimage_writer.cc3220 const uint8_t* quick_code; in GetQuickCode() local
3225 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point); in GetQuickCode()
3228 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info); in GetQuickCode()
3234 if (quick_code == nullptr) { in GetQuickCode()
3238 quick_code = GetOatAddress(StubType::kQuickGenericJNITrampoline); in GetQuickCode()
3243 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode()
3245 quick_code = GetOatAddress(StubType::kNterpTrampoline); in GetQuickCode()
3249 quick_code = GetOatAddress(StubType::kQuickToInterpreterBridge); in GetQuickCode()
3254 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode()
3256 return quick_code; in GetQuickCode()
[all …]
Doat_writer.cc1215 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local
1216 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod()
1327 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local
1328 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod()
1737 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local
1738 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod()
1773 patched_code_.assign(quick_code.begin(), quick_code.end()); in VisitMethod()
1774 quick_code = ArrayRef<const uint8_t>(patched_code_); in VisitMethod()
1908 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
/art/oatdump/
Doatdump.cc1508 const void* quick_code = oat_method.GetQuickCode(); in DumpCode() local
1513 if (code_size == 0 || quick_code == nullptr) { in DumpCode()
1528 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode()
1543 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode()
1982 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( in GetQuickOatCodeBegin() local
1985 if (class_linker->IsQuickResolutionStub(quick_code) || in GetQuickOatCodeBegin()
1986 class_linker->IsQuickToInterpreterBridge(quick_code) || in GetQuickOatCodeBegin()
1987 class_linker->IsNterpTrampoline(quick_code) || in GetQuickOatCodeBegin()
1988 class_linker->IsQuickGenericJniStub(quick_code) || in GetQuickOatCodeBegin()
1989 class_linker->IsJniDlsymLookupStub(quick_code) || in GetQuickOatCodeBegin()
[all …]
/art/runtime/interpreter/
Dinterpreter_common.cc72 const void* quick_code = method->GetEntryPointFromQuickCompiledCode(); in UseFastInterpreterToInterpreterInvoke() local
73 if (!runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) { in UseFastInterpreterToInterpreterInvoke()