Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 10 of 10) sorted by relevance

/art/compiler/debug/
Delf_debug_line_writer.h82 for (const MethodDebugInfo* mi : compilation_unit.methods) { in WriteCompilationUnit() local
87 if (!seen_addresses.insert(mi->code_address).second) { in WriteCompilationUnit()
93 if (mi->code_info != nullptr) { in WriteCompilationUnit()
95 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit()
140 if (!mi->is_native_debuggable) { in WriteCompilationUnit()
147 Elf_Addr method_address = base_address + mi->code_address; in WriteCompilationUnit()
150 const DexFile* dex = mi->dex_file; in WriteCompilationUnit()
152 CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); in WriteCompilationUnit()
172 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
220 const bool default_is_stmt = mi->is_native_debuggable; in WriteCompilationUnit()
[all …]
Delf_debug_info_writer.h45 static std::vector<const char*> GetParamNames(const MethodDebugInfo* mi) { in GetParamNames() argument
47 DCHECK(mi->dex_file != nullptr); in GetParamNames()
48 CodeItemDebugInfoAccessor accessor(*mi->dex_file, mi->code_item, mi->dex_method_index); in GetParamNames()
51 names.push_back(mi->dex_file->StringDataByIdx(id)); in GetParamNames()
127 for (auto mi : compilation_unit.methods) { in Write() local
128 uint64_t low_pc = mi->code_address - compilation_unit.code_address; in Write()
129 uint64_t high_pc = low_pc + mi->code_size; in Write()
147 for (auto mi : compilation_unit.methods) { in Write() local
148 DCHECK(mi->dex_file != nullptr); in Write()
149 const DexFile* dex = mi->dex_file; in Write()
[all …]
Delf_symtab_writer.h59 auto is_same_class = [&first](const MethodDebugInfo* mi) { in GetDedupedName()
60 DCHECK(mi->dex_file != nullptr); in GetDedupedName()
61 return mi->dex_file == first->dex_file && mi->class_def_index == first->class_def_index; in GetDedupedName()
63 auto is_same_method_name = [&first](const MethodDebugInfo* mi) { in GetDedupedName()
64 return strcmp(mi->dex_file->GetMethodName(mi->dex_method_index), in GetDedupedName()
Delf_debug_frame_writer.h191 for (const MethodDebugInfo* mi : sorted_method_infos) { in WriteCFISection() local
192 DCHECK(!mi->deduped); in WriteCFISection()
193 DCHECK(!mi->cfi.empty()); in WriteCFISection()
194 uint64_t code_address = mi->code_address + in WriteCFISection()
195 (mi->is_code_address_text_relative ? builder->GetText()->GetAddress() : 0); in WriteCFISection()
206 mi->code_size, in WriteCFISection()
207 mi->cfi, in WriteCFISection()
Delf_debug_writer.cc57 for (const MethodDebugInfo& mi : debug_info.compiled_methods) { in WriteDebugInfo() local
58 if (mi.dex_file != nullptr) { in WriteDebugInfo()
59 auto& dex_class_def = mi.dex_file->GetClassDef(mi.class_def_index); in WriteDebugInfo()
61 cu.methods.push_back(&mi); in WriteDebugInfo()
63 … DCHECK_EQ(cu.methods.front()->is_code_address_text_relative, mi.is_code_address_text_relative); in WriteDebugInfo()
64 cu.is_code_address_text_relative = mi.is_code_address_text_relative; in WriteDebugInfo()
65 cu.code_address = std::min(cu.code_address, mi.code_address); in WriteDebugInfo()
66 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size); in WriteDebugInfo()
/art/tools/
Dpylibdexfile.py93 def __init__(self, mi): argument
94 self.offset = mi.addr
95 self.len = mi.size
96 self.name = string_at(mi.name, mi.name_size).decode("utf-8")
/art/test/980-redefine-object/
Dredef_object.cc64 slicer::MethodInstrumenter mi(dex_ir); in RedefineObjectHook() local
65 mi.AddTransformation<slicer::EntryHook>(ir::MethodId("Lart/test/TestWatcher;", in RedefineObjectHook()
68 if (!mi.InstrumentMethod(ir::MethodId("Ljava/lang/Object;", in RedefineObjectHook()
/art/runtime/gc/
Dheap.cc2536 struct mallinfo mi = mallinfo(); in GetNativeBytes() local
2539 if (sizeof(size_t) > sizeof(mi.uordblks) && sizeof(size_t) > sizeof(mi.hblkhd)) { in GetNativeBytes()
2542 malloc_bytes = (unsigned int)mi.uordblks; in GetNativeBytes()
2543 IF_GLIBC(mmapped_bytes = (unsigned int)mi.hblkhd;) in GetNativeBytes()
2545 malloc_bytes = mi.uordblks; in GetNativeBytes()
2546 IF_GLIBC(mmapped_bytes = mi.hblkhd;) in GetNativeBytes()
/art/compiler/optimizing/
Dcode_generator_arm64.cc3151 __ Cinc(out, in, mi); in GenerateIncrementNegativeByOne()
5869 __ Csneg(out, out, temp, mi); in GenerateIntRemForPower2Denom()
7075 __ B(&forwarding_address, mi); in CompileBakerReadBarrierThunk()
Dintrinsics_arm64.cc3804 GenerateFP16Compare(invoke, codegen_, masm, mi); in VisitFP16Less()