Lines Matching refs:opcode
44 #define ENCODING_MAP(opcode, skeleton, k0, ds, de, k1, s1s, s1e, k2, s2s, s2e, \ argument
47 {k3, k3s, k3e}}, opcode, flags, name, fmt, size}
595 int opcode = lir->opcode; in ConvertShortToLongBranch() local
597 switch (opcode) { in ConvertShortToLongBranch()
604 case kMipsBeq: opcode = kMipsBne; break; in ConvertShortToLongBranch()
605 case kMipsBne: opcode = kMipsBeq; break; in ConvertShortToLongBranch()
606 case kMipsBeqz: opcode = kMipsBnez; break; in ConvertShortToLongBranch()
607 case kMipsBgez: opcode = kMipsBltz; break; in ConvertShortToLongBranch()
608 case kMipsBgtz: opcode = kMipsBlez; break; in ConvertShortToLongBranch()
609 case kMipsBlez: opcode = kMipsBgtz; break; in ConvertShortToLongBranch()
610 case kMipsBltz: opcode = kMipsBgez; break; in ConvertShortToLongBranch()
611 case kMipsBnez: opcode = kMipsBeqz; break; in ConvertShortToLongBranch()
613 LOG(FATAL) << "Unexpected branch kind " << opcode; in ConvertShortToLongBranch()
619 LIR* hop_branch = RawLIR(dalvik_offset, opcode, lir->operands[0], in ConvertShortToLongBranch()
654 if (lir->opcode < 0) { in AssembleInstructions()
663 if (lir->opcode == kMipsDelta) { in AssembleInstructions()
708 } else if (lir->opcode == kMipsDeltaLo) { in AssembleInstructions()
714 } else if (lir->opcode == kMipsDeltaHi) { in AssembleInstructions()
720 } else if (lir->opcode == kMipsB || lir->opcode == kMipsBal) { in AssembleInstructions()
734 } else if (lir->opcode >= kMipsBeqz && lir->opcode <= kMipsBnez) { in AssembleInstructions()
748 } else if (lir->opcode == kMipsBeq || lir->opcode == kMipsBne) { in AssembleInstructions()
762 } else if (lir->opcode == kMipsJal) { in AssembleInstructions()
771 } else if (lir->opcode == kMipsLahi) { /* ld address hi (via lui) */ in AssembleInstructions()
775 } else if (lir->opcode == kMipsLalo) { /* ld address lo (via ori) */ in AssembleInstructions()
790 DCHECK(!IsPseudoLirOp(lir->opcode)); in AssembleInstructions()
791 const MipsEncodingMap *encoder = &EncodingMap[lir->opcode]; in AssembleInstructions()
843 DCHECK(!IsPseudoLirOp(lir->opcode)); in AssembleInstructions()
856 DCHECK(!IsPseudoLirOp(lir->opcode)); in GetInsnSize()
857 return EncodingMap[lir->opcode].size; in GetInsnSize()
868 if (LIKELY(lir->opcode >= 0)) { in AssignInsnOffsets()
872 } else if (UNLIKELY(lir->opcode == kPseudoPseudoAlign4)) { in AssignInsnOffsets()