/art/compiler/jit/ |
D | jit_logger.h | 97 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method) in WriteLog() argument 99 WritePerfMapLog(ptr, code_size, method); in WriteLog() 100 WriteJitDumpLog(ptr, code_size, method); in WriteLog() 111 void WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method) 117 void WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method)
|
D | jit_logger.cc | 53 void JitLogger::WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method) { in WritePerfMapLog() argument 61 << code_size in WritePerfMapLog() 270 void JitLogger::WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method) { in WriteJitDumpLog() argument 277 jit_code.size_ = sizeof(jit_code) + method_name.size() + 1 + code_size; in WriteJitDumpLog() 283 jit_code.code_size_ = code_size; in WriteJitDumpLog() 294 UNUSED(jit_dump_file_->WriteFully(ptr, code_size)); in WriteJitDumpLog()
|
/art/compiler/ |
D | exception_test.cc | 58 uint32_t code_size = 12; in SetUp() local 59 for (size_t i = 0 ; i < code_size; i++) { in SetUp() 79 OatQuickMethodHeader method_header(stack_maps_offset, 0u, 4 * sizeof(void*), 0u, 0u, code_size); in SetUp() 89 fake_header_code_and_maps_.data() + (fake_header_code_and_maps_.size() - code_size); in SetUp() 98 (fake_header_code_and_maps_.size() - code_size))); in SetUp()
|
D | common_compiler_test.cc | 59 const uint32_t code_size = code.size(); in MakeExecutable() local 73 code_size); in MakeExecutable() 78 const size_t size = method_info.size() + vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable() 86 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable() 93 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
|
D | oat_test.cc | 88 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() local 89 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod() 90 << method->PrettyMethod() << " " << code_size; in CheckMethod() 91 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
|
D | oat_writer.cc | 889 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local 913 if (code_size != 0) { in VisitMethod() 958 code_size); in VisitMethod() 963 offset_ += code_size; in VisitMethod() 966 uintptr_t base_loc = offset_ - code_size - writer_->oat_header_->GetExecutableOffset(); in VisitMethod() 977 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) { in VisitMethod() 993 info.code_size = code_size; in VisitMethod() 1335 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local 1455 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod() 1459 writer_->size_code_ += code_size; in VisitMethod() [all …]
|
/art/runtime/ |
D | oat_quick_method_header.cc | 30 uint32_t code_size) in OatQuickMethodHeader() argument 34 code_size_(code_size) {} in OatQuickMethodHeader()
|
D | native_stack_dump.cc | 278 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); in PcIsWithinQuickCode() local 279 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode()
|
D | oat_quick_method_header.h | 40 uint32_t code_size);
|
D | stack.cc | 625 uint32_t code_size = OatQuickMethodHeader::FromEntryPoint(code)->GetCodeSize(); in AssertPcIsWithinQuickCode() local 627 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode() 631 << " code_size=" << code_size; in AssertPcIsWithinQuickCode()
|
/art/compiler/debug/ |
D | method_debug_info.h | 39 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() 195 info.code_size = 0; // The symbol lasts until the next symbol. in MakeTrampolineInfos()
|
D | elf_symtab_writer.h | 86 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
|
D | elf_debug_loc_writer.h | 116 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations() 132 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
|
D | elf_debug_line_writer.h | 263 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
|
D | elf_debug_frame_writer.h | 234 code_address, mi->code_size, in WriteCFISection()
|
D | elf_debug_info_writer.h | 172 info_.WriteUdata(DW_AT_high_pc, mi->code_size); in Write()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 117 size_t code_size = max_capacity - data_size; in Create() local 118 DCHECK_EQ(code_size + data_size, max_capacity); in Create() 131 code_size = initial_capacity - data_size; in Create() 132 DCHECK_EQ(code_size + data_size, initial_capacity); in Create() 134 code_map, data_map.release(), code_size, data_size, max_capacity, garbage_collect_code); in Create() 233 size_t code_size, in CommitCode() argument 248 code_size, in CommitCode() 266 code_size, in CommitCode() 556 size_t code_size, in CommitCodeInternal() argument 567 size_t total_size = header_size + code_size; in CommitCodeInternal() [all …]
|
D | jit_code_cache.h | 115 size_t code_size, 269 size_t code_size, 329 uint8_t* AllocateCode(size_t code_size) REQUIRES(lock_);
|
/art/compiler/debug/dwarf/ |
D | headers.h | 84 uint64_t code_size, in WriteFDE() argument 114 writer.PushUint64(code_size); in WriteFDE() 117 writer.PushUint32(code_size); in WriteFDE()
|
/art/oatdump/ |
D | oatdump.cc | 296 info.code_size = method_header->GetCodeSize(); in WalkOatMethod() 1159 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local 1161 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod() 1292 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod() 1293 stats_.AddBitsIfUnique(Stats::kByteKindCode, code_size * kBitsPerByte, code); in DumpOatMethod() 1301 code_size, in DumpOatMethod() 1316 code_size, code_size_offset); in DumpOatMethod() 1323 } else if (code_size > kMaxCodeSize) { in DumpOatMethod() 1328 code_size, kMaxCodeSize, in DumpOatMethod() 1329 code_size, code_size_offset); in DumpOatMethod() [all …]
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 71 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { in MaxExtraSpace() argument 75 uint32_t alignment_bytes = CompiledMethod::AlignCode(code_size, kArm64) - code_size; in MaxExtraSpace()
|
/art/compiler/optimizing/ |
D | code_generator.cc | 284 size_t code_size = GetAssembler()->CodeSize(); in Finalize() local 285 uint8_t* buffer = allocator->Allocate(code_size); in Finalize() 287 MemoryRegion code(buffer, code_size); in Finalize()
|
D | optimizing_compiler.cc | 1269 info.code_size = code_allocator.GetSize(); in JitCompile()
|
/art/runtime/openjdkjvmti/include/ |
D | jvmti.h | 754 jint code_size,
|