Lines Matching refs:dalvikInsn

56     MIR::DecodedInstruction* d_insn = &mir->dalvikInsn;  in DoConstantPropagation()
135 if ((mir->dalvikInsn.opcode == Instruction::MOVE_RESULT) || in FindMoveResult()
136 (mir->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) || in FindMoveResult()
137 (mir->dalvikInsn.opcode == Instruction::MOVE_RESULT_WIDE)) { in FindMoveResult()
141 if (MIR::DecodedInstruction::IsPseudoMirOp(mir->dalvikInsn.opcode)) { in FindMoveResult()
175 if (static_cast<int>(mir->dalvikInsn.opcode) == kMirOpPhi) { in FindPhi()
187 switch (mir->dalvikInsn.opcode) { in SelectKind()
342 Instruction::Code opcode = mir->dalvikInsn.opcode; in BasicBlockOpt()
356 if (IsInstructionIfCcZ(mir_next->dalvikInsn.opcode) && in BasicBlockOpt()
359 mir_next->meta.ccode = ConditionCodeForIfCcZ(mir_next->dalvikInsn.opcode); in BasicBlockOpt()
362 mir_next->dalvikInsn.opcode = in BasicBlockOpt()
366 mir_next->dalvikInsn.opcode = in BasicBlockOpt()
370 mir_next->dalvikInsn.opcode = in BasicBlockOpt()
374 mir_next->dalvikInsn.opcode = in BasicBlockOpt()
378 mir_next->dalvikInsn.opcode = in BasicBlockOpt()
383 mir->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in BasicBlockOpt()
392 mir_next->dalvikInsn.vA = mir->dalvikInsn.vB; in BasicBlockOpt()
393 mir_next->dalvikInsn.vB = mir->dalvikInsn.vC; in BasicBlockOpt()
432 IsInstructionIfCcZ(mir->dalvikInsn.opcode)) { in BasicBlockOpt()
472 if ((phi != NULL) && (if_true->dalvikInsn.vA == if_false->dalvikInsn.vA)) { in BasicBlockOpt()
481 mir->meta.ccode = ConditionCodeForIfCcZ(mir->dalvikInsn.opcode); in BasicBlockOpt()
482 mir->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpSelect); in BasicBlockOpt()
488 if_true->dalvikInsn.vB = ConstantValue(if_true->ssa_rep->uses[0]); in BasicBlockOpt()
489 if_false->dalvikInsn.vB = ConstantValue(if_false->ssa_rep->uses[0]); in BasicBlockOpt()
499 mir->dalvikInsn.vB = if_true->dalvikInsn.vB; in BasicBlockOpt()
501 mir->dalvikInsn.vC = if_false->dalvikInsn.vB; in BasicBlockOpt()
536 phi->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in BasicBlockOpt()
559 tmir->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpNop); in BasicBlockOpt()
633 Instruction::Code opcode = prev->last_mir_insn->dalvikInsn.opcode; in LayoutBlocks()
649 prev->last_mir_insn->dalvikInsn.opcode = opcode; in LayoutBlocks()
673 || (static_cast<int>(bb->last_mir_insn->dalvikInsn.opcode) != kMirOpCheck)) { in CombineBlocks()
779 Instruction::Code last_opcode = last_insn->dalvikInsn.opcode; in EliminateNullChecksAndInferTypes()
883 next_mir->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) { in EliminateNullChecksAndInferTypes()
888 LOG(WARNING) << "Unexpected opcode following new: " << next_mir->dalvikInsn.opcode; in EliminateNullChecksAndInferTypes()
894 if (MIR::DecodedInstruction::IsPseudoMirOp(tmir->dalvikInsn.opcode)) { in EliminateNullChecksAndInferTypes()
898 if (tmir->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) { in EliminateNullChecksAndInferTypes()
902 LOG(WARNING) << "Unexpected op after new: " << tmir->dalvikInsn.opcode; in EliminateNullChecksAndInferTypes()
1016 if (mir->dalvikInsn.opcode >= Instruction::SGET && in EliminateClassInitChecksGate()
1017 mir->dalvikInsn.opcode <= Instruction::SPUT_SHORT) { in EliminateClassInitChecksGate()
1104 if (mir->dalvikInsn.opcode >= Instruction::SGET && in EliminateClassInitChecks()
1105 mir->dalvikInsn.opcode <= Instruction::SPUT_SHORT) { in EliminateClassInitChecks()
1108 if (mir->dalvikInsn.opcode >= Instruction::SGET && in EliminateClassInitChecks()
1109 mir->dalvikInsn.opcode <= Instruction::SPUT_SHORT) { in EliminateClassInitChecks()
1264 if (MIR::DecodedInstruction::IsPseudoMirOp(mir->dalvikInsn.opcode)) { in InlineSpecialMethods()
1267 if (!(Instruction::FlagsOf(mir->dalvikInsn.opcode) & Instruction::kInvoke)) { in InlineSpecialMethods()