Searched refs:portable_code (Results 1 – 9 of 9) sorted by relevance
/art/compiler/ |
D | oat_test.cc | 76 const SwapVector<uint8_t>* portable_code = compiled_method->GetPortableCode(); in CheckMethod() local 77 EXPECT_TRUE(portable_code != nullptr); in CheckMethod() 78 size_t code_size = portable_code->size() * sizeof(portable_code[0]); in CheckMethod() 79 EXPECT_EQ(0, memcmp(quick_oat_code, &portable_code[0], code_size)) in CheckMethod() 81 CHECK_EQ(0, memcmp(quick_oat_code, &portable_code[0], code_size)); in CheckMethod()
|
D | compiled_method.cc | 45 const ArrayRef<const uint8_t>* portable_code) { in SetCode() argument 46 if (portable_code != nullptr) { in SetCode() 47 CHECK(!portable_code->empty()); in SetCode() 48 portable_code_ = compiler_driver_->DeduplicateCode(*portable_code); in SetCode()
|
D | image_writer.cc | 1184 const byte* portable_code = GetOatAddress(orig->GetPortableOatCodeOffset()); in FixupMethod() local 1185 if (portable_code != nullptr && (!orig->IsStatic() || orig->IsConstructor() || in FixupMethod() 1188 } else if (portable_code == nullptr && orig->IsNative() && in FixupMethod() 1192 portable_code = GetOatAddress(portable_resolution_trampoline_offset_); in FixupMethod() 1193 } else if (portable_code == nullptr && !orig->IsNative()) { in FixupMethod() 1195 portable_code = GetOatAddress(portable_to_interpreter_bridge_offset_); in FixupMethod() 1201 portable_code = GetOatAddress(portable_resolution_trampoline_offset_); in FixupMethod() 1204 portable_code, target_ptr_size_); in FixupMethod()
|
D | compiled_method.h | 60 const ArrayRef<const uint8_t>* portable_code);
|
D | oat_writer.cc | 345 const SwapVector<uint8_t>* portable_code = compiled_method->GetPortableCode(); in VisitMethod() local 347 if (portable_code != nullptr) { in VisitMethod()
|
/art/runtime/ |
D | instrumentation.cc | 86 const void* portable_code, bool have_portable_code) in UpdateEntrypoints() argument 89 method->SetEntryPointFromPortableCompiledCode(portable_code); in UpdateEntrypoints() 108 DCHECK(portable_code == GetPortableToInterpreterBridge()); in UpdateEntrypoints() 112 DCHECK(portable_code == class_linker->GetPortableResolutionTrampoline()); in UpdateEntrypoints() 680 const void* portable_code, bool have_portable_code) { in UpdateMethodsCode() argument 685 new_portable_code = portable_code; in UpdateMethodsCode() 693 new_portable_code = portable_code; in UpdateMethodsCode() 703 DCHECK((portable_code == class_linker->GetPortableResolutionTrampoline()) || in UpdateMethodsCode() 704 (portable_code == GetPortableToInterpreterBridge())); in UpdateMethodsCode() 706 new_portable_code = portable_code; in UpdateMethodsCode() [all …]
|
D | instrumentation.h | 197 const void* portable_code, bool have_portable_code)
|
D | class_linker.cc | 2526 mirror::ArtMethod* method, const void* quick_code, const void* portable_code) in NeedsInterpreter() argument 2528 if ((quick_code == nullptr) && (portable_code == nullptr)) { in NeedsInterpreter() 2582 const void* portable_code = nullptr; in FixupStaticTrampolines() local 2586 portable_code = oat_method.GetPortableCode(); in FixupStaticTrampolines() 2589 const bool enter_interpreter = NeedsInterpreter(method, quick_code, portable_code); in FixupStaticTrampolines() 2594 if (quick_code == nullptr && portable_code == nullptr && method->IsNative()) { in FixupStaticTrampolines() 2597 portable_code = GetPortableToQuickBridge(); in FixupStaticTrampolines() 2601 portable_code = GetPortableToInterpreterBridge(); in FixupStaticTrampolines() 2607 if (portable_code == nullptr) { in FixupStaticTrampolines() 2608 portable_code = GetPortableToQuickBridge(); in FixupStaticTrampolines() [all …]
|
/art/oatdump/ |
D | oatdump.cc | 761 const void* portable_code = oat_method.GetPortableCode(); in DumpGcMap() local 762 CHECK(portable_code != nullptr); in DumpGcMap() 923 const void* portable_code = oat_method.GetPortableCode(); in DumpCode() local 929 if ((code_size == 0) || ((portable_code == nullptr) && (quick_code == nullptr))) { in DumpCode() 951 CHECK(portable_code != nullptr); in DumpCode()
|