Lines Matching refs:dex
40 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in Apply()
70 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()
120 dex::Opcode move_result_opcode = dex::OP_NOP; in Apply()
121 dex::u4 reg = 0; in Apply()
125 case dex::OP_RETURN_VOID: in Apply()
128 case dex::OP_RETURN: in Apply()
130 move_result_opcode = dex::OP_MOVE_RESULT; in Apply()
134 case dex::OP_RETURN_OBJECT: in Apply()
136 move_result_opcode = dex::OP_MOVE_RESULT_OBJECT; in Apply()
140 case dex::OP_RETURN_WIDE: in Apply()
142 move_result_opcode = dex::OP_MOVE_RESULT_WIDE; in Apply()
154 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()
166 if (move_result_opcode != dex::OP_NOP) { in Apply()
189 dex::Opcode new_call_opcode = GetNewOpcode(bytecode->opcode); in Apply()
190 if (new_call_opcode == dex::OP_NOP) { in Apply()
231 dex::Opcode DetourVirtualInvoke::GetNewOpcode(dex::Opcode opcode) { in GetNewOpcode()
233 case dex::OP_INVOKE_VIRTUAL: in GetNewOpcode()
234 return dex::OP_INVOKE_STATIC; in GetNewOpcode()
235 case dex::OP_INVOKE_VIRTUAL_RANGE: in GetNewOpcode()
236 return dex::OP_INVOKE_STATIC_RANGE; in GetNewOpcode()
239 return dex::OP_NOP; in GetNewOpcode()
243 dex::Opcode DetourInterfaceInvoke::GetNewOpcode(dex::Opcode opcode) { in GetNewOpcode()
245 case dex::OP_INVOKE_INTERFACE: in GetNewOpcode()
246 return dex::OP_INVOKE_STATIC; in GetNewOpcode()
247 case dex::OP_INVOKE_INTERFACE_RANGE: in GetNewOpcode()
248 return dex::OP_INVOKE_STATIC_RANGE; in GetNewOpcode()
251 return dex::OP_NOP; in GetNewOpcode()
344 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in ShiftParams()
352 const dex::u4 shift = left_to_allocate_; in ShiftParams()
357 const dex::u4 regs = ir_method->code->registers; in ShiftParams()
358 const dex::u4 ins_count = ir_method->code->ins_count; in ShiftParams()
363 dex::u4 reg = regs - ins_count; in ShiftParams()
368 move->opcode = dex::OP_MOVE_OBJECT_16; in ShiftParams()
374 move->opcode = dex::OP_MOVE_16; in ShiftParams()
380 move->opcode = dex::OP_MOVE_WIDE_16; in ShiftParams()
393 void AllocateScratchRegs::Allocate(lir::CodeIr* code_ir, dex::u4 first_reg, int count) { in Allocate()