/art/compiler/ |
D | compiled_method.cc | 26 const ArrayRef<const uint8_t>& quick_code) in CompiledCode() argument 28 quick_code_(storage->DeduplicateCode(quick_code)), in CompiledCode() 103 const ArrayRef<const uint8_t>& quick_code, in CompiledMethod() argument 107 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod() 116 const ArrayRef<const uint8_t>& quick_code, in SwapAllocCompiledMethod() argument 125 quick_code, in SwapAllocCompiledMethod()
|
D | compiled_method.h | 43 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/ |
D | oat_writer_layout.cc | 42 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/ |
D | instrumentation.cc | 189 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) in UpdateEntrypoints() argument 191 method->SetEntryPointFromQuickCompiledCode(quick_code); in UpdateEntrypoints() 860 void Instrumentation::UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code) { in UpdateMethodsCodeImpl() argument 863 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 869 if (class_linker->IsQuickResolutionStub(quick_code) || in UpdateMethodsCodeImpl() 870 class_linker->IsQuickToInterpreterBridge(quick_code)) { in UpdateMethodsCodeImpl() 871 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 887 profiling_info->SetSavedEntryPoint(quick_code); in UpdateMethodsCodeImpl() 891 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 898 void Instrumentation::UpdateNativeMethodsCodeToJitCode(ArtMethod* method, const void* quick_code) { in UpdateNativeMethodsCodeToJitCode() argument [all …]
|
D | instrumentation.h | 293 void UpdateMethodsCode(ArtMethod* method, const void* quick_code) 297 void UpdateNativeMethodsCodeToJitCode(ArtMethod* method, const void* quick_code) 305 void UpdateMethodsCodeForJavaDebuggable(ArtMethod* method, const void* quick_code) 613 void UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code)
|
D | class_linker.cc | 3353 bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code) { in ShouldUseInterpreterEntrypoint() argument 3359 if (quick_code == nullptr) { in ShouldUseInterpreterEntrypoint() 3369 if (runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) { in ShouldUseInterpreterEntrypoint() 3385 if (quick_code == GetQuickInstrumentationEntryPoint()) { in ShouldUseInterpreterEntrypoint() 3398 return (jit == nullptr) || !jit->GetCodeCache()->ContainsPc(quick_code); in ShouldUseInterpreterEntrypoint() 3408 return !runtime->GetHeap()->IsInBootImageOatFile(quick_code); in ShouldUseInterpreterEntrypoint() 3444 const void* quick_code = nullptr; in FixupStaticTrampolines() local 3447 quick_code = oat_method.GetQuickCode(); in FixupStaticTrampolines() 3450 if (quick_code == nullptr && Runtime::Current()->GetJit() != nullptr) { in FixupStaticTrampolines() 3451 quick_code = Runtime::Current()->GetJit()->GetCodeCache()->GetZygoteSavedEntryPoint(method); in FixupStaticTrampolines() [all …]
|
D | class_linker.h | 647 static bool ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code)
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 79 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod() local 80 EXPECT_FALSE(quick_code.empty()); in CheckMethod() 81 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() 82 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod() 84 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
|
D | image_writer.cc | 3373 const uint8_t* quick_code; in GetQuickCode() local 3378 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point); in GetQuickCode() 3381 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info); in GetQuickCode() 3385 if (quick_code != nullptr && (!method->IsStatic() || method->IsConstructor() || in GetQuickCode() 3388 } else if (quick_code == nullptr && method->IsNative() && in GetQuickCode() 3391 quick_code = GetOatAddress(StubType::kQuickGenericJNITrampoline); in GetQuickCode() 3392 } else if (quick_code == nullptr && !method->IsNative()) { in GetQuickCode() 3394 quick_code = GetOatAddress(StubType::kQuickToInterpreterBridge); in GetQuickCode() 3400 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode() 3402 if (!IsInBootOatFile(quick_code)) { in GetQuickCode() [all …]
|
D | oat_writer.cc | 1174 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1175 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1286 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1287 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1695 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1696 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1731 patched_code_.assign(quick_code.begin(), quick_code.end()); in VisitMethod() 1732 quick_code = ArrayRef<const uint8_t>(patched_code_); in VisitMethod() 1829 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
|
/art/oatdump/ |
D | oatdump.cc | 1609 const void* quick_code = oat_method.GetQuickCode(); in DumpCode() local 1614 if (code_size == 0 || quick_code == nullptr) { in DumpCode() 1624 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 1644 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 2139 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( in GetQuickOatCodeBegin() local 2141 if (Runtime::Current()->GetClassLinker()->IsQuickResolutionStub(quick_code)) { in GetQuickOatCodeBegin() 2142 quick_code = oat_dumper_->GetQuickOatCode(m); in GetQuickOatCodeBegin() 2145 quick_code = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(quick_code) & ~0x1); in GetQuickOatCodeBegin() 2147 return quick_code; in GetQuickOatCodeBegin()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 71 const void* quick_code = method->GetEntryPointFromQuickCompiledCode(); in UseFastInterpreterToInterpreterInvoke() local 72 if (!runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) { in UseFastInterpreterToInterpreterInvoke()
|