Lines Matching refs:dex

28   if ((ir_method->access_flags & dex::kAccStatic) == 0) {  in Apply()
58 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()
104 dex::Opcode move_result_opcode = dex::OP_NOP; in Apply()
105 dex::u4 reg = 0; in Apply()
109 case dex::OP_RETURN_VOID: in Apply()
112 case dex::OP_RETURN: in Apply()
114 move_result_opcode = dex::OP_MOVE_RESULT; in Apply()
118 case dex::OP_RETURN_OBJECT: in Apply()
120 move_result_opcode = dex::OP_MOVE_RESULT_OBJECT; in Apply()
124 case dex::OP_RETURN_WIDE: in Apply()
126 move_result_opcode = dex::OP_MOVE_RESULT_WIDE; in Apply()
138 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()
150 if (move_result_opcode != dex::OP_NOP) { in Apply()
171 dex::Opcode new_call_opcode = dex::OP_NOP; in Apply()
173 case dex::OP_INVOKE_VIRTUAL: in Apply()
174 new_call_opcode = dex::OP_INVOKE_STATIC; in Apply()
176 case dex::OP_INVOKE_VIRTUAL_RANGE: in Apply()
177 new_call_opcode = dex::OP_INVOKE_STATIC_RANGE; in Apply()
183 assert(new_call_opcode != dex::OP_NOP); in Apply()
309 if ((ir_method->access_flags & dex::kAccStatic) == 0) { in ShiftParams()
317 const dex::u4 shift = 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()
328 dex::u4 reg = regs - ins_count; in ShiftParams()
333 move->opcode = dex::OP_MOVE_OBJECT_16; in ShiftParams()
339 move->opcode = dex::OP_MOVE_16; in ShiftParams()
345 move->opcode = dex::OP_MOVE_WIDE_16; in ShiftParams()
358 void AllocateScratchRegs::Allocate(lir::CodeIr* code_ir, dex::u4 first_reg, int count) { in Allocate()