Searched refs:quick_code (Results 1 - 10 of 10) sorted by relevance

/art/compiler/
H A Dcompiled_method.cc26 const ArrayRef<const uint8_t>& quick_code)
29 quick_code_(compiler_driver_->GetCompiledMethodStorage()->DeduplicateCode(quick_code)) {
104 const ArrayRef<const uint8_t>& quick_code,
112 : CompiledCode(driver, instruction_set, quick_code),
125 const ArrayRef<const uint8_t>& quick_code,
138 quick_code,
25 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code) argument
102 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const SrcMapElem>& src_mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches) argument
122 SwapAllocCompiledMethod( CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const SrcMapElem>& src_mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches) argument
H A Dcompiled_method.h40 const ArrayRef<const uint8_t>& quick_code);
375 const ArrayRef<const uint8_t>& quick_code,
389 const ArrayRef<const uint8_t>& quick_code,
H A Doat_test.cc81 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode(); local
82 EXPECT_FALSE(quick_code.empty());
83 size_t code_size = quick_code.size() * sizeof(quick_code[0]);
84 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size))
86 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size));
H A Dimage_writer.cc2217 const uint8_t* quick_code; local
2222 quick_code = reinterpret_cast<const uint8_t*>(quick_oat_entry_point);
2225 quick_code = GetOatAddressForOffset(quick_oat_code_offset, image_info);
2229 if (quick_code != nullptr && (!method->IsStatic() || method->IsConstructor() ||
2232 } else if (quick_code == nullptr && method->IsNative() &&
2235 quick_code = GetOatAddress(kOatAddressQuickGenericJNITrampoline);
2236 } else if (quick_code == nullptr && !method->IsNative()) {
2238 quick_code = GetOatAddress(kOatAddressQuickToInterpreterBridge);
2244 quick_code = GetOatAddress(kOatAddressQuickResolutionTrampoline);
2246 if (!IsInBootOatFile(quick_code)) {
2299 const uint8_t* quick_code = GetQuickCode(orig, image_info, &quick_is_interpreted); local
[all...]
H A Doat_writer.cc687 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode();
688 uint32_t code_size = quick_code.size() * sizeof(uint8_t);
730 DCHECK(!quick_code.empty() || vmap_table_offset != 0);
1002 ArrayRef<const uint8_t> quick_code = compiled_method->GetQuickCode();
1003 uint32_t code_size = quick_code.size() * sizeof(uint8_t);
1039 patched_code_.assign(quick_code.begin(), quick_code.end());
1040 quick_code = ArrayRef<const uint8_t>(patched_code_);
1097 if (!out->WriteFully(quick_code.data(), code_size)) {
/art/runtime/
H A Dinstrumentation.cc103 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code)
105 method->SetEntryPointFromQuickCompiledCode(quick_code);
690 void Instrumentation::UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code) { argument
693 new_quick_code = quick_code;
699 if (class_linker->IsQuickResolutionStub(quick_code) ||
700 class_linker->IsQuickToInterpreterBridge(quick_code)) {
701 new_quick_code = quick_code;
705 new_quick_code = quick_code;
712 void Instrumentation::UpdateMethodsCode(ArtMethod* method, const void* quick_code) { argument
714 UpdateMethodsCodeImpl(method, quick_code);
717 UpdateMethodsCodeFromDebugger(ArtMethod* method, const void* quick_code) argument
805 const void* quick_code = class_linker->GetQuickOatCodeFor(method); local
[all...]
H A Dinstrumentation.h227 void UpdateMethodsCode(ArtMethod* method, const void* quick_code)
231 void UpdateMethodsCodeFromDebugger(ArtMethod* method, const void* quick_code)
500 void UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code)
H A Dclass_linker.cc2775 bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code) { argument
2780 if (quick_code == nullptr) {
2790 if (runtime->GetClassLinker()->IsQuickToInterpreterBridge(quick_code)) {
2806 return !runtime->GetHeap()->IsInBootImageOatFile(quick_code);
2812 return runtime->GetHeap()->IsInBootImageOatFile(quick_code);
2855 const void* quick_code = nullptr; local
2858 quick_code = oat_method.GetQuickCode();
2861 if (quick_code == nullptr && method->IsNative()) {
2862 quick_code = GetQuickGenericJniStub();
2863 } else if (ShouldUseInterpreterEntrypoint(method, quick_code)) {
2896 const void* quick_code = method->GetEntryPointFromQuickCompiledCode(); local
[all...]
H A Dclass_linker.h605 static bool ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* quick_code)
/art/oatdump/
H A Doatdump.cc1219 const void* quick_code = oat_method.GetQuickCode(); local
1224 if (code_size == 0 || quick_code == nullptr) {
1230 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code);
1251 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code);
1625 const void* quick_code = m->GetEntryPointFromQuickCompiledCodePtrSize( local
1627 if (Runtime::Current()->GetClassLinker()->IsQuickResolutionStub(quick_code)) {
1628 quick_code = oat_dumper_->GetQuickOatCode(m);
1631 quick_code = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(quick_code) & ~0x1);
1633 return quick_code;
[all...]

Completed in 116 milliseconds