Searched refs:quick_code (Results 1 – 11 of 11) sorted by relevance
/art/compiler/ |
D | compiled_method.cc | 27 const ArrayRef<const uint8_t>& quick_code) in CompiledCode() argument 29 quick_code_(compiler_driver_->GetCompiledMethodStorage()->DeduplicateCode(quick_code)), in CompiledCode() 104 const ArrayRef<const uint8_t>& quick_code, in CompiledMethod() argument 112 : CompiledCode(driver, instruction_set, quick_code), in CompiledMethod() 125 const ArrayRef<const uint8_t>& quick_code, in SwapAllocCompiledMethod() argument 138 quick_code, in SwapAllocCompiledMethod()
|
D | compiled_method.h | 44 const ArrayRef<const uint8_t>& quick_code); 114 const ArrayRef<const uint8_t>& quick_code, 128 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 | 135 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) in UpdateEntrypoints() argument 137 method->SetEntryPointFromQuickCompiledCode(quick_code); in UpdateEntrypoints() 776 void Instrumentation::UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code) { in UpdateMethodsCodeImpl() argument 779 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 785 if (class_linker->IsQuickResolutionStub(quick_code) || in UpdateMethodsCodeImpl() 786 class_linker->IsQuickToInterpreterBridge(quick_code)) { in UpdateMethodsCodeImpl() 787 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 791 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 798 void Instrumentation::UpdateNativeMethodsCodeToJitCode(ArtMethod* method, const void* quick_code) { in UpdateNativeMethodsCodeToJitCode() argument 802 const void* new_quick_code = quick_code; in UpdateNativeMethodsCodeToJitCode() [all …]
|
D | instrumentation.h | 280 void UpdateMethodsCode(ArtMethod* method, const void* quick_code) 284 void UpdateNativeMethodsCodeToJitCode(ArtMethod* method, const void* quick_code) 292 void UpdateMethodsCodeForJavaDebuggable(ArtMethod* method, const void* quick_code) 610 void UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code)
|
D | class_linker.cc | 2908 bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code) { in ShouldUseInterpreterEntrypoint() argument 2913 if (quick_code == nullptr) { in ShouldUseInterpreterEntrypoint() 2923 if (runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) { in ShouldUseInterpreterEntrypoint() 2945 return (jit == nullptr) || !jit->GetCodeCache()->ContainsPc(quick_code); in ShouldUseInterpreterEntrypoint() 2955 return !runtime->GetHeap()->IsInBootImageOatFile(quick_code); in ShouldUseInterpreterEntrypoint() 2992 const void* quick_code = nullptr; in FixupStaticTrampolines() local 2995 quick_code = oat_method.GetQuickCode(); in FixupStaticTrampolines() 2998 if (quick_code == nullptr && method->IsNative()) { in FixupStaticTrampolines() 2999 quick_code = GetQuickGenericJniStub(); in FixupStaticTrampolines() 3000 } else if (ShouldUseInterpreterEntrypoint(method, quick_code)) { in FixupStaticTrampolines() [all …]
|
D | class_linker.h | 662 static bool ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code)
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 80 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()
|
D | image_writer.cc | 2567 const uint8_t* quick_code; in GetQuickCode() local 2572 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point); in GetQuickCode() 2575 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info); in GetQuickCode() 2579 if (quick_code != nullptr && (!method->IsStatic() || method->IsConstructor() || in GetQuickCode() 2582 } else if (quick_code == nullptr && method->IsNative() && in GetQuickCode() 2585 quick_code = GetOatAddress(StubType::kQuickGenericJNITrampoline); in GetQuickCode() 2586 } else if (quick_code == nullptr && !method->IsNative()) { in GetQuickCode() 2588 quick_code = GetOatAddress(StubType::kQuickToInterpreterBridge); in GetQuickCode() 2594 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode() 2596 if (!IsInBootOatFile(quick_code)) { in GetQuickCode() [all …]
|
D | oat_writer.cc | 1151 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1152 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1264 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1265 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1745 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1746 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1781 patched_code_.assign(quick_code.begin(), quick_code.end()); in VisitMethod() 1782 quick_code = ArrayRef<const uint8_t>(patched_code_); in VisitMethod() 1882 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
|
/art/oatdump/ |
D | oatdump.cc | 1808 const void* quick_code = oat_method.GetQuickCode(); in DumpCode() local 1813 if (code_size == 0 || quick_code == nullptr) { in DumpCode() 1899 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 1922 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 2336 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( in GetQuickOatCodeBegin() local 2338 if (Runtime::Current()->GetClassLinker()->IsQuickResolutionStub(quick_code)) { in GetQuickOatCodeBegin() 2339 quick_code = oat_dumper_->GetQuickOatCode(m); in GetQuickOatCodeBegin() 2342 quick_code = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(quick_code) & ~0x1); in GetQuickOatCodeBegin() 2344 return quick_code; in GetQuickOatCodeBegin()
|