Searched refs:quick_code (Results 1 – 9 of 9) sorted by relevance
/art/dex2oat/driver/ |
D | compiled_method.cc | 26 const ArrayRef<const uint8_t>& quick_code) in CompiledCode() argument 28 quick_code_(storage->DeduplicateCode(quick_code)), in CompiledCode() 63 const ArrayRef<const uint8_t>& quick_code, in CompiledMethod() argument 67 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod() 76 const ArrayRef<const uint8_t>& quick_code, in SwapAllocCompiledMethod() argument 85 quick_code, in SwapAllocCompiledMethod()
|
D | compiled_method.h | 43 const ArrayRef<const uint8_t>& quick_code); 107 const ArrayRef<const uint8_t>& quick_code, 117 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 | 252 static void UpdateEntryPoints(ArtMethod* method, const void* quick_code) in UpdateEntryPoints() argument 256 CHECK(CanHandleInitializationCheck(quick_code)); in UpdateEntryPoints() 259 if (jit != nullptr && jit->GetCodeCache()->ContainsPc(quick_code)) { in UpdateEntryPoints() 262 CHECK_EQ(reinterpret_cast<uintptr_t>(quick_code) & 1, 1u); in UpdateEntryPoints() 267 CHECK(CodeSupportsEntryExitHooks(quick_code, method)); in UpdateEntryPoints() 270 CHECK_EQ(quick_code, GetQuickToInterpreterBridge()); in UpdateEntryPoints() 275 if (method->GetEntryPointFromQuickCompiledCode() != quick_code) { in UpdateEntryPoints() 276 method->SetEntryPointFromQuickCompiledCode(quick_code); in UpdateEntryPoints() 291 static bool CanUseAotCode(const void* quick_code) in CanUseAotCode() argument 293 if (quick_code == nullptr) { in CanUseAotCode() [all …]
|
D | class_linker.cc | 3721 const void* quick_code = instrumentation->GetCodeForInvoke(method); in FixupStaticTrampolines() local 3722 if (method->IsNative() && IsQuickGenericJniStub(quick_code) && enable_boot_jni_stub) { in FixupStaticTrampolines() 3726 quick_code = boot_jni_stub; in FixupStaticTrampolines() 3729 instrumentation->UpdateMethodsCode(method, quick_code); in FixupStaticTrampolines() 3824 const void* quick_code = occi->GetAndAdvance(class_def_method_index); in LinkCode() local 3825 if (method->IsNative() && quick_code == nullptr) { in LinkCode() 3829 quick_code = boot_jni_stub; in LinkCode() 3832 runtime->GetInstrumentation()->InitializeMethodsCode(method, quick_code); in LinkCode()
|
/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 | 3480 const uint8_t* quick_code; in GetQuickCode() local 3485 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point); in GetQuickCode() 3488 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info); in GetQuickCode() 3493 if (quick_code == nullptr) { in GetQuickCode() 3497 quick_code = GetOatAddress(StubType::kQuickGenericJNITrampoline); in GetQuickCode() 3502 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode() 3504 quick_code = GetOatAddress(StubType::kNterpTrampoline); in GetQuickCode() 3508 quick_code = GetOatAddress(StubType::kQuickToInterpreterBridge); in GetQuickCode() 3513 quick_code = GetOatAddress(StubType::kQuickResolutionTrampoline); in GetQuickCode() 3515 return quick_code; in GetQuickCode() [all …]
|
D | oat_writer.cc | 1037 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1038 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1172 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1173 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1599 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1600 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1636 patched_code_.assign(quick_code.begin(), quick_code.end()); in VisitMethod() 1637 quick_code = ArrayRef<const uint8_t>(patched_code_); in VisitMethod() 1787 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
|
/art/oatdump/ |
D | oatdump.cc | 1526 const void* quick_code = oat_method.GetQuickCode(); in DumpCode() local 1531 if (code_size == 0 || quick_code == nullptr) { in DumpCode() 1546 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 1561 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 2075 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( in GetQuickOatCodeBegin() local 2078 if (class_linker->IsQuickResolutionStub(quick_code) || in GetQuickOatCodeBegin() 2079 class_linker->IsQuickToInterpreterBridge(quick_code) || in GetQuickOatCodeBegin() 2080 class_linker->IsNterpTrampoline(quick_code) || in GetQuickOatCodeBegin() 2081 class_linker->IsQuickGenericJniStub(quick_code) || in GetQuickOatCodeBegin() 2082 class_linker->IsJniDlsymLookupStub(quick_code) || in GetQuickOatCodeBegin() [all …]
|