Searched refs:ir_method (Results 1 – 12 of 12) sorted by relevance
/tools/dexter/dexter/ |
D | experimental.cc | 35 for (auto& ir_method : dex_ir->encoded_methods) { in FullRewrite() local 36 if (ir_method->code != nullptr) { in FullRewrite() 37 lir::CodeIr code_ir(ir_method.get(), dex_ir); in FullRewrite() 51 for (auto& ir_method : dex_ir->encoded_methods) { in StressWrapInvoke() local 52 if (ir_method->code == nullptr) { in StressWrapInvoke() 56 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressWrapInvoke() 88 auto orig_method = bytecode->CastOperand<lir::Method>(1)->ir_method; in StressWrapInvoke() 141 for (auto& ir_method : dex_ir->encoded_methods) { in StressEntryHook() local 142 if (ir_method->code == nullptr) { in StressEntryHook() 146 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressEntryHook() [all …]
|
D | disassembler.cc | 213 auto ir_method = method->ir_method; in Visit() local 215 ir_method->parent->Decl().c_str(), in Visit() 216 ir_method->name->c_str(), in Visit() 217 MethodDeclaration(ir_method->prototype).c_str()); in Visit() 319 for (auto& ir_method : dex_ir_->encoded_methods) { in DumpAllMethods() local 320 DumpMethod(ir_method.get()); in DumpAllMethods() 324 void DexDisassembler::DumpMethod(ir::EncodedMethod* ir_method) const { in DumpMethod() 326 ir_method->decl->parent->Decl().c_str(), in DumpMethod() 327 ir_method->decl->name->c_str(), in DumpMethod() 328 MethodDeclaration(ir_method->decl->prototype).c_str()); in DumpMethod() [all …]
|
D | disassembler.h | 82 void DumpMethod(ir::EncodedMethod* ir_method) const; 85 void Disassemble(ir::EncodedMethod* ir_method) const;
|
/tools/dexter/slicer/ |
D | instrumentation.cc | 98 std::string MethodLabel(ir::EncodedMethod* ir_method) { in MethodLabel() argument 99 auto signature_str = ir_method->decl->prototype->Signature(); in MethodLabel() 100 return ir_method->decl->parent->Decl() + "->" + ir_method->decl->name->c_str() + signature_str; in MethodLabel() 124 const auto ir_method = code_ir->ir_method; in Apply() local 128 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in Apply() 135 this_argument_type = ir_method->decl->parent; in Apply() 140 if (ir_method->decl->prototype->param_types != nullptr) { in Apply() 141 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply() 155 auto regs = ir_method->code->registers; in Apply() 156 auto args_count = ir_method->code->ins_count; in Apply() [all …]
|
D | dex_ir_builder.cc | 206 for (const auto& ir_method : dex_ir_->methods) { in GetMethodDecl() local 207 if (ir_method->name == name && in GetMethodDecl() 208 ir_method->prototype == proto && in GetMethodDecl() 209 ir_method->parent == parent) { in GetMethodDecl() 210 return ir_method.get(); in GetMethodDecl() 215 auto ir_method = dex_ir_->Alloc<MethodDecl>(); in GetMethodDecl() local 216 ir_method->name = name; in GetMethodDecl() 217 ir_method->prototype = proto; in GetMethodDecl() 218 ir_method->parent = parent; in GetMethodDecl() 224 ir_node = ir_method; in GetMethodDecl() [all …]
|
D | debuginfo_encoder.cc | 127 void DebugInfoEncoder::Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 128 auto ir_debug_info = ir_method->code->debug_info; in Encode() 138 source_file_ = ir_method->decl->parent->class_def->source_file; in Encode()
|
D | code_ir.cc | 36 auto ir_code = ir_method->code; in Assemble() 50 dbginfo_encoder.Encode(ir_method, dex_ir); in Assemble() 116 ir::String* source_file = ir_method->decl->parent->class_def->source_file; in DisassembleDebugInfo() 276 const dex::u2* begin = ir_method->code->instructions.begin(); in FixupSwitches() 325 auto ir_code = ir_method->code; in Disassemble()
|
D | reader.cc | 816 auto ir_method = dex_ir_->Alloc<ir::MethodDecl>(); in ParseMethodDecl() local 818 ir_method->name = GetString(dex_method.name_idx); in ParseMethodDecl() 819 ir_method->prototype = GetProto(dex_method.proto_idx); in ParseMethodDecl() 820 ir_method->parent = GetType(dex_method.class_idx); in ParseMethodDecl() 821 ir_method->orig_index = index; in ParseMethodDecl() 823 return ir_method; in ParseMethodDecl()
|
D | writer.cc | 601 const auto& ir_method = methods[i]; in FillMethods() local 603 dexMethodId->class_idx = ir_method->parent->index; in FillMethods() 604 dexMethodId->proto_idx = ir_method->prototype->index; in FillMethods() 605 dexMethodId->name_idx = ir_method->name->index; in FillMethods()
|
/tools/dexter/slicer/export/slicer/ |
D | code_ir.h | 215 ir::MethodDecl* ir_method; member 217 Method(ir::MethodDecl* ir_method, dex::u4 index) : IndexedOperand(index), ir_method(ir_method) { in Method() 218 SLICER_CHECK_NE(ir_method, nullptr); in Method() 412 ir::EncodedMethod* ir_method = nullptr; member 416 CodeIr(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir) in CodeIr() 417 : ir_method(ir_method), dex_ir(dex_ir) { in CodeIr()
|
D | debuginfo_encoder.h | 42 void Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir);
|
D | instrumentation.h | 228 bool InstrumentMethod(ir::EncodedMethod* ir_method);
|