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