Lines Matching refs:O

42 static void printRegImmShift(raw_ostream &O, ARM_AM::ShiftOpc ShOpc,  in printRegImmShift()  argument
46 O << ", "; in printRegImmShift()
49 O << getShiftOpcStr(ShOpc); in printRegImmShift()
52 O << " "; in printRegImmShift()
54 O << "<imm:"; in printRegImmShift()
55 O << "#" << translateShiftImm(ShImm); in printRegImmShift()
57 O << ">"; in printRegImmShift()
69 void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O, in printInst() argument
81 O << "\tnop"; in printInst()
84 O << "\tyield"; in printInst()
87 O << "\twfe"; in printInst()
90 O << "\twfi"; in printInst()
93 O << "\tsev"; in printInst()
97 O << "\tsevl"; in printInst()
102 printInstruction(MI, STI, O); in printInst()
103 printAnnotation(O, Annot); in printInst()
106 printPredicateOperand(MI, 1, STI, O); in printInst()
108 O << ".w"; in printInst()
109 printAnnotation(O, Annot); in printInst()
120 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm())); in printInst()
121 printSBitModifierOperand(MI, 6, STI, O); in printInst()
122 printPredicateOperand(MI, 4, STI, O); in printInst()
124 O << '\t'; in printInst()
125 printRegName(O, Dst.getReg()); in printInst()
126 O << ", "; in printInst()
127 printRegName(O, MO1.getReg()); in printInst()
129 O << ", "; in printInst()
130 printRegName(O, MO2.getReg()); in printInst()
132 printAnnotation(O, Annot); in printInst()
142 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
143 printSBitModifierOperand(MI, 5, STI, O); in printInst()
144 printPredicateOperand(MI, 3, STI, O); in printInst()
146 O << '\t'; in printInst()
147 printRegName(O, Dst.getReg()); in printInst()
148 O << ", "; in printInst()
149 printRegName(O, MO1.getReg()); in printInst()
152 printAnnotation(O, Annot); in printInst()
156 O << ", " << markup("<imm:") << "#" in printInst()
158 printAnnotation(O, Annot); in printInst()
167 O << '\t' << "push"; in printInst()
168 printPredicateOperand(MI, 2, STI, O); in printInst()
170 O << ".w"; in printInst()
171 O << '\t'; in printInst()
172 printRegisterList(MI, 4, STI, O); in printInst()
173 printAnnotation(O, Annot); in printInst()
181 O << '\t' << "push"; in printInst()
182 printPredicateOperand(MI, 4, STI, O); in printInst()
183 O << "\t{"; in printInst()
184 printRegName(O, MI->getOperand(1).getReg()); in printInst()
185 O << "}"; in printInst()
186 printAnnotation(O, Annot); in printInst()
196 O << '\t' << "pop"; in printInst()
197 printPredicateOperand(MI, 2, STI, O); in printInst()
199 O << ".w"; in printInst()
200 O << '\t'; in printInst()
201 printRegisterList(MI, 4, STI, O); in printInst()
202 printAnnotation(O, Annot); in printInst()
210 O << '\t' << "pop"; in printInst()
211 printPredicateOperand(MI, 5, STI, O); in printInst()
212 O << "\t{"; in printInst()
213 printRegName(O, MI->getOperand(0).getReg()); in printInst()
214 O << "}"; in printInst()
215 printAnnotation(O, Annot); in printInst()
224 O << '\t' << "vpush"; in printInst()
225 printPredicateOperand(MI, 2, STI, O); in printInst()
226 O << '\t'; in printInst()
227 printRegisterList(MI, 4, STI, O); in printInst()
228 printAnnotation(O, Annot); in printInst()
237 O << '\t' << "vpop"; in printInst()
238 printPredicateOperand(MI, 2, STI, O); in printInst()
239 O << '\t'; in printInst()
240 printRegisterList(MI, 4, STI, O); in printInst()
241 printAnnotation(O, Annot); in printInst()
254 O << "\tldm"; in printInst()
256 printPredicateOperand(MI, 1, STI, O); in printInst()
257 O << '\t'; in printInst()
258 printRegName(O, BaseReg); in printInst()
260 O << "!"; in printInst()
261 O << ", "; in printInst()
262 printRegisterList(MI, 3, STI, O); in printInst()
263 printAnnotation(O, Annot); in printInst()
294 printInstruction(&NewMI, STI, O); in printInst()
306 O << "\teret"; in printInst()
307 printPredicateOperand(MI, 1, STI, O); in printInst()
308 printAnnotation(O, Annot); in printInst()
315 printInstruction(MI, STI, O); in printInst()
316 printAnnotation(O, Annot); in printInst()
320 const MCSubtargetInfo &STI, raw_ostream &O) { in printOperand() argument
324 printRegName(O, Reg); in printOperand()
326 O << markup("<imm:") << '#' << formatImm(Op.getImm()) << markup(">"); in printOperand()
332 O << '#'; in printOperand()
333 Expr->print(O, &MAI); in printOperand()
342 O << '#'; in printOperand()
343 Expr->print(O, &MAI); in printOperand()
345 O << "0x"; in printOperand()
346 O.write_hex(static_cast<uint32_t>(TargetAddress)); in printOperand()
353 Expr->print(O, &MAI); in printOperand()
361 raw_ostream &O) { in printThumbLdrLabelOperand() argument
364 MO1.getExpr()->print(O, &MAI); in printThumbLdrLabelOperand()
368 O << markup("<mem:") << "[pc, "; in printThumbLdrLabelOperand()
377 O << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">"); in printThumbLdrLabelOperand()
379 O << markup("<imm:") << "#" << formatImm(OffImm) << markup(">"); in printThumbLdrLabelOperand()
381 O << "]" << markup(">"); in printThumbLdrLabelOperand()
391 raw_ostream &O) { in printSORegRegOperand() argument
396 printRegName(O, MO1.getReg()); in printSORegRegOperand()
400 O << ", " << ARM_AM::getShiftOpcStr(ShOpc); in printSORegRegOperand()
404 O << ' '; in printSORegRegOperand()
405 printRegName(O, MO2.getReg()); in printSORegRegOperand()
411 raw_ostream &O) { in printSORegImmOperand() argument
415 printRegName(O, MO1.getReg()); in printSORegImmOperand()
418 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
428 raw_ostream &O) { in printAM2PreOrOffsetIndexOp() argument
433 O << markup("<mem:") << "["; in printAM2PreOrOffsetIndexOp()
434 printRegName(O, MO1.getReg()); in printAM2PreOrOffsetIndexOp()
438 O << ", " << markup("<imm:") << "#" in printAM2PreOrOffsetIndexOp()
442 O << "]" << markup(">"); in printAM2PreOrOffsetIndexOp()
446 O << ", "; in printAM2PreOrOffsetIndexOp()
447 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
448 printRegName(O, MO2.getReg()); in printAM2PreOrOffsetIndexOp()
450 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
452 O << "]" << markup(">"); in printAM2PreOrOffsetIndexOp()
457 raw_ostream &O) { in printAddrModeTBB() argument
460 O << markup("<mem:") << "["; in printAddrModeTBB()
461 printRegName(O, MO1.getReg()); in printAddrModeTBB()
462 O << ", "; in printAddrModeTBB()
463 printRegName(O, MO2.getReg()); in printAddrModeTBB()
464 O << "]" << markup(">"); in printAddrModeTBB()
469 raw_ostream &O) { in printAddrModeTBH() argument
472 O << markup("<mem:") << "["; in printAddrModeTBH()
473 printRegName(O, MO1.getReg()); in printAddrModeTBH()
474 O << ", "; in printAddrModeTBH()
475 printRegName(O, MO2.getReg()); in printAddrModeTBH()
476 O << ", lsl " << markup("<imm:") << "#1" << markup(">") << "]" << markup(">"); in printAddrModeTBH()
481 raw_ostream &O) { in printAddrMode2Operand() argument
485 printOperand(MI, Op, STI, O); in printAddrMode2Operand()
495 printAM2PreOrOffsetIndexOp(MI, Op, STI, O); in printAddrMode2Operand()
501 raw_ostream &O) { in printAddrMode2OffsetOperand() argument
507 O << markup("<imm:") << '#' in printAddrMode2OffsetOperand()
513 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
514 printRegName(O, MO1.getReg()); in printAddrMode2OffsetOperand()
516 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
525 raw_ostream &O, in printAM3PreOrOffsetIndexOp() argument
531 O << markup("<mem:") << '['; in printAM3PreOrOffsetIndexOp()
532 printRegName(O, MO1.getReg()); in printAM3PreOrOffsetIndexOp()
535 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
536 printRegName(O, MO2.getReg()); in printAM3PreOrOffsetIndexOp()
537 O << ']' << markup(">"); in printAM3PreOrOffsetIndexOp()
546 O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs in printAM3PreOrOffsetIndexOp()
549 O << ']' << markup(">"); in printAM3PreOrOffsetIndexOp()
555 raw_ostream &O) { in printAddrMode3Operand() argument
558 printOperand(MI, Op, STI, O); in printAddrMode3Operand()
565 printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0); in printAddrMode3Operand()
571 raw_ostream &O) { in printAddrMode3OffsetOperand() argument
576 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
577 printRegName(O, MO1.getReg()); in printAddrMode3OffsetOperand()
582 O << markup("<imm:") << '#' in printAddrMode3OffsetOperand()
589 raw_ostream &O) { in printPostIdxImm8Operand() argument
592 O << markup("<imm:") << '#' << ((Imm & 256) ? "" : "-") << (Imm & 0xff) in printPostIdxImm8Operand()
598 raw_ostream &O) { in printPostIdxRegOperand() argument
602 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
603 printRegName(O, MO1.getReg()); in printPostIdxRegOperand()
608 raw_ostream &O) { in printPostIdxImm8s4Operand() argument
611 O << markup("<imm:") << '#' << ((Imm & 256) ? "" : "-") << ((Imm & 0xff) << 2) in printPostIdxImm8s4Operand()
617 raw_ostream &O) { in printLdStmModeOperand() argument
620 O << ARM_AM::getAMSubModeStr(Mode); in printLdStmModeOperand()
626 raw_ostream &O) { in printAddrMode5Operand() argument
631 printOperand(MI, OpNum, STI, O); in printAddrMode5Operand()
635 O << markup("<mem:") << "["; in printAddrMode5Operand()
636 printRegName(O, MO1.getReg()); in printAddrMode5Operand()
641 O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(Op) in printAddrMode5Operand()
644 O << "]" << markup(">"); in printAddrMode5Operand()
649 raw_ostream &O) { in printAddrMode6Operand() argument
653 O << markup("<mem:") << "["; in printAddrMode6Operand()
654 printRegName(O, MO1.getReg()); in printAddrMode6Operand()
656 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
658 O << "]" << markup(">"); in printAddrMode6Operand()
663 raw_ostream &O) { in printAddrMode7Operand() argument
665 O << markup("<mem:") << "["; in printAddrMode7Operand()
666 printRegName(O, MO1.getReg()); in printAddrMode7Operand()
667 O << "]" << markup(">"); in printAddrMode7Operand()
673 raw_ostream &O) { in printAddrMode6OffsetOperand() argument
676 O << "!"; in printAddrMode6OffsetOperand()
678 O << ", "; in printAddrMode6OffsetOperand()
679 printRegName(O, MO.getReg()); in printAddrMode6OffsetOperand()
686 raw_ostream &O) { in printBitfieldInvMaskImmOperand() argument
692 O << markup("<imm:") << '#' << lsb << markup(">") << ", " << markup("<imm:") in printBitfieldInvMaskImmOperand()
698 raw_ostream &O) { in printMemBOption() argument
700 O << ARM_MB::MemBOptToString(val, STI.getFeatureBits()[ARM::HasV8Ops]); in printMemBOption()
705 raw_ostream &O) { in printInstSyncBOption() argument
707 O << ARM_ISB::InstSyncBOptToString(val); in printInstSyncBOption()
712 raw_ostream &O) { in printShiftImmOperand() argument
717 O << ", asr " << markup("<imm:") << "#" << (Amt == 0 ? 32 : Amt) in printShiftImmOperand()
720 O << ", lsl " << markup("<imm:") << "#" << Amt << markup(">"); in printShiftImmOperand()
726 raw_ostream &O) { in printPKHLSLShiftImm() argument
731 O << ", lsl " << markup("<imm:") << "#" << Imm << markup(">"); in printPKHLSLShiftImm()
736 raw_ostream &O) { in printPKHASRShiftImm() argument
742 O << ", asr " << markup("<imm:") << "#" << Imm << markup(">"); in printPKHASRShiftImm()
747 raw_ostream &O) { in printRegisterList() argument
748 O << "{"; in printRegisterList()
751 O << ", "; in printRegisterList()
752 printRegName(O, MI->getOperand(i).getReg()); in printRegisterList()
754 O << "}"; in printRegisterList()
759 raw_ostream &O) { in printGPRPairOperand() argument
761 printRegName(O, MRI.getSubReg(Reg, ARM::gsub_0)); in printGPRPairOperand()
762 O << ", "; in printGPRPairOperand()
763 printRegName(O, MRI.getSubReg(Reg, ARM::gsub_1)); in printGPRPairOperand()
768 raw_ostream &O) { in printSetendOperand() argument
771 O << "be"; in printSetendOperand()
773 O << "le"; in printSetendOperand()
777 const MCSubtargetInfo &STI, raw_ostream &O) { in printCPSIMod() argument
779 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
783 const MCSubtargetInfo &STI, raw_ostream &O) { in printCPSIFlag() argument
788 O << ARM_PROC::IFlagsToString(1 << i); in printCPSIFlag()
791 O << "none"; in printCPSIFlag()
796 raw_ostream &O) { in printMSRMaskOperand() argument
810 O << "apsr_g"; in printMSRMaskOperand()
813 O << "apsr_nzcvqg"; in printMSRMaskOperand()
816 O << "iapsr_g"; in printMSRMaskOperand()
819 O << "iapsr_nzcvqg"; in printMSRMaskOperand()
822 O << "eapsr_g"; in printMSRMaskOperand()
825 O << "eapsr_nzcvqg"; in printMSRMaskOperand()
828 O << "xpsr_g"; in printMSRMaskOperand()
831 O << "xpsr_nzcvqg"; in printMSRMaskOperand()
844 O << "apsr_nzcvq"; in printMSRMaskOperand()
847 O << "iapsr_nzcvq"; in printMSRMaskOperand()
850 O << "eapsr_nzcvq"; in printMSRMaskOperand()
853 O << "xpsr_nzcvq"; in printMSRMaskOperand()
862 O << "apsr"; in printMSRMaskOperand()
865 O << "iapsr"; in printMSRMaskOperand()
868 O << "eapsr"; in printMSRMaskOperand()
871 O << "xpsr"; in printMSRMaskOperand()
874 O << "ipsr"; in printMSRMaskOperand()
877 O << "epsr"; in printMSRMaskOperand()
880 O << "iepsr"; in printMSRMaskOperand()
883 O << "msp"; in printMSRMaskOperand()
886 O << "psp"; in printMSRMaskOperand()
889 O << "primask"; in printMSRMaskOperand()
892 O << "basepri"; in printMSRMaskOperand()
895 O << "basepri_max"; in printMSRMaskOperand()
898 O << "faultmask"; in printMSRMaskOperand()
901 O << "control"; in printMSRMaskOperand()
909 O << "APSR_"; in printMSRMaskOperand()
914 O << "g"; in printMSRMaskOperand()
917 O << "nzcvq"; in printMSRMaskOperand()
920 O << "nzcvqg"; in printMSRMaskOperand()
926 O << "SPSR"; in printMSRMaskOperand()
928 O << "CPSR"; in printMSRMaskOperand()
931 O << '_'; in printMSRMaskOperand()
933 O << 'f'; in printMSRMaskOperand()
935 O << 's'; in printMSRMaskOperand()
937 O << 'x'; in printMSRMaskOperand()
939 O << 'c'; in printMSRMaskOperand()
945 raw_ostream &O) { in printBankedRegOperand() argument
953 O << "SPSR_"; in printBankedRegOperand()
957 O << "fiq"; in printBankedRegOperand()
960 O << "irq"; in printBankedRegOperand()
963 O << "svc"; in printBankedRegOperand()
966 O << "abt"; in printBankedRegOperand()
969 O << "und"; in printBankedRegOperand()
972 O << "mon"; in printBankedRegOperand()
975 O << "hyp"; in printBankedRegOperand()
992 O << Name; in printBankedRegOperand()
997 raw_ostream &O) { in printPredicateOperand() argument
1001 O << "<und>"; in printPredicateOperand()
1003 O << ARMCondCodeToString(CC); in printPredicateOperand()
1009 raw_ostream &O) { in printMandatoryPredicateOperand() argument
1011 O << ARMCondCodeToString(CC); in printMandatoryPredicateOperand()
1016 raw_ostream &O) { in printSBitModifierOperand() argument
1020 O << 's'; in printSBitModifierOperand()
1026 raw_ostream &O) { in printNoHashImmediate() argument
1027 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1032 raw_ostream &O) { in printPImmediate() argument
1033 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1038 raw_ostream &O) { in printCImmediate() argument
1039 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1044 raw_ostream &O) { in printCoprocOptionImm() argument
1045 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1049 const MCSubtargetInfo &STI, raw_ostream &O) { in printPCLabel() argument
1056 raw_ostream &O) { in printAdrLabelOperand() argument
1060 MO.getExpr()->print(O, &MAI); in printAdrLabelOperand()
1066 O << markup("<imm:"); in printAdrLabelOperand()
1068 O << "#-0"; in printAdrLabelOperand()
1070 O << "#-" << -OffImm; in printAdrLabelOperand()
1072 O << "#" << OffImm; in printAdrLabelOperand()
1073 O << markup(">"); in printAdrLabelOperand()
1078 raw_ostream &O) { in printThumbS4ImmOperand() argument
1079 O << markup("<imm:") << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4) in printThumbS4ImmOperand()
1085 raw_ostream &O) { in printThumbSRImm() argument
1087 O << markup("<imm:") << "#" << formatImm((Imm == 0 ? 32 : Imm)) in printThumbSRImm()
1093 raw_ostream &O) { in printThumbITMask() argument
1103 O << 't'; in printThumbITMask()
1105 O << 'e'; in printThumbITMask()
1111 raw_ostream &O) { in printThumbAddrModeRROperand() argument
1116 printOperand(MI, Op, STI, O); in printThumbAddrModeRROperand()
1120 O << markup("<mem:") << "["; in printThumbAddrModeRROperand()
1121 printRegName(O, MO1.getReg()); in printThumbAddrModeRROperand()
1123 O << ", "; in printThumbAddrModeRROperand()
1124 printRegName(O, RegNum); in printThumbAddrModeRROperand()
1126 O << "]" << markup(">"); in printThumbAddrModeRROperand()
1132 raw_ostream &O, in printThumbAddrModeImm5SOperand() argument
1138 printOperand(MI, Op, STI, O); in printThumbAddrModeImm5SOperand()
1142 O << markup("<mem:") << "["; in printThumbAddrModeImm5SOperand()
1143 printRegName(O, MO1.getReg()); in printThumbAddrModeImm5SOperand()
1145 O << ", " << markup("<imm:") << "#" << formatImm(ImmOffs * Scale) in printThumbAddrModeImm5SOperand()
1148 O << "]" << markup(">"); in printThumbAddrModeImm5SOperand()
1154 raw_ostream &O) { in printThumbAddrModeImm5S1Operand() argument
1155 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 1); in printThumbAddrModeImm5S1Operand()
1161 raw_ostream &O) { in printThumbAddrModeImm5S2Operand() argument
1162 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 2); in printThumbAddrModeImm5S2Operand()
1168 raw_ostream &O) { in printThumbAddrModeImm5S4Operand() argument
1169 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 4); in printThumbAddrModeImm5S4Operand()
1174 raw_ostream &O) { in printThumbAddrModeSPOperand() argument
1175 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 4); in printThumbAddrModeSPOperand()
1184 raw_ostream &O) { in printT2SOOperand() argument
1189 printRegName(O, Reg); in printT2SOOperand()
1193 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1200 raw_ostream &O) { in printAddrModeImm12Operand() argument
1205 printOperand(MI, OpNum, STI, O); in printAddrModeImm12Operand()
1209 O << markup("<mem:") << "["; in printAddrModeImm12Operand()
1210 printRegName(O, MO1.getReg()); in printAddrModeImm12Operand()
1218 O << ", " << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">"); in printAddrModeImm12Operand()
1220 O << ", " << markup("<imm:") << "#" << formatImm(OffImm) << markup(">"); in printAddrModeImm12Operand()
1222 O << "]" << markup(">"); in printAddrModeImm12Operand()
1229 raw_ostream &O) { in printT2AddrModeImm8Operand() argument
1233 O << markup("<mem:") << "["; in printT2AddrModeImm8Operand()
1234 printRegName(O, MO1.getReg()); in printT2AddrModeImm8Operand()
1242 O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">"); in printT2AddrModeImm8Operand()
1244 O << ", " << markup("<imm:") << "#" << OffImm << markup(">"); in printT2AddrModeImm8Operand()
1246 O << "]" << markup(">"); in printT2AddrModeImm8Operand()
1253 raw_ostream &O) { in printT2AddrModeImm8s4Operand() argument
1258 printOperand(MI, OpNum, STI, O); in printT2AddrModeImm8s4Operand()
1262 O << markup("<mem:") << "["; in printT2AddrModeImm8s4Operand()
1263 printRegName(O, MO1.getReg()); in printT2AddrModeImm8s4Operand()
1274 O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">"); in printT2AddrModeImm8s4Operand()
1276 O << ", " << markup("<imm:") << "#" << OffImm << markup(">"); in printT2AddrModeImm8s4Operand()
1278 O << "]" << markup(">"); in printT2AddrModeImm8s4Operand()
1283 raw_ostream &O) { in printT2AddrModeImm0_1020s4Operand() argument
1287 O << markup("<mem:") << "["; in printT2AddrModeImm0_1020s4Operand()
1288 printRegName(O, MO1.getReg()); in printT2AddrModeImm0_1020s4Operand()
1290 O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4) in printT2AddrModeImm0_1020s4Operand()
1293 O << "]" << markup(">"); in printT2AddrModeImm0_1020s4Operand()
1298 raw_ostream &O) { in printT2AddrModeImm8OffsetOperand() argument
1301 O << ", " << markup("<imm:"); in printT2AddrModeImm8OffsetOperand()
1303 O << "#-0"; in printT2AddrModeImm8OffsetOperand()
1305 O << "#-" << -OffImm; in printT2AddrModeImm8OffsetOperand()
1307 O << "#" << OffImm; in printT2AddrModeImm8OffsetOperand()
1308 O << markup(">"); in printT2AddrModeImm8OffsetOperand()
1313 raw_ostream &O) { in printT2AddrModeImm8s4OffsetOperand() argument
1319 O << ", " << markup("<imm:"); in printT2AddrModeImm8s4OffsetOperand()
1321 O << "#-0"; in printT2AddrModeImm8s4OffsetOperand()
1323 O << "#-" << -OffImm; in printT2AddrModeImm8s4OffsetOperand()
1325 O << "#" << OffImm; in printT2AddrModeImm8s4OffsetOperand()
1326 O << markup(">"); in printT2AddrModeImm8s4OffsetOperand()
1332 raw_ostream &O) { in printT2AddrModeSoRegOperand() argument
1337 O << markup("<mem:") << "["; in printT2AddrModeSoRegOperand()
1338 printRegName(O, MO1.getReg()); in printT2AddrModeSoRegOperand()
1341 O << ", "; in printT2AddrModeSoRegOperand()
1342 printRegName(O, MO2.getReg()); in printT2AddrModeSoRegOperand()
1347 O << ", lsl " << markup("<imm:") << "#" << ShAmt << markup(">"); in printT2AddrModeSoRegOperand()
1349 O << "]" << markup(">"); in printT2AddrModeSoRegOperand()
1354 raw_ostream &O) { in printFPImmOperand() argument
1356 O << markup("<imm:") << '#' << ARM_AM::getFPImmFloat(MO.getImm()) in printFPImmOperand()
1362 raw_ostream &O) { in printNEONModImmOperand() argument
1366 O << markup("<imm:") << "#0x"; in printNEONModImmOperand()
1367 O.write_hex(Val); in printNEONModImmOperand()
1368 O << markup(">"); in printNEONModImmOperand()
1373 raw_ostream &O) { in printImmPlusOneOperand() argument
1375 O << markup("<imm:") << "#" << formatImm(Imm + 1) << markup(">"); in printImmPlusOneOperand()
1380 raw_ostream &O) { in printRotImmOperand() argument
1385 O << ", ror " << markup("<imm:") << "#" << 8 * Imm << markup(">"); in printRotImmOperand()
1390 raw_ostream &O) { in printModImmOperand() argument
1395 return printOperand(MI, OpNum, STI, O); in printModImmOperand()
1415 O << "#" << markup("<imm:"); in printModImmOperand()
1417 O << static_cast<uint32_t>(Rotated); in printModImmOperand()
1419 O << Rotated; in printModImmOperand()
1420 O << markup(">"); in printModImmOperand()
1425 O << "#" << markup("<imm:") << Bits << markup(">") << ", #" << markup("<imm:") in printModImmOperand()
1430 const MCSubtargetInfo &STI, raw_ostream &O) { in printFBits16() argument
1431 O << markup("<imm:") << "#" << 16 - MI->getOperand(OpNum).getImm() in printFBits16()
1436 const MCSubtargetInfo &STI, raw_ostream &O) { in printFBits32() argument
1437 O << markup("<imm:") << "#" << 32 - MI->getOperand(OpNum).getImm() in printFBits32()
1443 raw_ostream &O) { in printVectorIndex() argument
1444 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()
1449 raw_ostream &O) { in printVectorListOne() argument
1450 O << "{"; in printVectorListOne()
1451 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOne()
1452 O << "}"; in printVectorListOne()
1457 raw_ostream &O) { in printVectorListTwo() argument
1461 O << "{"; in printVectorListTwo()
1462 printRegName(O, Reg0); in printVectorListTwo()
1463 O << ", "; in printVectorListTwo()
1464 printRegName(O, Reg1); in printVectorListTwo()
1465 O << "}"; in printVectorListTwo()
1470 raw_ostream &O) { in printVectorListTwoSpaced() argument
1474 O << "{"; in printVectorListTwoSpaced()
1475 printRegName(O, Reg0); in printVectorListTwoSpaced()
1476 O << ", "; in printVectorListTwoSpaced()
1477 printRegName(O, Reg1); in printVectorListTwoSpaced()
1478 O << "}"; in printVectorListTwoSpaced()
1483 raw_ostream &O) { in printVectorListThree() argument
1487 O << "{"; in printVectorListThree()
1488 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThree()
1489 O << ", "; in printVectorListThree()
1490 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThree()
1491 O << ", "; in printVectorListThree()
1492 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThree()
1493 O << "}"; in printVectorListThree()
1498 raw_ostream &O) { in printVectorListFour() argument
1502 O << "{"; in printVectorListFour()
1503 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFour()
1504 O << ", "; in printVectorListFour()
1505 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFour()
1506 O << ", "; in printVectorListFour()
1507 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFour()
1508 O << ", "; in printVectorListFour()
1509 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFour()
1510 O << "}"; in printVectorListFour()
1516 raw_ostream &O) { in printVectorListOneAllLanes() argument
1517 O << "{"; in printVectorListOneAllLanes()
1518 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOneAllLanes()
1519 O << "[]}"; in printVectorListOneAllLanes()
1525 raw_ostream &O) { in printVectorListTwoAllLanes() argument
1529 O << "{"; in printVectorListTwoAllLanes()
1530 printRegName(O, Reg0); in printVectorListTwoAllLanes()
1531 O << "[], "; in printVectorListTwoAllLanes()
1532 printRegName(O, Reg1); in printVectorListTwoAllLanes()
1533 O << "[]}"; in printVectorListTwoAllLanes()
1539 raw_ostream &O) { in printVectorListThreeAllLanes() argument
1543 O << "{"; in printVectorListThreeAllLanes()
1544 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeAllLanes()
1545 O << "[], "; in printVectorListThreeAllLanes()
1546 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThreeAllLanes()
1547 O << "[], "; in printVectorListThreeAllLanes()
1548 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeAllLanes()
1549 O << "[]}"; in printVectorListThreeAllLanes()
1555 raw_ostream &O) { in printVectorListFourAllLanes() argument
1559 O << "{"; in printVectorListFourAllLanes()
1560 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourAllLanes()
1561 O << "[], "; in printVectorListFourAllLanes()
1562 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFourAllLanes()
1563 O << "[], "; in printVectorListFourAllLanes()
1564 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourAllLanes()
1565 O << "[], "; in printVectorListFourAllLanes()
1566 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFourAllLanes()
1567 O << "[]}"; in printVectorListFourAllLanes()
1572 raw_ostream &O) { in printVectorListTwoSpacedAllLanes() argument
1576 O << "{"; in printVectorListTwoSpacedAllLanes()
1577 printRegName(O, Reg0); in printVectorListTwoSpacedAllLanes()
1578 O << "[], "; in printVectorListTwoSpacedAllLanes()
1579 printRegName(O, Reg1); in printVectorListTwoSpacedAllLanes()
1580 O << "[]}"; in printVectorListTwoSpacedAllLanes()
1585 raw_ostream &O) { in printVectorListThreeSpacedAllLanes() argument
1589 O << "{"; in printVectorListThreeSpacedAllLanes()
1590 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpacedAllLanes()
1591 O << "[], "; in printVectorListThreeSpacedAllLanes()
1592 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpacedAllLanes()
1593 O << "[], "; in printVectorListThreeSpacedAllLanes()
1594 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpacedAllLanes()
1595 O << "[]}"; in printVectorListThreeSpacedAllLanes()
1600 raw_ostream &O) { in printVectorListFourSpacedAllLanes() argument
1604 O << "{"; in printVectorListFourSpacedAllLanes()
1605 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpacedAllLanes()
1606 O << "[], "; in printVectorListFourSpacedAllLanes()
1607 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpacedAllLanes()
1608 O << "[], "; in printVectorListFourSpacedAllLanes()
1609 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpacedAllLanes()
1610 O << "[], "; in printVectorListFourSpacedAllLanes()
1611 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpacedAllLanes()
1612 O << "[]}"; in printVectorListFourSpacedAllLanes()
1618 raw_ostream &O) { in printVectorListThreeSpaced() argument
1622 O << "{"; in printVectorListThreeSpaced()
1623 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpaced()
1624 O << ", "; in printVectorListThreeSpaced()
1625 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpaced()
1626 O << ", "; in printVectorListThreeSpaced()
1627 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpaced()
1628 O << "}"; in printVectorListThreeSpaced()
1633 raw_ostream &O) { in printVectorListFourSpaced() argument
1637 O << "{"; in printVectorListFourSpaced()
1638 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpaced()
1639 O << ", "; in printVectorListFourSpaced()
1640 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpaced()
1641 O << ", "; in printVectorListFourSpaced()
1642 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpaced()
1643 O << ", "; in printVectorListFourSpaced()
1644 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpaced()
1645 O << "}"; in printVectorListFourSpaced()