/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 | 55 const uint32_t code_size = code.size(); in MakeExecutable() local 59 OatQuickMethodHeader method_header(vmap_table_offset, code_size); in MakeExecutable() 64 const size_t size = vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable() 72 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable() 79 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 | 65 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size); in WriteDebugInfo() 190 builder->GetText()->AllocateVirtualMemory(method_info.code_address, method_info.code_size); in MakeElfFileForJIT() 211 DCHECK_EQ(sym.st_size, method_info.code_size); in MakeElfFileForJIT() 218 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 | 115 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations() 131 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
|
D | elf_debug_line_writer.h | 261 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
|
D | elf_debug_frame_writer.h | 224 mi->code_size, in WriteCFISection()
|
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 | 35 uint32_t code_size) in OatQuickMethodHeader() argument 37 code_size_(code_size) { in OatQuickMethodHeader()
|
D | native_stack_dump.cc | 310 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); in PcIsWithinQuickCode() local 311 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode()
|
D | stack.cc | 609 uint32_t code_size = OatQuickMethodHeader::FromEntryPoint(code)->GetCodeSize(); in AssertPcIsWithinQuickCode() local 611 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode() 615 << " code_size=" << code_size; in AssertPcIsWithinQuickCode()
|
/art/runtime/jit/ |
D | jit_code_cache.h | 138 size_t code_size, 299 size_t code_size, 391 uint8_t* AllocateCode(size_t code_size) REQUIRES(lock_);
|
D | jit_code_cache.cc | 604 size_t code_size, in CommitCode() argument 615 code_size, in CommitCode() 629 code_size, in CommitCode() 979 size_t code_size, in CommitCodeInternal() argument 1008 size_t total_size = header_size + code_size; in CommitCodeInternal() 1019 std::copy(code, code + code_size, code_ptr); in CommitCodeInternal() 1029 code_size); in CommitCodeInternal() 1178 histogram_code_memory_use_.AddValue(code_size); in CommitCodeInternal() 1179 if (code_size > kCodeSizeLogThreshold) { in CommitCodeInternal() 1181 << PrettySize(code_size) in CommitCodeInternal()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 75 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { in MaxExtraSpace() argument 80 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
|
/art/oatdump/ |
D | oatdump.cc | 199 info.code_size = 0; /* The symbol lasts until the next symbol. */ \ in Symbolize() 321 info.code_size = method_header->GetCodeSize(); in WalkOatMethod() 1132 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local 1134 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod() 1270 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod() 1272 stats_.Child("Code")->AddBytes(code_size); in DumpOatMethod() 1281 code_size, in DumpOatMethod() 1296 code_size, code_size_offset); in DumpOatMethod() 1303 } else if (code_size > kMaxCodeSize) { in DumpOatMethod() 1308 code_size, kMaxCodeSize, in DumpOatMethod() [all …]
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 81 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() local 82 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod() 83 << method->PrettyMethod() << " " << code_size; in CheckMethod() 84 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
|
D | oat_writer.cc | 1175 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local 1180 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) { in VisitMethod() 1287 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local 1310 if (code_size != 0) { in VisitMethod() 1336 *method_header = OatQuickMethodHeader(vmap_table_offset, code_size); in VisitMethod() 1341 offset_ += code_size; in VisitMethod() 1345 if (generate_debug_info_ && code_size != 0) { in VisitMethod() 1365 info.code_size = code_size; in VisitMethod() 1696 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local 1829 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 | 446 size_t code_size = GetAssembler()->CodeSize(); in Finalize() local 447 uint8_t* buffer = allocator->Allocate(code_size); in Finalize() 449 MemoryRegion code(buffer, code_size); in Finalize()
|
D | optimizing_compiler.cc | 1328 info.code_size = jni_compiled_method.GetCode().size(); in JitCompile() 1437 info.code_size = code_allocator.GetMemory().size(); in JitCompile()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 754 jint code_size,
|