Lines Matching refs:dalvikInsn

121   DCHECK_LT(arg, invoke->dalvikInsn.vA);  in GetInvokeReg()
122 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode)); in GetInvokeReg()
123 if (IsInvokeInstructionRange(invoke->dalvikInsn.opcode)) { in GetInvokeReg()
124 return invoke->dalvikInsn.vC + arg; // Range invoke. in GetInvokeReg()
126 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c); in GetInvokeReg()
127 return invoke->dalvikInsn.arg[arg]; // Non-range invoke. in GetInvokeReg()
132 DCHECK_LT(arg + 1, invoke->dalvikInsn.vA); in WideArgIsInConsecutiveDalvikRegs()
133 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode)); in WideArgIsInConsecutiveDalvikRegs()
134 return IsInvokeInstructionRange(invoke->dalvikInsn.opcode) || in WideArgIsInConsecutiveDalvikRegs()
135 invoke->dalvikInsn.arg[arg + 1u] == invoke->dalvikInsn.arg[arg] + 1u; in WideArgIsInConsecutiveDalvikRegs()
684 if (static_cast<int>(invoke->dalvikInsn.opcode) != kMirOpNop) { in GenInline()
685 bool is_static = IsInstructionInvokeStatic(invoke->dalvikInsn.opcode); in GenInline()
688 invoke->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in GenInline()
691 invoke->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNullCheck); in GenInline()
693 invoke->dalvikInsn.vA = invoke->dalvikInsn.vC; in GenInline()
697 move_result->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in GenInline()
847 DCHECK(move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT || in GenInlineConst()
848 (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT && in GenInlineConst()
853 insn->dalvikInsn.opcode = Instruction::CONST; in GenInlineConst()
854 insn->dalvikInsn.vA = move_result->dalvikInsn.vA; in GenInlineConst()
855 insn->dalvikInsn.vB = method.d.data; in GenInlineConst()
872 if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) { in GenInlineReturnArg()
876 } else if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_WIDE) { in GenInlineReturnArg()
885 DCHECK(move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT); in GenInlineReturnArg()
892 insn->dalvikInsn.opcode = opcode; in GenInlineReturnArg()
893 insn->dalvikInsn.vA = move_result->dalvikInsn.vA; in GenInlineReturnArg()
894 insn->dalvikInsn.vB = arg; in GenInlineReturnArg()
917 DCHECK_EQ(data.method_is_static != 0u, IsInstructionInvokeStatic(invoke->dalvikInsn.opcode)); in GenInlineIGet()
930 invoke->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in GenInlineIGet()
935 insn->dalvikInsn.opcode = opcode; in GenInlineIGet()
936 insn->dalvikInsn.vA = move_result->dalvikInsn.vA; in GenInlineIGet()
937 insn->dalvikInsn.vB = object_reg; in GenInlineIGet()
970 if (move_result != nullptr && move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_WIDE && in GenInlineIPut()
976 DCHECK_EQ(data.method_is_static != 0u, IsInstructionInvokeStatic(invoke->dalvikInsn.opcode)); in GenInlineIPut()
989 invoke->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in GenInlineIPut()
993 insn->dalvikInsn.opcode = opcode; in GenInlineIPut()
994 insn->dalvikInsn.vA = src_reg; in GenInlineIPut()
995 insn->dalvikInsn.vB = object_reg; in GenInlineIPut()
1008 if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT) { in GenInlineIPut()
1009 move->dalvikInsn.opcode = Instruction::MOVE_FROM16; in GenInlineIPut()
1010 } else if (move_result->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) { in GenInlineIPut()
1011 move->dalvikInsn.opcode = Instruction::MOVE_OBJECT_FROM16; in GenInlineIPut()
1013 DCHECK_EQ(move_result->dalvikInsn.opcode, Instruction::MOVE_RESULT_WIDE); in GenInlineIPut()
1014 move->dalvikInsn.opcode = Instruction::MOVE_WIDE_FROM16; in GenInlineIPut()
1016 move->dalvikInsn.vA = move_result->dalvikInsn.vA; in GenInlineIPut()
1017 move->dalvikInsn.vB = return_reg; in GenInlineIPut()