Lines Matching refs:ir_method
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()
168 param_types.push_back(ir_method->decl->parent); in GenerateShiftParamsCode()
170 if (ir_method->decl->prototype->param_types != nullptr) { in GenerateShiftParamsCode()
171 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in GenerateShiftParamsCode()
175 const dex::u4 regs = ir_method->code->registers; in GenerateShiftParamsCode()
176 const dex::u4 ins_count = ir_method->code->ins_count; in GenerateShiftParamsCode()
211 const auto ir_method = code_ir->ir_method; in InjectArrayParamsHook() local
212 auto param_types_list = ir_method->decl->prototype->param_types; in InjectArrayParamsHook()
214 bool is_static = (ir_method->access_flags & dex::kAccStatic) != 0; in InjectArrayParamsHook()
223 auto non_param_regs = ir_method->code->registers - ir_method->code->ins_count; in InjectArrayParamsHook()
230 code_ir->ir_method->code->registers += regs_count - non_param_regs; in InjectArrayParamsHook()
264 types.push_back(ir_method->decl->parent); in InjectArrayParamsHook()
270 dex::u4 current_reg = ir_method->code->registers - ir_method->code->ins_count; in InjectArrayParamsHook()
337 const auto ir_method = code_ir->ir_method; in Apply() local
338 const auto declared_return_type = ir_method->decl->prototype->return_type; in Apply()
454 auto orig_method = bytecode->CastOperand<lir::Method>(1)->ir_method; in Apply()
572 16 - static_cast<int>(code_ir->ir_method->code->registers)); in RegsRenumbering()
598 const auto ir_method = code_ir->ir_method; in ShiftParams() local
602 Allocate(code_ir, ir_method->code->registers, left_to_allocate_); in ShiftParams()
613 code_ir->ir_method->code->registers += count; in Allocate()
628 const auto code = code_ir->ir_method->code; in Apply()
657 bool MethodInstrumenter::InstrumentMethod(ir::EncodedMethod* ir_method) { in InstrumentMethod() argument
658 SLICER_CHECK(ir_method != nullptr); in InstrumentMethod()
659 if (ir_method->code == nullptr) { in InstrumentMethod()
665 lir::CodeIr code_ir(ir_method, dex_ir_); in InstrumentMethod()
679 auto ir_method = builder.FindMethod(method_id); in InstrumentMethod() local
680 if (ir_method == nullptr) { in InstrumentMethod()
684 return InstrumentMethod(ir_method); in InstrumentMethod()