Searched refs:quick_code (Results 1 – 10 of 10) sorted by relevance
/art/compiler/ |
D | compiled_method.cc | 26 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 | 41 const ArrayRef<const uint8_t>& quick_code); 364 const ArrayRef<const uint8_t>& quick_code, 378 const ArrayRef<const uint8_t>& quick_code,
|
D | oat_test.cc | 86 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in CheckMethod() local 87 EXPECT_FALSE(quick_code.empty()); in CheckMethod() 88 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() 89 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod() 91 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
|
D | image_writer.cc | 2540 const uint8_t* quick_code; in GetQuickCode() local 2545 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point); in GetQuickCode() 2548 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info); in GetQuickCode() 2552 if (quick_code != nullptr && (!method->IsStatic() || method->IsConstructor() || in GetQuickCode() 2555 } else if (quick_code == nullptr && method->IsNative() && in GetQuickCode() 2558 quick_code = GetOatAddress(kOatAddressQuickGenericJNITrampoline); in GetQuickCode() 2559 } else if (quick_code == nullptr && !method->IsNative()) { in GetQuickCode() 2561 quick_code = GetOatAddress(kOatAddressQuickToInterpreterBridge); in GetQuickCode() 2567 quick_code = GetOatAddress(kOatAddressQuickResolutionTrampoline); in GetQuickCode() 2569 if (!IsInBootOatFile(quick_code)) { in GetQuickCode() [all …]
|
D | oat_writer.cc | 888 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 889 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1334 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); in VisitMethod() local 1335 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() 1370 patched_code_.assign(quick_code.begin(), quick_code.end()); in VisitMethod() 1371 quick_code = ArrayRef<const uint8_t>(patched_code_); in VisitMethod() 1455 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
|
/art/runtime/ |
D | instrumentation.cc | 130 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) in UpdateEntrypoints() argument 132 method->SetEntryPointFromQuickCompiledCode(quick_code); in UpdateEntrypoints() 730 void Instrumentation::UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code) { in UpdateMethodsCodeImpl() argument 733 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 739 if (class_linker->IsQuickResolutionStub(quick_code) || in UpdateMethodsCodeImpl() 740 class_linker->IsQuickToInterpreterBridge(quick_code)) { in UpdateMethodsCodeImpl() 741 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 745 new_quick_code = quick_code; in UpdateMethodsCodeImpl() 752 void Instrumentation::UpdateMethodsCode(ArtMethod* method, const void* quick_code) { in UpdateMethodsCode() argument 754 UpdateMethodsCodeImpl(method, quick_code); in UpdateMethodsCode() [all …]
|
D | instrumentation.h | 261 void UpdateMethodsCode(ArtMethod* method, const void* quick_code) 265 void UpdateMethodsCodeForJavaDebuggable(ArtMethod* method, const void* quick_code) 556 void UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code)
|
D | class_linker.cc | 3066 bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code) { in ShouldUseInterpreterEntrypoint() argument 3071 if (quick_code == nullptr) { in ShouldUseInterpreterEntrypoint() 3081 if (runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) { in ShouldUseInterpreterEntrypoint() 3098 return (jit == nullptr) || !jit->GetCodeCache()->ContainsPc(quick_code); in ShouldUseInterpreterEntrypoint() 3108 return !runtime->GetHeap()->IsInBootImageOatFile(quick_code); in ShouldUseInterpreterEntrypoint() 3145 const void* quick_code = nullptr; in FixupStaticTrampolines() local 3148 quick_code = oat_method.GetQuickCode(); in FixupStaticTrampolines() 3151 if (quick_code == nullptr && method->IsNative()) { in FixupStaticTrampolines() 3152 quick_code = GetQuickGenericJniStub(); in FixupStaticTrampolines() 3153 } else if (ShouldUseInterpreterEntrypoint(method, quick_code)) { in FixupStaticTrampolines() [all …]
|
D | class_linker.h | 615 static bool ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code)
|
/art/oatdump/ |
D | oatdump.cc | 1647 const void* quick_code = oat_method.GetQuickCode(); in DumpCode() local 1652 if (code_size == 0 || quick_code == nullptr) { in DumpCode() 1736 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 1759 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code); in DumpCode() 2141 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( in GetQuickOatCodeBegin() local 2143 if (Runtime::Current()->GetClassLinker()->IsQuickResolutionStub(quick_code)) { in GetQuickOatCodeBegin() 2144 quick_code = oat_dumper_->GetQuickOatCode(m); in GetQuickOatCodeBegin() 2147 quick_code = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(quick_code) & ~0x1); in GetQuickOatCodeBegin() 2149 return quick_code; in GetQuickOatCodeBegin()
|