Lines Matching refs:dalvikInsn
110 DCHECK_LT(arg, invoke->dalvikInsn.vA);
111 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode));
112 if (Instruction::FormatOf(invoke->dalvikInsn.opcode) == Instruction::k3rc) {
113 return invoke->dalvikInsn.vC + arg; // Non-range invoke.
115 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c);
116 return invoke->dalvikInsn.arg[arg]; // Range invoke.
121 DCHECK_LT(arg + 1, invoke->dalvikInsn.vA);
122 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode));
123 return Instruction::FormatOf(invoke->dalvikInsn.opcode) == Instruction::k3rc ||
124 invoke->dalvikInsn.arg[arg + 1u] == invoke->dalvikInsn.arg[arg] + 1u;
569 move_result->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop);
719 DCHECK(move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT ||
720 (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT &&
725 insn->dalvikInsn.opcode = Instruction::CONST;
726 insn->dalvikInsn.vA = move_result->dalvikInsn.vA;
727 insn->dalvikInsn.vB = method.d.data;
743 if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) {
747 } else if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_WIDE) {
756 DCHECK(move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT);
763 insn->dalvikInsn.opcode = opcode;
764 insn->dalvikInsn.vA = move_result->dalvikInsn.vA;
765 insn->dalvikInsn.vB = arg;
789 invoke->dalvikInsn.opcode == Instruction::INVOKE_STATIC ||
790 invoke->dalvikInsn.opcode == Instruction::INVOKE_STATIC_RANGE);
803 invoke->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop);
808 insn->dalvikInsn.opcode = opcode;
809 insn->dalvikInsn.vA = move_result->dalvikInsn.vA;
810 insn->dalvikInsn.vB = object_reg;
844 if (move_result != nullptr && move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_WIDE &&
851 invoke->dalvikInsn.opcode == Instruction::INVOKE_STATIC ||
852 invoke->dalvikInsn.opcode == Instruction::INVOKE_STATIC_RANGE);
865 invoke->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop);
869 insn->dalvikInsn.opcode = opcode;
870 insn->dalvikInsn.vA = src_reg;
871 insn->dalvikInsn.vB = object_reg;
884 if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT) {
885 move->dalvikInsn.opcode = Instruction::MOVE_FROM16;
886 } else if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) {
887 move->dalvikInsn.opcode = Instruction::MOVE_OBJECT_FROM16;
889 DCHECK_EQ(move_result->dalvikInsn.opcode, Instruction::MOVE_RESULT_WIDE);
890 move->dalvikInsn.opcode = Instruction::MOVE_WIDE_FROM16;
892 move->dalvikInsn.vA = move_result->dalvikInsn.vA;
893 move->dalvikInsn.vB = return_reg;