Home
last modified time | relevance | path

Searched refs:quick_code (Results 1 – 11 of 11) 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()
938 profiling_info->SetSavedEntryPoint(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.h709 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.cc3377 const uint8_t* quick_code; in GetQuickCode() local
3382 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point); in GetQuickCode()
3385 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info); in GetQuickCode()
3388 if (quick_code == nullptr) { in GetQuickCode()
3391 quick_code = method->IsNative() in GetQuickCode()
3398 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode()
3400 return quick_code; in GetQuickCode()
3426 const void* quick_code; in CopyAndFixupMethod() local
3431 quick_code = GetOatAddress(StubType::kQuickIMTConflictTrampoline); in CopyAndFixupMethod()
3434 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in CopyAndFixupMethod()
[all …]
Doat_writer.cc1195 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local
1196 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod()
1307 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local
1308 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod()
1718 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local
1719 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod()
1754 patched_code_.assign(quick_code.begin(), quick_code.end()); in VisitMethod()
1755 quick_code = ArrayRef<const uint8_t>(patched_code_); in VisitMethod()
1858 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
/art/oatdump/
Doatdump.cc1608 const void* quick_code = oat_method.GetQuickCode(); in DumpCode() local
1613 if (code_size == 0 || quick_code == nullptr) { in DumpCode()
1623 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode()
1643 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode()
2136 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( in GetQuickOatCodeBegin() local
2139 if (class_linker->IsQuickResolutionStub(quick_code) || in GetQuickOatCodeBegin()
2140 class_linker->IsQuickToInterpreterBridge(quick_code) || in GetQuickOatCodeBegin()
2141 class_linker->IsQuickGenericJniStub(quick_code) || in GetQuickOatCodeBegin()
2142 class_linker->IsJniDlsymLookupStub(quick_code) || in GetQuickOatCodeBegin()
2143 class_linker->IsJniDlsymLookupCriticalStub(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()