Lines Matching refs:ir_method
24 const auto ir_method = code_ir->ir_method; in Apply() local
28 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in Apply()
33 this_argument_type = ir_method->decl->parent; in Apply()
37 if (ir_method->decl->prototype->param_types != nullptr) { in Apply()
38 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply()
52 auto regs = ir_method->code->registers; in Apply()
53 auto args_count = ir_method->code->ins_count; in Apply()
77 const auto ir_method = code_ir->ir_method; in Apply() local
78 const auto return_type = ir_method->decl->prototype->return_type; in Apply()
185 auto orig_method = bytecode->CastOperand<lir::Method>(1)->ir_method; in Apply()
277 16 - static_cast<int>(code_ir->ir_method->code->registers)); in RegsRenumbering()
303 const auto ir_method = code_ir->ir_method; in ShiftParams() local
304 SLICER_CHECK(ir_method->code->ins_count > 0); in ShiftParams()
309 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in ShiftParams()
310 param_types.push_back(ir_method->decl->parent); in ShiftParams()
312 if (ir_method->decl->prototype->param_types != nullptr) { in ShiftParams()
313 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in ShiftParams()
319 Allocate(code_ir, ir_method->code->registers, left_to_allocate_); in ShiftParams()
322 const dex::u4 regs = ir_method->code->registers; in ShiftParams()
323 const dex::u4 ins_count = ir_method->code->ins_count; in ShiftParams()
360 code_ir->ir_method->code->registers += count; in Allocate()
375 const auto code = code_ir->ir_method->code; in Apply()
404 bool MethodInstrumenter::InstrumentMethod(ir::EncodedMethod* ir_method) { in InstrumentMethod() argument
405 SLICER_CHECK(ir_method != nullptr); in InstrumentMethod()
406 if (ir_method->code == nullptr) { in InstrumentMethod()
412 lir::CodeIr code_ir(ir_method, dex_ir_); in InstrumentMethod()
426 auto ir_method = builder.FindMethod(method_id); in InstrumentMethod() local
427 if (ir_method == nullptr) { in InstrumentMethod()
431 return InstrumentMethod(ir_method); in InstrumentMethod()