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

/art/compiler/
H A Dcompiled_method.cc23 const ArrayRef<const uint8_t>& quick_code)
26 SetCode(&quick_code, nullptr);
44 void CompiledCode::SetCode(const ArrayRef<const uint8_t>* quick_code, argument
50 if (quick_code != nullptr) {
51 CHECK(!quick_code->empty());
52 quick_code_ = compiler_driver_->DeduplicateCode(*quick_code);
145 const ArrayRef<const uint8_t>& quick_code,
153 : CompiledCode(driver, instruction_set, quick_code), frame_size_in_bytes_(frame_size_in_bytes),
200 const ArrayRef<const uint8_t>& quick_code,
210 alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_byte
22 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code) argument
143 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 uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info) argument
198 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 uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info) argument
215 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) argument
[all...]
H A Dcompiled_method.h41 const ArrayRef<const uint8_t>& quick_code);
59 void SetCode(const ArrayRef<const uint8_t>* quick_code,
111 const ArrayRef<const uint8_t>& quick_code,
123 const ArrayRef<const uint8_t>& quick_code,
140 const ArrayRef<const uint8_t>& quick_code,
151 const ArrayRef<const uint8_t>& quick_code,
H A Doat_test.cc62 const SwapVector<uint8_t>* quick_code = compiled_method->GetQuickCode(); local
63 EXPECT_TRUE(quick_code != nullptr);
64 size_t code_size = quick_code->size() * sizeof(quick_code[0]);
65 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size))
67 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size));
H A Delf_patcher.cc209 uintptr_t quick_code = reinterpret_cast<uintptr_t>(class_linker->GetQuickOatCodeFor(target)); local
210 DCHECK_NE(quick_code, 0U) << PrettyMethod(target);
217 uintptr_t code_offset = quick_code - code_base;
219 if (quick_code == reinterpret_cast<uintptr_t>(GetQuickToInterpreterBridge())) {
222 } else if (quick_code ==
239 quick_code = PointerToLowMemUInt32(reinterpret_cast<void*>(oat_data_addr + code_offset));
246 value = quick_code - patch_location + patch->RelativeOffset();
H A Dimage_writer.cc1084 const byte* quick_code = GetOatAddress(method->GetQuickOatCodeOffset()); local
1086 if (quick_code != nullptr &&
1089 } else if (quick_code == nullptr && method->IsNative() &&
1092 quick_code = GetOatAddress(quick_generic_jni_trampoline_offset_);
1093 } else if (quick_code == nullptr && !method->IsNative()) {
1095 quick_code = GetOatAddress(quick_to_interpreter_bridge_offset_);
1101 quick_code = GetOatAddress(quick_resolution_trampoline_offset_);
1103 return quick_code;
1178 const byte* quick_code = GetQuickCode(orig, &quick_is_interpreted); local
1179 copy->SetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(quick_code, target_ptr_size
[all...]
H A Doat_writer.cc346 const SwapVector<uint8_t>* quick_code = compiled_method->GetQuickCode(); local
348 CHECK(quick_code == nullptr);
354 CHECK(quick_code != nullptr);
358 uint32_t code_size = quick_code->size() * sizeof(uint8_t);
407 writer_->oat_header_->UpdateChecksum(&(*quick_code)[0], code_size);
586 const SwapVector<uint8_t>* quick_code = compiled_method->GetQuickCode(); local
587 if (quick_code != nullptr) {
606 uint32_t code_size = quick_code->size() * sizeof(uint8_t);
624 if (!out->WriteFully(&(*quick_code)[0], code_size)) {
/art/runtime/
H A Dinstrumentation.cc85 static void UpdateEntrypoints(mirror::ArtMethod* method, const void* quick_code,
91 method->SetEntryPointFromQuickCompiledCode(quick_code);
100 if (quick_code == GetQuickToInterpreterBridge() ||
101 quick_code == class_linker->GetQuickToInterpreterBridgeTrampoline() ||
102 (quick_code == class_linker->GetQuickResolutionTrampoline() &&
106 if (quick_code == GetQuickToInterpreterBridge()) {
110 } else if (quick_code == class_linker->GetQuickResolutionTrampoline()) {
679 void Instrumentation::UpdateMethodsCode(mirror::ArtMethod* method, const void* quick_code, argument
686 new_quick_code = quick_code;
699 if (quick_code
844 const void* quick_code = class_linker->GetQuickOatCodeFor(method); local
[all...]
H A Dclass_linker.cc2472 const void* quick_code = nullptr; local
2475 quick_code = oat_method.GetQuickCode();
2479 if (quick_code == nullptr) {
2526 mirror::ArtMethod* method, const void* quick_code, const void* portable_code)
2528 if ((quick_code == nullptr) && (portable_code == nullptr)) {
2583 const void* quick_code = nullptr; local
2587 quick_code = oat_method.GetQuickCode();
2589 const bool enter_interpreter = NeedsInterpreter(method, quick_code, portable_code);
2594 if (quick_code == nullptr && portable_code == nullptr && method->IsNative()) {
2595 quick_code
[all...]
H A Dinstrumentation.h196 void UpdateMethodsCode(mirror::ArtMethod* method, const void* quick_code,
/art/oatdump/
H A Doatdump.cc751 const void* quick_code = oat_method.GetQuickCode(); local
752 if (quick_code != nullptr) {
755 const uint8_t* native_pc = reinterpret_cast<const uint8_t*>(quick_code) +
773 const void* quick_code = oat_method.GetQuickCode(); local
774 if (quick_code == nullptr) {
924 const void* quick_code = oat_method.GetQuickCode(); local
929 if ((code_size == 0) || ((portable_code == nullptr) && (quick_code == nullptr))) {
932 } else if (quick_code != nullptr) {
933 const uint8_t* quick_native_pc = reinterpret_cast<const uint8_t*>(quick_code);
1210 const void* quick_code local
[all...]

Completed in 1601 milliseconds