Lines Matching refs:operand
235 PrintMemOperand(LocationType location_type, const MemOperand& operand)
236 : location_type_(location_type), operand_(operand) {}
247 const AlignedMemOperand& operand)
248 : location_type_(location_type), operand_(operand) {}
425 virtual DisassemblerStream& operator<<(const Operand& operand) {
426 if (operand.IsImmediate()) {
428 return *this << "#0x" << std::hex << operand.GetImmediate()
431 return *this << "#" << operand.GetImmediate();
433 if (operand.IsImmediateShiftedRegister()) {
434 if ((operand.GetShift().IsLSL() || operand.GetShift().IsROR()) &&
435 (operand.GetShiftAmount() == 0)) {
436 return *this << operand.GetBaseRegister();
438 if (operand.GetShift().IsRRX()) {
439 return *this << operand.GetBaseRegister() << ", rrx";
441 return *this << operand.GetBaseRegister() << ", " << operand.GetShift()
442 << " #" << operand.GetShiftAmount();
444 if (operand.IsRegisterShiftedRegister()) {
445 return *this << operand.GetBaseRegister() << ", " << operand.GetShift()
446 << " " << operand.GetShiftRegister();
451 virtual DisassemblerStream& operator<<(const SOperand& operand) {
452 if (operand.IsImmediate()) {
453 return *this << operand.GetNeonImmediate();
455 return *this << operand.GetRegister();
457 virtual DisassemblerStream& operator<<(const DOperand& operand) {
458 if (operand.IsImmediate()) {
459 return *this << operand.GetNeonImmediate();
461 return *this << operand.GetRegister();
463 virtual DisassemblerStream& operator<<(const QOperand& operand) {
464 if (operand.IsImmediate()) {
465 return *this << operand.GetNeonImmediate();
467 return *this << operand.GetRegister();
469 virtual DisassemblerStream& operator<<(const MemOperand& operand) {
470 *this << "[" << operand.GetBaseRegister();
471 if (operand.GetAddrMode() == PostIndex) {
473 if (operand.IsRegisterOnly()) return *this << "!";
475 if (operand.IsImmediate()) {
476 if ((operand.GetOffsetImmediate() != 0) ||
477 operand.GetSign().IsMinus() ||
478 ((operand.GetAddrMode() != Offset) && !operand.IsRegisterOnly())) {
479 if (operand.GetOffsetImmediate() == 0) {
480 *this << ", #" << operand.GetSign() << operand.GetOffsetImmediate();
482 *this << ", #" << operand.GetOffsetImmediate();
485 } else if (operand.IsPlainRegister()) {
486 *this << ", " << operand.GetSign() << operand.GetOffsetRegister();
487 } else if (operand.IsShiftedRegister()) {
488 *this << ", " << operand.GetSign() << operand.GetOffsetRegister()
489 << ImmediateShiftOperand(operand.GetShift(),
490 operand.GetShiftAmount());
495 if (operand.GetAddrMode() == Offset) {
497 } else if (operand.GetAddrMode() == PreIndex) {
502 virtual DisassemblerStream& operator<<(const PrintMemOperand& operand) {
503 return *this << operand.GetOperand();
505 virtual DisassemblerStream& operator<<(const AlignedMemOperand& operand) {
506 *this << "[" << operand.GetBaseRegister() << operand.GetAlignment()
508 if (operand.GetAddrMode() == PostIndex) {
509 if (operand.IsPlainRegister()) {
510 *this << ", " << operand.GetOffsetRegister();
518 const PrintAlignedMemOperand& operand) {
519 return *this << operand.GetOperand();
630 const Operand& operand);
636 const Operand& operand);
642 const Operand& operand);
644 void add(Condition cond, Register rd, const Operand& operand);
650 const Operand& operand);
652 void adds(Register rd, const Operand& operand);
654 void addw(Condition cond, Register rd, Register rn, const Operand& operand);
662 const Operand& operand);
668 const Operand& operand);
674 const Operand& operand);
680 const Operand& operand);
693 const Operand& operand);
699 const Operand& operand);
724 const Operand& operand);
729 const Operand& operand);
751 const Operand& operand);
757 const Operand& operand);
787 void lda(Condition cond, Register rt, const MemOperand& operand);
789 void ldab(Condition cond, Register rt, const MemOperand& operand);
791 void ldaex(Condition cond, Register rt, const MemOperand& operand);
793 void ldaexb(Condition cond, Register rt, const MemOperand& operand);
798 const MemOperand& operand);
800 void ldaexh(Condition cond, Register rt, const MemOperand& operand);
802 void ldah(Condition cond, Register rt, const MemOperand& operand);
849 const MemOperand& operand);
856 const MemOperand& operand);
863 const MemOperand& operand);
867 void ldrex(Condition cond, Register rt, const MemOperand& operand);
869 void ldrexb(Condition cond, Register rt, const MemOperand& operand);
874 const MemOperand& operand);
876 void ldrexh(Condition cond, Register rt, const MemOperand& operand);
881 const MemOperand& operand);
888 const MemOperand& operand);
895 const MemOperand& operand);
903 const Operand& operand);
909 const Operand& operand);
915 const Operand& operand);
921 const Operand& operand);
932 const Operand& operand);
937 const Operand& operand);
939 void movt(Condition cond, Register rd, const Operand& operand);
941 void movw(Condition cond, Register rd, const Operand& operand);
947 const Operand& operand);
957 const Operand& operand);
962 const Operand& operand);
966 void orn(Condition cond, Register rd, Register rn, const Operand& operand);
968 void orns(Condition cond, Register rd, Register rn, const Operand& operand);
974 const Operand& operand);
980 const Operand& operand);
982 void pkhbt(Condition cond, Register rd, Register rn, const Operand& operand);
984 void pkhtb(Condition cond, Register rd, Register rn, const Operand& operand);
988 void pld(Condition cond, const MemOperand& operand);
990 void pldw(Condition cond, const MemOperand& operand);
992 void pli(Condition cond, const MemOperand& operand);
1036 const Operand& operand);
1042 const Operand& operand);
1052 const Operand& operand);
1058 const Operand& operand);
1060 void rsc(Condition cond, Register rd, Register rn, const Operand& operand);
1062 void rscs(Condition cond, Register rd, Register rn, const Operand& operand);
1074 const Operand& operand);
1080 const Operand& operand);
1203 void ssat(Condition cond, Register rd, uint32_t imm, const Operand& operand);
1213 void stl(Condition cond, Register rt, const MemOperand& operand);
1215 void stlb(Condition cond, Register rt, const MemOperand& operand);
1220 const MemOperand& operand);
1225 const MemOperand& operand);
1231 const MemOperand& operand);
1236 const MemOperand& operand);
1238 void stlh(Condition cond, Register rt, const MemOperand& operand);
1286 const MemOperand& operand);
1291 const MemOperand& operand);
1296 const MemOperand& operand);
1301 const MemOperand& operand);
1306 const MemOperand& operand);
1312 const MemOperand& operand);
1317 const MemOperand& operand);
1322 const MemOperand& operand);
1328 const Operand& operand);
1330 void sub(Condition cond, Register rd, const Operand& operand);
1336 const Operand& operand);
1338 void subs(Register rd, const Operand& operand);
1340 void subw(Condition cond, Register rd, Register rn, const Operand& operand);
1344 void sxtab(Condition cond, Register rd, Register rn, const Operand& operand);
1349 const Operand& operand);
1351 void sxtah(Condition cond, Register rd, Register rn, const Operand& operand);
1356 const Operand& operand);
1358 void sxtb16(Condition cond, Register rd, const Operand& operand);
1363 const Operand& operand);
1369 void teq(Condition cond, Register rn, const Operand& operand);
1374 const Operand& operand);
1433 void usat(Condition cond, Register rd, uint32_t imm, const Operand& operand);
1443 void uxtab(Condition cond, Register rd, Register rn, const Operand& operand);
1448 const Operand& operand);
1450 void uxtah(Condition cond, Register rd, Register rn, const Operand& operand);
1455 const Operand& operand);
1457 void uxtb16(Condition cond, Register rd, const Operand& operand);
1462 const Operand& operand);
1534 const DOperand& operand);
1540 const QOperand& operand);
1546 const DOperand& operand);
1552 const QOperand& operand);
1576 const DOperand& operand);
1582 const QOperand& operand);
1594 const DOperand& operand);
1600 const QOperand& operand);
1612 const DOperand& operand);
1618 const QOperand& operand);
1630 const DOperand& operand);
1636 const QOperand& operand);
1652 const DOperand& operand);
1658 const QOperand& operand);
1670 void vcmp(Condition cond, DataType dt, SRegister rd, const SOperand& operand);
1672 void vcmp(Condition cond, DataType dt, DRegister rd, const DOperand& operand);
1677 const SOperand& operand);
1682 const DOperand& operand);
1811 const DOperand& operand);
1818 const QOperand& operand);
1865 const AlignedMemOperand& operand);
1870 const AlignedMemOperand& operand);
1875 const AlignedMemOperand& operand);
1880 const MemOperand& operand);
1885 const AlignedMemOperand& operand);
1928 const MemOperand& operand);
1935 const MemOperand& operand);
2037 void vmov(Condition cond, DataType dt, DRegister rd, const DOperand& operand);
2039 void vmov(Condition cond, DataType dt, QRegister rd, const QOperand& operand);
2041 void vmov(Condition cond, DataType dt, SRegister rd, const SOperand& operand);
2086 void vmvn(Condition cond, DataType dt, DRegister rd, const DOperand& operand);
2088 void vmvn(Condition cond, DataType dt, QRegister rd, const QOperand& operand);
2118 const DOperand& operand);
2124 const QOperand& operand);
2130 const DOperand& operand);
2136 const QOperand& operand);
2256 const QOperand& operand);
2262 const QOperand& operand);
2268 const DOperand& operand);
2274 const QOperand& operand);
2280 const DOperand& operand);
2286 const QOperand& operand);
2292 const QOperand& operand);
2298 const QOperand& operand);
2387 const DOperand& operand);
2393 const QOperand& operand);
2399 const QOperand& operand);
2415 const DOperand& operand);
2421 const QOperand& operand);
2446 const DOperand& operand);
2452 const QOperand& operand);
2458 const DOperand& operand);
2464 const DOperand& operand);
2470 const QOperand& operand);
2476 const QOperand& operand);
2482 const DOperand& operand);
2488 const QOperand& operand);
2498 const DOperand& operand);
2504 const QOperand& operand);
2510 const DOperand& operand);
2516 const QOperand& operand);
2521 const AlignedMemOperand& operand);
2526 const AlignedMemOperand& operand);
2531 const AlignedMemOperand& operand);
2536 const MemOperand& operand);
2541 const AlignedMemOperand& operand);
2582 const MemOperand& operand);
2587 const MemOperand& operand);