Home
last modified time | relevance | path

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

/art/compiler/debug/
Delf_debug_line_writer.h84 for (const MethodDebugInfo* mi : compilation_unit.methods) { in WriteCompilationUnit() local
89 if (!seen_addresses.insert(mi->code_address).second) { in WriteCompilationUnit()
95 if (mi->code_info != nullptr) { in WriteCompilationUnit()
97 const CodeInfo code_info(mi->code_info); in WriteCompilationUnit()
142 if (!mi->is_native_debuggable) { in WriteCompilationUnit()
149 Elf_Addr method_address = base_address + mi->code_address; in WriteCompilationUnit()
152 const DexFile* dex = mi->dex_file; in WriteCompilationUnit()
154 CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); in WriteCompilationUnit()
174 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
222 const bool default_is_stmt = mi->is_native_debuggable; in WriteCompilationUnit()
[all …]
Delf_debug_info_writer.h46 static std::vector<const char*> GetParamNames(const MethodDebugInfo* mi) { in GetParamNames() argument
48 DCHECK(mi->dex_file != nullptr); in GetParamNames()
49 CodeItemDebugInfoAccessor accessor(*mi->dex_file, mi->code_item, mi->dex_method_index); in GetParamNames()
52 names.push_back(mi->dex_file->StringDataByIdx(id)); in GetParamNames()
128 for (auto mi : compilation_unit.methods) { in Write() local
129 uint64_t low_pc = mi->code_address - compilation_unit.code_address; in Write()
130 uint64_t high_pc = low_pc + mi->code_size; in Write()
148 for (auto mi : compilation_unit.methods) { in Write() local
149 DCHECK(mi->dex_file != nullptr); in Write()
150 const DexFile* dex = mi->dex_file; in Write()
[all …]
Delf_symtab_writer.h60 auto is_same_class = [&first](const MethodDebugInfo* mi) { in GetDedupedName()
61 DCHECK(mi->dex_file != nullptr); in GetDedupedName()
62 return mi->dex_file == first->dex_file && mi->class_def_index == first->class_def_index; in GetDedupedName()
64 auto is_same_method_name = [&first](const MethodDebugInfo* mi) { in GetDedupedName()
65 return strcmp(mi->dex_file->GetMethodName(mi->dex_method_index), in GetDedupedName()
Delf_debug_frame_writer.h196 for (const MethodDebugInfo* mi : sorted_method_infos) { in WriteCFISection() local
197 DCHECK(!mi->deduped); in WriteCFISection()
198 DCHECK(!mi->cfi.empty()); in WriteCFISection()
199 uint64_t code_address = mi->code_address + in WriteCFISection()
200 (mi->is_code_address_text_relative ? builder->GetText()->GetAddress() : 0); in WriteCFISection()
211 mi->code_size, in WriteCFISection()
212 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.cc2655 struct mallinfo mi = mallinfo(); in GetNativeBytes() local
2658 if (sizeof(size_t) > sizeof(mi.uordblks) && sizeof(size_t) > sizeof(mi.hblkhd)) { in GetNativeBytes()
2661 malloc_bytes = (unsigned int)mi.uordblks; in GetNativeBytes()
2662 IF_GLIBC(mmapped_bytes = (unsigned int)mi.hblkhd;) in GetNativeBytes()
2664 malloc_bytes = mi.uordblks; in GetNativeBytes()
2665 IF_GLIBC(mmapped_bytes = mi.hblkhd;) in GetNativeBytes()
/art/compiler/optimizing/
Dcode_generator_arm64.cc3336 __ Cinc(out, in, mi); in GenerateIncrementNegativeByOne()
6044 __ Csneg(out, out, temp, mi); in GenerateIntRemForPower2Denom()
7262 __ B(&forwarding_address, mi); in CompileBakerReadBarrierThunk()
Dintrinsics_arm64.cc4101 GenerateFP16Compare(invoke, codegen_, masm, mi); in VisitFP16Less()
4229 GenerateFP16MinMax(invoke, codegen_, masm, mi); in VisitFP16Min()