Home
last modified time | relevance | path

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

/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.cc55 const uint32_t code_size = code.size(); in CodeAndMetadata() local
56 CHECK_NE(code_size, 0u); in CodeAndMetadata()
63 const uint32_t capacity = RoundUp(code_offset + code_size, page_size); in CodeAndMetadata()
91 CHECK_LE(code_size, static_cast<size_t>(rw_map_.End() - code_addr)); in CodeAndMetadata()
92 memcpy(code_addr, code.data(), code_size); in CodeAndMetadata()
Dexception_test.cc73 uint32_t code_size = 12; in SetUp() local
74 for (size_t i = 0 ; i < code_size; i++) { in SetUp()
93 stack_maps.EndMethod(code_size); in SetUp()
100 fake_header_code_and_maps_size_ = stack_maps_size + header_size + code_size + code_alignment; in SetUp()
/art/libelffile/dwarf/
Dheaders.h68 uint64_t code_size, in WriteFDE() argument
78 writer.PushUint64(code_size); in WriteFDE()
81 writer.PushUint32(code_size); in WriteFDE()
/art/compiler/debug/
Dmethod_debug_info.h43 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()
190 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()
218 DCHECK_EQ(fde->sym_size, method_info.code_size); in MakeElfFileForJIT()
Delf_debug_loc_writer.h111 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations()
127 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
Delf_symtab_writer.h158 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
Delf_debug_line_writer.h261 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
Delf_debug_frame_writer.h230 mi->code_size, in WriteCFISection()
Delf_debug_info_writer.h130 uint64_t high_pc = low_pc + mi->code_size; in Write()
183 info_.WriteUdata(DW_AT_high_pc, mi->code_size); in Write()
/art/runtime/arch/x86/
Dfault_handler_x86.cc306 size_t code_size = method_header->GetCodeSize(); in Action() local
307 CHECK_LT(offset, code_size); in Action()
308 size_t max_instr_size = code_size - offset; in Action()
/art/compiler/optimizing/
Dstack_map_stream.cc79 void StackMapStream::EndMethod(size_t code_size) { in EndMethod() argument
82 code_size_ = code_size; in EndMethod()
94 uint32_t packed_code_size = StackMap::PackNativePc(code_size, instruction_set_); in EndMethod()
102 CHECK_EQ(code_info.code_size_, code_size); in EndMethod()
Dstack_map_stream.h71 void EndMethod(size_t code_size);
Doptimizing_compiler.cc1165 size_t code_size, in CreateJniStackMap() argument
1177 stack_map_stream->EndMethod(code_size); in CreateJniStackMap()
1342 info.code_size = jni_compiled_method.GetCode().size(); in JitCompile()
1449 info.code_size = codegen->GetAssembler()->CodeSize(), in JitCompile()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc80 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { in MaxExtraSpace() argument
85 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
/art/oatdump/
Doatdump.cc201 info.code_size = 0; /* The symbol lasts until the next symbol. */ \ in Symbolize()
324 info.code_size = method_header->GetCodeSize(); in WalkOatMethod()
1138 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local
1140 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod()
1276 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod()
1278 stats_["Code"].AddBytes(code_size); in DumpOatMethod()
1286 code_size, in DumpOatMethod()
1302 code_size); in DumpOatMethod()
1309 } else if (code_size > kMaxCodeSize) { in DumpOatMethod()
1314 code_size, in DumpOatMethod()
[all …]
/art/runtime/jit/
Djit_code_cache.cc959 size_t code_size, in Reserve() argument
965 code_size = OatQuickMethodHeader::InstructionAlignedSize() + code_size; in Reserve()
976 code = region->AllocateCode(code_size); in Reserve()
986 << PrettySize(code_size) in Reserve()
995 *reserved_code = ArrayRef<const uint8_t>(code, code_size); in Reserve()
999 histogram_code_memory_use_.AddValue(code_size); in Reserve()
1000 if (code_size > kCodeSizeLogThreshold) { in Reserve()
1002 << PrettySize(code_size) in Reserve()
Djit_memory_region.h82 const uint8_t* AllocateCode(size_t code_size) REQUIRES(Locks::jit_lock_);
Djit_code_cache.h252 size_t code_size,
/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.cc1038 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1043 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) { in VisitMethod()
1173 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1196 if (code_size != 0) { in VisitMethod()
1225 offset_ += code_size; in VisitMethod()
1229 if (generate_debug_info_ && code_size != 0) { in VisitMethod()
1250 info.code_size = code_size; in VisitMethod()
1600 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1787 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
1791 writer_->size_code_ += code_size; in VisitMethod()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc268 info.code_size = data.CodeSize(); in GenerateThunkDebugInfo()
/art/openjdkjvmti/include/
Djvmti.h754 jint code_size,