Searched refs:ir_method (Results 1 – 12 of 12) sorted by relevance
/tools/dexter/slicer/ |
D | instrumentation.cc | 115 const auto ir_method = code_ir->ir_method; in Apply() local 119 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in Apply() 126 this_argument_type = ir_method->decl->parent; in Apply() 131 if (ir_method->decl->prototype->param_types != nullptr) { in Apply() 132 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply() 146 auto regs = ir_method->code->registers; in Apply() 147 auto args_count = ir_method->code->ins_count; in Apply() 162 const auto ir_method = code_ir->ir_method; in GenerateShiftParamsCode() local 163 SLICER_CHECK(ir_method->code->ins_count > 0); in GenerateShiftParamsCode() 167 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in GenerateShiftParamsCode() [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 | reader.cc | 815 auto ir_method = dex_ir_->Alloc<ir::MethodDecl>(); in ParseMethodDecl() local 817 ir_method->name = GetString(dex_method.name_idx); in ParseMethodDecl() 818 ir_method->prototype = GetProto(dex_method.proto_idx); in ParseMethodDecl() 819 ir_method->parent = GetType(dex_method.class_idx); in ParseMethodDecl() 820 ir_method->orig_index = index; in ParseMethodDecl() 822 return ir_method; in ParseMethodDecl()
|
D | code_ir.cc | 37 auto ir_code = ir_method->code; in Assemble() 51 dbginfo_encoder.Encode(ir_method, dex_ir); in Assemble() 117 ir::String* source_file = ir_method->decl->parent->class_def->source_file; in DissasembleDebugInfo() 277 const dex::u2* begin = ir_method->code->instructions.begin(); in FixupSwitches() 326 auto ir_code = ir_method->code; in Dissasemble()
|
D | debuginfo_encoder.cc | 121 void DebugInfoEncoder::Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 122 auto ir_debug_info = ir_method->code->debug_info; in Encode() 132 source_file_ = ir_method->decl->parent->class_def->source_file; in Encode()
|
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/dexter/ |
D | experimental.cc | 34 for (auto& ir_method : dex_ir->encoded_methods) { in FullRewrite() local 35 if (ir_method->code != nullptr) { in FullRewrite() 36 lir::CodeIr code_ir(ir_method.get(), dex_ir); in FullRewrite() 50 for (auto& ir_method : dex_ir->encoded_methods) { in StressWrapInvoke() local 51 if (ir_method->code == nullptr) { in StressWrapInvoke() 55 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressWrapInvoke() 87 auto orig_method = bytecode->CastOperand<lir::Method>(1)->ir_method; in StressWrapInvoke() 140 for (auto& ir_method : dex_ir->encoded_methods) { in StressEntryHook() local 141 if (ir_method->code == nullptr) { in StressEntryHook() 145 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressEntryHook() [all …]
|
D | dissasembler.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() 312 for (auto& ir_method : dex_ir_->encoded_methods) { in DumpAllMethods() local 313 DumpMethod(ir_method.get()); in DumpAllMethods() 317 void DexDissasembler::DumpMethod(ir::EncodedMethod* ir_method) const { in DumpMethod() 319 ir_method->decl->parent->Decl().c_str(), in DumpMethod() 320 ir_method->decl->name->c_str(), in DumpMethod() 321 MethodDeclaration(ir_method->decl->prototype).c_str()); in DumpMethod() [all …]
|
D | dissasembler.h | 81 void DumpMethod(ir::EncodedMethod* ir_method) const; 84 void Dissasemble(ir::EncodedMethod* ir_method) const;
|
/tools/dexter/slicer/export/slicer/ |
D | code_ir.h | 213 ir::MethodDecl* ir_method; member 215 Method(ir::MethodDecl* ir_method, dex::u4 index) : IndexedOperand(index), ir_method(ir_method) {} in Method() 400 ir::EncodedMethod* ir_method = nullptr; member 404 CodeIr(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir) in CodeIr() 405 : 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 | 217 bool InstrumentMethod(ir::EncodedMethod* ir_method);
|