Home | History | Annotate | Download | only in slicer

Lines Matching refs:dex

28   if ((ir_method->access_flags & dex::kAccStatic) == 0) {
58 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE;
104 dex::Opcode move_result_opcode = dex::OP_NOP;
105 dex::u4 reg = 0;
109 case dex::OP_RETURN_VOID:
112 case dex::OP_RETURN:
114 move_result_opcode = dex::OP_MOVE_RESULT;
118 case dex::OP_RETURN_OBJECT:
120 move_result_opcode = dex::OP_MOVE_RESULT_OBJECT;
124 case dex::OP_RETURN_WIDE:
126 move_result_opcode = dex::OP_MOVE_RESULT_WIDE;
138 hook_invoke->opcode = dex::OP_INVOKE_STATIC_RANGE;
150 if (move_result_opcode != dex::OP_NOP) {
171 dex::Opcode new_call_opcode = dex::OP_NOP;
173 case dex::OP_INVOKE_VIRTUAL:
174 new_call_opcode = dex::OP_INVOKE_STATIC;
176 case dex::OP_INVOKE_VIRTUAL_RANGE:
177 new_call_opcode = dex::OP_INVOKE_STATIC_RANGE;
183 assert(new_call_opcode != dex::OP_NOP);
309 if ((ir_method->access_flags & dex::kAccStatic) == 0) {
317 const dex::u4 shift = left_to_allocate_;
322 const dex::u4 regs = ir_method->code->registers;
323 const dex::u4 ins_count = ir_method->code->ins_count;
328 dex::u4 reg = regs - ins_count;
333 move->opcode = dex::OP_MOVE_OBJECT_16;
339 move->opcode = dex::OP_MOVE_16;
345 move->opcode = dex::OP_MOVE_WIDE_16;
358 void AllocateScratchRegs::Allocate(lir::CodeIr* code_ir, dex::u4 first_reg, int count) {
376 // .dex bytecode allows up to 64k vregs