• Home
  • Raw
  • Download

Lines Matching refs:operand

51 std::ostream& operator<<(std::ostream& os, const Operand& operand) {  in operator <<()  argument
52 if (operand.IsImmediate()) { in operator <<()
53 return os << "#" << operand.GetImmediate(); in operator <<()
55 if (operand.IsImmediateShiftedRegister()) { in operator <<()
56 if ((operand.GetShift().IsLSL() || operand.GetShift().IsROR()) && in operator <<()
57 (operand.GetShiftAmount() == 0)) { in operator <<()
58 return os << operand.GetBaseRegister(); in operator <<()
60 if (operand.GetShift().IsRRX()) { in operator <<()
61 return os << operand.GetBaseRegister() << ", rrx"; in operator <<()
63 return os << operand.GetBaseRegister() << ", " << operand.GetShift() << " #" in operator <<()
64 << operand.GetShiftAmount(); in operator <<()
66 if (operand.IsRegisterShiftedRegister()) { in operator <<()
67 return os << operand.GetBaseRegister() << ", " << operand.GetShift() << " " in operator <<()
68 << operand.GetShiftRegister(); in operator <<()
100 std::ostream& operator<<(std::ostream& os, const SOperand& operand) { in operator <<() argument
101 if (operand.IsImmediate()) { in operator <<()
102 return os << operand.GetNeonImmediate(); in operator <<()
104 return os << operand.GetRegister(); in operator <<()
109 std::ostream& operator<<(std::ostream& os, const DOperand& operand) { in operator <<() argument
110 if (operand.IsImmediate()) { in operator <<()
111 return os << operand.GetNeonImmediate(); in operator <<()
113 return os << operand.GetRegister(); in operator <<()
118 std::ostream& operator<<(std::ostream& os, const QOperand& operand) { in operator <<() argument
119 if (operand.IsImmediate()) { in operator <<()
120 return os << operand.GetNeonImmediate(); in operator <<()
122 return os << operand.GetRegister(); in operator <<()
518 std::ostream& operator<<(std::ostream& os, const MemOperand& operand) { in operator <<() argument
519 os << "[" << operand.GetBaseRegister(); in operator <<()
520 if (operand.GetAddrMode() == PostIndex) { in operator <<()
522 if (operand.IsRegisterOnly()) return os << "!"; in operator <<()
524 if (operand.IsImmediate()) { in operator <<()
525 if ((operand.GetOffsetImmediate() != 0) || operand.GetSign().IsMinus() || in operator <<()
526 ((operand.GetAddrMode() != Offset) && !operand.IsRegisterOnly())) { in operator <<()
527 if (operand.GetOffsetImmediate() == 0) { in operator <<()
528 os << ", #" << operand.GetSign() << operand.GetOffsetImmediate(); in operator <<()
530 os << ", #" << operand.GetOffsetImmediate(); in operator <<()
533 } else if (operand.IsPlainRegister()) { in operator <<()
534 os << ", " << operand.GetSign() << operand.GetOffsetRegister(); in operator <<()
535 } else if (operand.IsShiftedRegister()) { in operator <<()
536 os << ", " << operand.GetSign() << operand.GetOffsetRegister() in operator <<()
537 << ImmediateShiftOperand(operand.GetShift(), operand.GetShiftAmount()); in operator <<()
542 if (operand.GetAddrMode() == Offset) { in operator <<()
544 } else if (operand.GetAddrMode() == PreIndex) { in operator <<()
550 std::ostream& operator<<(std::ostream& os, const AlignedMemOperand& operand) { in operator <<() argument
551 os << "[" << operand.GetBaseRegister() << operand.GetAlignment() << "]"; in operator <<()
552 if (operand.GetAddrMode() == PostIndex) { in operator <<()
553 if (operand.IsPlainRegister()) { in operator <<()
554 os << ", " << operand.GetOffsetRegister(); in operator <<()