Searched refs:code_size (Results 1 - 25 of 26) sorted by relevance

12

/art/compiler/jit/
H A Djit_logger.h97 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method)
99 WritePerfMapLog(ptr, code_size, method);
100 WriteJitDumpLog(ptr, code_size, method);
111 void WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method)
117 void WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method)
H A Djit_logger.cc53 void JitLogger::WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method) { argument
61 << code_size
270 void JitLogger::WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method) { argument
277 jit_code.size_ = sizeof(jit_code) + method_name.size() + 1 + code_size;
283 jit_code.code_size_ = code_size;
294 UNUSED(jit_dump_file_->WriteFully(ptr, code_size));
/art/compiler/debug/
H A Dmethod_debug_info.h42 uint32_t code_size; member in struct:art::debug::MethodDebugInfo
H A Delf_symtab_writer.h101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC);
H A Delf_debug_writer.cc61 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size);
147 max_address = std::max(max_address, mi.code_address + mi.code_size);
H A Delf_debug_loc_writer.h116 DCHECK_LE(pc_offset, method_info->code_size);
132 : method_info->code_address + method_info->code_size - compilation_unit_code_address;
H A Delf_debug_line_writer.h266 opcodes.AdvancePC(method_address + mi->code_size);
H A Delf_debug_frame_writer.h233 code_address, mi->code_size,
H A Delf_debug_info_writer.h145 uint64_t high_pc = low_pc + mi->code_size;
198 info_.WriteUdata(DW_AT_high_pc, mi->code_size);
/art/runtime/
H A Doat_quick_method_header.cc31 uint32_t code_size)
35 code_size_(code_size) {}
26 OatQuickMethodHeader(uint32_t vmap_table_offset, uint32_t method_info_offset, uint32_t frame_size_in_bytes, uint32_t core_spill_mask, uint32_t fp_spill_mask, uint32_t code_size) argument
H A Doat_quick_method_header.h40 uint32_t code_size);
H A Dnative_stack_dump.cc281 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); variable
282 return code <= pc && pc <= (code + code_size);
H A Dstack.cc626 uint32_t code_size = OatQuickMethodHeader::FromEntryPoint(code)->GetCodeSize(); local
628 CHECK(code_start <= pc && pc <= (code_start + code_size))
632 << " code_size=" << code_size; local
/art/compiler/
H A Dexception_test.cc65 uint32_t code_size = 12; local
66 for (size_t i = 0 ; i < code_size; i++) {
87 OatQuickMethodHeader method_header(stack_maps_offset, 0u, 4 * sizeof(void*), 0u, 0u, code_size);
97 fake_header_code_and_maps_.data() + (fake_header_code_and_maps_.size() - code_size);
106 (fake_header_code_and_maps_.size() - code_size)));
H A Dcommon_compiler_test.cc60 const uint32_t code_size = code.size(); local
74 code_size);
79 const size_t size = method_info.size() + vmap_table.size() + sizeof(method_header) + code_size;
87 const void* unaligned_code_ptr = chunk->data() + (size - code_size);
94 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size)));
/art/compiler/debug/dwarf/
H A Dheaders.h84 uint64_t code_size,
114 writer.PushUint64(code_size);
117 writer.PushUint32(code_size);
80 WriteFDE(bool is64bit, uint64_t section_address, uint64_t cie_address, uint64_t code_address, uint64_t code_size, const ArrayRef<const uint8_t>& opcodes, CFIFormat format, uint64_t buffer_address, std::vector<uint8_t>* buffer, std::vector<uintptr_t>* patch_locations) argument
/art/runtime/jit/
H A Djit_code_cache.cc224 size_t code_size = max_capacity - data_size; local
225 DCHECK_EQ(code_size + data_size, max_capacity);
241 code_size = initial_capacity - data_size;
242 DCHECK_EQ(code_size + data_size, initial_capacity);
246 code_size,
394 size_t code_size,
409 code_size,
427 code_size,
734 size_t code_size,
746 size_t total_size = header_size + code_size;
385 CommitCode(Thread* self, ArtMethod* method, uint8_t* stack_map, uint8_t* method_info, uint8_t* roots_data, size_t frame_size_in_bytes, size_t core_spill_mask, size_t fp_spill_mask, const uint8_t* code, size_t code_size, size_t data_size, bool osr, Handle<mirror::ObjectArray<mirror::Object>> roots, bool has_should_deoptimize_flag, const ArenaSet<ArtMethod*>& cha_single_implementation_list) argument
725 CommitCodeInternal(Thread* self, ArtMethod* method, uint8_t* stack_map, uint8_t* method_info, uint8_t* roots_data, size_t frame_size_in_bytes, size_t core_spill_mask, size_t fp_spill_mask, const uint8_t* code, size_t code_size, size_t data_size, bool osr, Handle<mirror::ObjectArray<mirror::Object>> roots, bool has_should_deoptimize_flag, const ArenaSet<ArtMethod*>& cha_single_implementation_list) argument
1825 AllocateCode(size_t code_size) argument
[all...]
H A Djit_code_cache.h141 size_t code_size,
289 size_t code_size,
361 uint8_t* AllocateCode(size_t code_size) REQUIRES(lock_);
/art/oatdump/
H A Doatdump.cc191 info.code_size = 0; /* The symbol lasts until the next symbol. */ \
325 info.code_size = method_header->GetCodeSize();
1321 uint32_t code_size = oat_method.GetQuickCodeSize(); local
1323 if (resolved_addr2instr_ > code_offset + code_size) {
1459 uint64_t aligned_code_end = aligned_code_begin + code_size;
1460 stats_.AddBitsIfUnique(Stats::kByteKindCode, code_size * kBitsPerByte, code);
1468 code_size,
1483 code_size, code_size_offset);
1490 } else if (code_size > kMaxCodeSize) {
1495 code_size, kMaxCodeSiz
1804 DumpCode(VariableIndentationOutputStream* vios, const OatFile::OatMethod& oat_method, const CodeItemDataAccessor& code_item_accessor, bool bad_input, size_t code_size) argument
[all...]
/art/dex2oat/linker/
H A Doat_writer_test.cc82 size_t code_size = quick_code.size() * sizeof(quick_code[0]); local
83 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size))
84 << method->PrettyMethod() << " " << code_size;
85 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size));
H A Doat_writer.cc1152 uint32_t code_size = quick_code.size() * sizeof(uint8_t);
1157 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) {
1265 uint32_t code_size = quick_code.size() * sizeof(uint8_t);
1288 if (code_size != 0) {
1327 code_size);
1332 offset_ += code_size;
1335 uintptr_t base_loc = offset_ - code_size - writer_->oat_header_->GetExecutableOffset();
1344 // Exclude quickened dex methods (code_size == 0) since they have no native code.
1345 if (generate_debug_info_ && code_size != 0) {
1364 info.code_size
1746 uint32_t code_size = quick_code.size() * sizeof(uint8_t); local
[all...]
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64.cc75 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { argument
80 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size;
/art/compiler/optimizing/
H A Dcode_generator.cc438 size_t code_size = GetAssembler()->CodeSize(); local
439 uint8_t* buffer = allocator->Allocate(code_size);
441 MemoryRegion code(buffer, code_size);
H A Doptimizing_compiler.cc1248 info.code_size = jni_compiled_method.GetCode().size();
1372 info.code_size = code_allocator.GetSize();
/art/compiler/linker/arm/
H A Drelative_patcher_arm_base.cc263 info.code_size = data.CodeSize();

Completed in 198 milliseconds

12