Home
last modified time | relevance | path

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

12

/art/compiler/jit/
Djit_logger.h98 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method) in WriteLog() argument
100 WritePerfMapLog(ptr, code_size, method); in WriteLog()
101 WriteJitDumpLog(ptr, code_size, method); in WriteLog()
112 void WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method)
118 void WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method)
Djit_logger.cc52 void JitLogger::WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method) { in WritePerfMapLog() argument
60 << code_size in WritePerfMapLog()
269 void JitLogger::WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method) { in WriteJitDumpLog() argument
276 jit_code.size_ = sizeof(jit_code) + method_name.size() + 1 + code_size; in WriteJitDumpLog()
282 jit_code.code_size_ = code_size; in WriteJitDumpLog()
293 UNUSED(jit_dump_file_->WriteFully(ptr, code_size)); in WriteJitDumpLog()
/art/compiler/
Dcommon_compiler_test.cc66 const uint32_t code_size = code.size(); in MakeExecutable() local
70 OatQuickMethodHeader method_header(vmap_table_offset, code_size); in MakeExecutable()
75 const size_t size = vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable()
83 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable()
90 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
Dexception_test.cc68 uint32_t code_size = 12; in SetUp() local
69 for (size_t i = 0 ; i < code_size; i++) { in SetUp()
90 fake_header_code_and_maps_.resize(stack_maps_size + header_size + code_size + code_alignment); in SetUp()
96 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_.data(), code_size); in SetUp()
/art/compiler/debug/
Dmethod_debug_info.h42 uint32_t code_size; member
Delf_debug_writer.cc66 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size); in WriteDebugInfo()
191 builder->GetText()->AllocateVirtualMemory(method_info.code_address, method_info.code_size); in MakeElfFileForJIT()
212 DCHECK_EQ(sym.st_size, method_info.code_size); in MakeElfFileForJIT()
219 DCHECK_EQ(fde->sym_size, method_info.code_size); in MakeElfFileForJIT()
Delf_symtab_writer.h101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
Delf_debug_loc_writer.h107 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations()
123 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
Delf_debug_frame_writer.h204 mi->code_size, in WriteCFISection()
Delf_debug_line_writer.h259 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
Delf_debug_info_writer.h129 uint64_t high_pc = low_pc + mi->code_size; in Write()
182 info_.WriteUdata(DW_AT_high_pc, mi->code_size); in Write()
/art/libelffile/dwarf/
Dheaders.h72 uint64_t code_size, in WriteFDE() argument
82 writer.PushUint64(code_size); in WriteFDE()
85 writer.PushUint32(code_size); in WriteFDE()
/art/runtime/
Doat_quick_method_header.h36 uint32_t code_size) in OatQuickMethodHeader() argument
38 code_size_(code_size) { in OatQuickMethodHeader()
Dnative_stack_dump.cc314 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); in PcIsWithinQuickCode() local
315 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode()
Dstack.cc707 uint32_t code_size = OatQuickMethodHeader::FromEntryPoint(code)->GetCodeSize(); in AssertPcIsWithinQuickCode() local
709 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode()
713 << " code_size=" << code_size; in AssertPcIsWithinQuickCode()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc76 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { in MaxExtraSpace() argument
81 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
/art/runtime/jit/
Djit_code_cache.cc967 size_t code_size, in Reserve() argument
973 code_size = OatQuickMethodHeader::InstructionAlignedSize() + code_size; in Reserve()
985 code = region->AllocateCode(code_size); in Reserve()
995 << PrettySize(code_size) in Reserve()
1004 *reserved_code = ArrayRef<const uint8_t>(code, code_size); in Reserve()
1008 histogram_code_memory_use_.AddValue(code_size); in Reserve()
1009 if (code_size > kCodeSizeLogThreshold) { in Reserve()
1011 << PrettySize(code_size) in Reserve()
Djit_memory_region.h82 const uint8_t* AllocateCode(size_t code_size) REQUIRES(Locks::jit_lock_);
Djit_code_cache.h245 size_t code_size,
/art/oatdump/
Doatdump.cc195 info.code_size = 0; /* The symbol lasts until the next symbol. */ \ in Symbolize()
318 info.code_size = method_header->GetCodeSize(); in WalkOatMethod()
1135 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local
1137 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod()
1273 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod()
1275 stats_.Child("Code")->AddBytes(code_size); in DumpOatMethod()
1284 code_size, in DumpOatMethod()
1299 code_size, code_size_offset); in DumpOatMethod()
1306 } else if (code_size > kMaxCodeSize) { in DumpOatMethod()
1311 code_size, kMaxCodeSize, in DumpOatMethod()
[all …]
/art/dex2oat/linker/
Doat_writer_test.cc82 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() local
83 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod()
84 << method->PrettyMethod() << " " << code_size; in CheckMethod()
85 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
Doat_writer.cc1207 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1212 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) { in VisitMethod()
1319 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1342 if (code_size != 0) { in VisitMethod()
1368 *method_header = OatQuickMethodHeader(vmap_table_offset, code_size); in VisitMethod()
1373 offset_ += code_size; in VisitMethod()
1377 if (generate_debug_info_ && code_size != 0) { in VisitMethod()
1397 info.code_size = code_size; in VisitMethod()
1730 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1869 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc268 info.code_size = data.CodeSize(); in GenerateThunkDebugInfo()
/art/compiler/optimizing/
Dcode_generator.cc441 size_t code_size = GetAssembler()->CodeSize(); in Finalize() local
442 uint8_t* buffer = allocator->Allocate(code_size); in Finalize()
444 MemoryRegion code(buffer, code_size); in Finalize()
Doptimizing_compiler.cc1279 info.code_size = jni_compiled_method.GetCode().size(); in JitCompile()
1387 info.code_size = code_allocator.GetMemory().size(); in JitCompile()

12