/art/compiler/jit/ |
D | jit_logger.h | 98 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)
|
D | jit_logger.cc | 52 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/ |
D | common_compiler_test.cc | 66 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()
|
D | exception_test.cc | 68 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/ |
D | method_debug_info.h | 42 uint32_t code_size; member
|
D | elf_debug_writer.cc | 66 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()
|
D | elf_symtab_writer.h | 101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
|
D | elf_debug_loc_writer.h | 107 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()
|
D | elf_debug_frame_writer.h | 204 mi->code_size, in WriteCFISection()
|
D | elf_debug_line_writer.h | 259 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
|
D | elf_debug_info_writer.h | 129 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/ |
D | headers.h | 72 uint64_t code_size, in WriteFDE() argument 82 writer.PushUint64(code_size); in WriteFDE() 85 writer.PushUint32(code_size); in WriteFDE()
|
/art/runtime/ |
D | oat_quick_method_header.h | 36 uint32_t code_size) in OatQuickMethodHeader() argument 38 code_size_(code_size) { in OatQuickMethodHeader()
|
D | native_stack_dump.cc | 314 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); in PcIsWithinQuickCode() local 315 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode()
|
D | stack.cc | 707 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/ |
D | relative_patcher_arm64.cc | 76 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/ |
D | jit_code_cache.cc | 967 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()
|
D | jit_memory_region.h | 82 const uint8_t* AllocateCode(size_t code_size) REQUIRES(Locks::jit_lock_);
|
D | jit_code_cache.h | 245 size_t code_size,
|
/art/oatdump/ |
D | oatdump.cc | 195 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/ |
D | oat_writer_test.cc | 82 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()
|
D | oat_writer.cc | 1207 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/ |
D | relative_patcher_arm_base.cc | 268 info.code_size = data.CodeSize(); in GenerateThunkDebugInfo()
|
/art/compiler/optimizing/ |
D | code_generator.cc | 441 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()
|
D | optimizing_compiler.cc | 1279 info.code_size = jni_compiled_method.GetCode().size(); in JitCompile() 1387 info.code_size = code_allocator.GetMemory().size(); in JitCompile()
|