Lines Matching refs:O
44 static void printRegImmShift(raw_ostream &O, ARM_AM::ShiftOpc ShOpc, in printRegImmShift() argument
48 O << ", "; in printRegImmShift()
51 O << getShiftOpcStr(ShOpc); in printRegImmShift()
54 O << " "; in printRegImmShift()
56 O << "<imm:"; in printRegImmShift()
57 O << "#" << translateShiftImm(ShImm); in printRegImmShift()
59 O << ">"; in printRegImmShift()
71 void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O, in printInst() argument
85 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm())); in printInst()
86 printSBitModifierOperand(MI, 6, STI, O); in printInst()
87 printPredicateOperand(MI, 4, STI, O); in printInst()
89 O << '\t'; in printInst()
90 printRegName(O, Dst.getReg()); in printInst()
91 O << ", "; in printInst()
92 printRegName(O, MO1.getReg()); in printInst()
94 O << ", "; in printInst()
95 printRegName(O, MO2.getReg()); in printInst()
97 printAnnotation(O, Annot); in printInst()
107 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
108 printSBitModifierOperand(MI, 5, STI, O); in printInst()
109 printPredicateOperand(MI, 3, STI, O); in printInst()
111 O << '\t'; in printInst()
112 printRegName(O, Dst.getReg()); in printInst()
113 O << ", "; in printInst()
114 printRegName(O, MO1.getReg()); in printInst()
117 printAnnotation(O, Annot); in printInst()
121 O << ", " << markup("<imm:") << "#" in printInst()
123 printAnnotation(O, Annot); in printInst()
132 O << '\t' << "push"; in printInst()
133 printPredicateOperand(MI, 2, STI, O); in printInst()
135 O << ".w"; in printInst()
136 O << '\t'; in printInst()
137 printRegisterList(MI, 4, STI, O); in printInst()
138 printAnnotation(O, Annot); in printInst()
146 O << '\t' << "push"; in printInst()
147 printPredicateOperand(MI, 4, STI, O); in printInst()
148 O << "\t{"; in printInst()
149 printRegName(O, MI->getOperand(1).getReg()); in printInst()
150 O << "}"; in printInst()
151 printAnnotation(O, Annot); in printInst()
161 O << '\t' << "pop"; in printInst()
162 printPredicateOperand(MI, 2, STI, O); in printInst()
164 O << ".w"; in printInst()
165 O << '\t'; in printInst()
166 printRegisterList(MI, 4, STI, O); in printInst()
167 printAnnotation(O, Annot); in printInst()
175 O << '\t' << "pop"; in printInst()
176 printPredicateOperand(MI, 5, STI, O); in printInst()
177 O << "\t{"; in printInst()
178 printRegName(O, MI->getOperand(0).getReg()); in printInst()
179 O << "}"; in printInst()
180 printAnnotation(O, Annot); in printInst()
189 O << '\t' << "vpush"; in printInst()
190 printPredicateOperand(MI, 2, STI, O); in printInst()
191 O << '\t'; in printInst()
192 printRegisterList(MI, 4, STI, O); in printInst()
193 printAnnotation(O, Annot); in printInst()
202 O << '\t' << "vpop"; in printInst()
203 printPredicateOperand(MI, 2, STI, O); in printInst()
204 O << '\t'; in printInst()
205 printRegisterList(MI, 4, STI, O); in printInst()
206 printAnnotation(O, Annot); in printInst()
219 O << "\tldm"; in printInst()
221 printPredicateOperand(MI, 1, STI, O); in printInst()
222 O << '\t'; in printInst()
223 printRegName(O, BaseReg); in printInst()
225 O << "!"; in printInst()
226 O << ", "; in printInst()
227 printRegisterList(MI, 3, STI, O); in printInst()
228 printAnnotation(O, Annot); in printInst()
259 printInstruction(&NewMI, STI, O); in printInst()
266 if (!printAliasInstr(MI, STI, O)) in printInst()
267 printInstruction(MI, STI, O); in printInst()
269 printAnnotation(O, Annot); in printInst()
273 const MCSubtargetInfo &STI, raw_ostream &O) { in printOperand() argument
277 printRegName(O, Reg); in printOperand()
279 O << markup("<imm:") << '#' << formatImm(Op.getImm()) << markup(">"); in printOperand()
285 O << '#'; in printOperand()
286 Expr->print(O, &MAI); in printOperand()
295 O << '#'; in printOperand()
296 Expr->print(O, &MAI); in printOperand()
298 O << "0x"; in printOperand()
299 O.write_hex(static_cast<uint32_t>(TargetAddress)); in printOperand()
306 Expr->print(O, &MAI); in printOperand()
314 raw_ostream &O) { in printThumbLdrLabelOperand() argument
317 MO1.getExpr()->print(O, &MAI); in printThumbLdrLabelOperand()
321 O << markup("<mem:") << "[pc, "; in printThumbLdrLabelOperand()
330 O << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">"); in printThumbLdrLabelOperand()
332 O << markup("<imm:") << "#" << formatImm(OffImm) << markup(">"); in printThumbLdrLabelOperand()
334 O << "]" << markup(">"); in printThumbLdrLabelOperand()
344 raw_ostream &O) { in printSORegRegOperand() argument
349 printRegName(O, MO1.getReg()); in printSORegRegOperand()
353 O << ", " << ARM_AM::getShiftOpcStr(ShOpc); in printSORegRegOperand()
357 O << ' '; in printSORegRegOperand()
358 printRegName(O, MO2.getReg()); in printSORegRegOperand()
364 raw_ostream &O) { in printSORegImmOperand() argument
368 printRegName(O, MO1.getReg()); in printSORegImmOperand()
371 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
381 raw_ostream &O) { in printAM2PreOrOffsetIndexOp() argument
386 O << markup("<mem:") << "["; in printAM2PreOrOffsetIndexOp()
387 printRegName(O, MO1.getReg()); in printAM2PreOrOffsetIndexOp()
391 O << ", " << markup("<imm:") << "#" in printAM2PreOrOffsetIndexOp()
395 O << "]" << markup(">"); in printAM2PreOrOffsetIndexOp()
399 O << ", "; in printAM2PreOrOffsetIndexOp()
400 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
401 printRegName(O, MO2.getReg()); in printAM2PreOrOffsetIndexOp()
403 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
405 O << "]" << markup(">"); in printAM2PreOrOffsetIndexOp()
410 raw_ostream &O) { in printAddrModeTBB() argument
413 O << markup("<mem:") << "["; in printAddrModeTBB()
414 printRegName(O, MO1.getReg()); in printAddrModeTBB()
415 O << ", "; in printAddrModeTBB()
416 printRegName(O, MO2.getReg()); in printAddrModeTBB()
417 O << "]" << markup(">"); in printAddrModeTBB()
422 raw_ostream &O) { in printAddrModeTBH() argument
425 O << markup("<mem:") << "["; in printAddrModeTBH()
426 printRegName(O, MO1.getReg()); in printAddrModeTBH()
427 O << ", "; in printAddrModeTBH()
428 printRegName(O, MO2.getReg()); in printAddrModeTBH()
429 O << ", lsl " << markup("<imm:") << "#1" << markup(">") << "]" << markup(">"); in printAddrModeTBH()
434 raw_ostream &O) { in printAddrMode2Operand() argument
438 printOperand(MI, Op, STI, O); in printAddrMode2Operand()
448 printAM2PreOrOffsetIndexOp(MI, Op, STI, O); in printAddrMode2Operand()
454 raw_ostream &O) { in printAddrMode2OffsetOperand() argument
460 O << markup("<imm:") << '#' in printAddrMode2OffsetOperand()
466 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
467 printRegName(O, MO1.getReg()); in printAddrMode2OffsetOperand()
469 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
478 raw_ostream &O, in printAM3PreOrOffsetIndexOp() argument
484 O << markup("<mem:") << '['; in printAM3PreOrOffsetIndexOp()
485 printRegName(O, MO1.getReg()); in printAM3PreOrOffsetIndexOp()
488 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
489 printRegName(O, MO2.getReg()); in printAM3PreOrOffsetIndexOp()
490 O << ']' << markup(">"); in printAM3PreOrOffsetIndexOp()
499 O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs in printAM3PreOrOffsetIndexOp()
502 O << ']' << markup(">"); in printAM3PreOrOffsetIndexOp()
508 raw_ostream &O) { in printAddrMode3Operand() argument
511 printOperand(MI, Op, STI, O); in printAddrMode3Operand()
518 printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0); in printAddrMode3Operand()
524 raw_ostream &O) { in printAddrMode3OffsetOperand() argument
529 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
530 printRegName(O, MO1.getReg()); in printAddrMode3OffsetOperand()
535 O << markup("<imm:") << '#' in printAddrMode3OffsetOperand()
542 raw_ostream &O) { in printPostIdxImm8Operand() argument
545 O << markup("<imm:") << '#' << ((Imm & 256) ? "" : "-") << (Imm & 0xff) in printPostIdxImm8Operand()
551 raw_ostream &O) { in printPostIdxRegOperand() argument
555 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
556 printRegName(O, MO1.getReg()); in printPostIdxRegOperand()
561 raw_ostream &O) { in printPostIdxImm8s4Operand() argument
564 O << markup("<imm:") << '#' << ((Imm & 256) ? "" : "-") << ((Imm & 0xff) << 2) in printPostIdxImm8s4Operand()
570 raw_ostream &O) { in printLdStmModeOperand() argument
573 O << ARM_AM::getAMSubModeStr(Mode); in printLdStmModeOperand()
579 raw_ostream &O) { in printAddrMode5Operand() argument
584 printOperand(MI, OpNum, STI, O); in printAddrMode5Operand()
588 O << markup("<mem:") << "["; in printAddrMode5Operand()
589 printRegName(O, MO1.getReg()); in printAddrMode5Operand()
594 O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(Op) in printAddrMode5Operand()
597 O << "]" << markup(">"); in printAddrMode5Operand()
603 raw_ostream &O) { in printAddrMode5FP16Operand() argument
608 printOperand(MI, OpNum, STI, O); in printAddrMode5FP16Operand()
612 O << markup("<mem:") << "["; in printAddrMode5FP16Operand()
613 printRegName(O, MO1.getReg()); in printAddrMode5FP16Operand()
618 O << ", " in printAddrMode5FP16Operand()
625 O << "]" << markup(">"); in printAddrMode5FP16Operand()
630 raw_ostream &O) { in printAddrMode6Operand() argument
634 O << markup("<mem:") << "["; in printAddrMode6Operand()
635 printRegName(O, MO1.getReg()); in printAddrMode6Operand()
637 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
639 O << "]" << markup(">"); in printAddrMode6Operand()
644 raw_ostream &O) { in printAddrMode7Operand() argument
646 O << markup("<mem:") << "["; in printAddrMode7Operand()
647 printRegName(O, MO1.getReg()); in printAddrMode7Operand()
648 O << "]" << markup(">"); in printAddrMode7Operand()
654 raw_ostream &O) { in printAddrMode6OffsetOperand() argument
657 O << "!"; in printAddrMode6OffsetOperand()
659 O << ", "; in printAddrMode6OffsetOperand()
660 printRegName(O, MO.getReg()); in printAddrMode6OffsetOperand()
667 raw_ostream &O) { in printBitfieldInvMaskImmOperand() argument
673 O << markup("<imm:") << '#' << lsb << markup(">") << ", " << markup("<imm:") in printBitfieldInvMaskImmOperand()
679 raw_ostream &O) { in printMemBOption() argument
681 O << ARM_MB::MemBOptToString(val, STI.getFeatureBits()[ARM::HasV8Ops]); in printMemBOption()
686 raw_ostream &O) { in printInstSyncBOption() argument
688 O << ARM_ISB::InstSyncBOptToString(val); in printInstSyncBOption()
693 raw_ostream &O) { in printShiftImmOperand() argument
698 O << ", asr " << markup("<imm:") << "#" << (Amt == 0 ? 32 : Amt) in printShiftImmOperand()
701 O << ", lsl " << markup("<imm:") << "#" << Amt << markup(">"); in printShiftImmOperand()
707 raw_ostream &O) { in printPKHLSLShiftImm() argument
712 O << ", lsl " << markup("<imm:") << "#" << Imm << markup(">"); in printPKHLSLShiftImm()
717 raw_ostream &O) { in printPKHASRShiftImm() argument
723 O << ", asr " << markup("<imm:") << "#" << Imm << markup(">"); in printPKHASRShiftImm()
728 raw_ostream &O) { in printRegisterList() argument
729 O << "{"; in printRegisterList()
732 O << ", "; in printRegisterList()
733 printRegName(O, MI->getOperand(i).getReg()); in printRegisterList()
735 O << "}"; in printRegisterList()
740 raw_ostream &O) { in printGPRPairOperand() argument
742 printRegName(O, MRI.getSubReg(Reg, ARM::gsub_0)); in printGPRPairOperand()
743 O << ", "; in printGPRPairOperand()
744 printRegName(O, MRI.getSubReg(Reg, ARM::gsub_1)); in printGPRPairOperand()
749 raw_ostream &O) { in printSetendOperand() argument
752 O << "be"; in printSetendOperand()
754 O << "le"; in printSetendOperand()
758 const MCSubtargetInfo &STI, raw_ostream &O) { in printCPSIMod() argument
760 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
764 const MCSubtargetInfo &STI, raw_ostream &O) { in printCPSIFlag() argument
769 O << ARM_PROC::IFlagsToString(1 << i); in printCPSIFlag()
772 O << "none"; in printCPSIFlag()
777 raw_ostream &O) { in printMSRMaskOperand() argument
791 O << "apsr_g"; in printMSRMaskOperand()
794 O << "apsr_nzcvqg"; in printMSRMaskOperand()
797 O << "iapsr_g"; in printMSRMaskOperand()
800 O << "iapsr_nzcvqg"; in printMSRMaskOperand()
803 O << "eapsr_g"; in printMSRMaskOperand()
806 O << "eapsr_nzcvqg"; in printMSRMaskOperand()
809 O << "xpsr_g"; in printMSRMaskOperand()
812 O << "xpsr_nzcvqg"; in printMSRMaskOperand()
825 O << "apsr_nzcvq"; in printMSRMaskOperand()
828 O << "iapsr_nzcvq"; in printMSRMaskOperand()
831 O << "eapsr_nzcvq"; in printMSRMaskOperand()
834 O << "xpsr_nzcvq"; in printMSRMaskOperand()
843 O << "apsr"; in printMSRMaskOperand()
846 O << "iapsr"; in printMSRMaskOperand()
849 O << "eapsr"; in printMSRMaskOperand()
852 O << "xpsr"; in printMSRMaskOperand()
855 O << "ipsr"; in printMSRMaskOperand()
858 O << "epsr"; in printMSRMaskOperand()
861 O << "iepsr"; in printMSRMaskOperand()
864 O << "msp"; in printMSRMaskOperand()
867 O << "psp"; in printMSRMaskOperand()
870 O << "primask"; in printMSRMaskOperand()
873 O << "basepri"; in printMSRMaskOperand()
876 O << "basepri_max"; in printMSRMaskOperand()
879 O << "faultmask"; in printMSRMaskOperand()
882 O << "control"; in printMSRMaskOperand()
885 O << "msplim"; in printMSRMaskOperand()
888 O << "psplim"; in printMSRMaskOperand()
891 O << "msp_ns"; in printMSRMaskOperand()
894 O << "psp_ns"; in printMSRMaskOperand()
897 O << "msplim_ns"; in printMSRMaskOperand()
900 O << "psplim_ns"; in printMSRMaskOperand()
903 O << "primask_ns"; in printMSRMaskOperand()
906 O << "basepri_ns"; in printMSRMaskOperand()
909 O << "basepri_max_ns"; in printMSRMaskOperand()
912 O << "faultmask_ns"; in printMSRMaskOperand()
915 O << "control_ns"; in printMSRMaskOperand()
918 O << "sp_ns"; in printMSRMaskOperand()
926 O << "APSR_"; in printMSRMaskOperand()
931 O << "g"; in printMSRMaskOperand()
934 O << "nzcvq"; in printMSRMaskOperand()
937 O << "nzcvqg"; in printMSRMaskOperand()
943 O << "SPSR"; in printMSRMaskOperand()
945 O << "CPSR"; in printMSRMaskOperand()
948 O << '_'; in printMSRMaskOperand()
950 O << 'f'; in printMSRMaskOperand()
952 O << 's'; in printMSRMaskOperand()
954 O << 'x'; in printMSRMaskOperand()
956 O << 'c'; in printMSRMaskOperand()
962 raw_ostream &O) { in printBankedRegOperand() argument
970 O << "SPSR_"; in printBankedRegOperand()
974 O << "fiq"; in printBankedRegOperand()
977 O << "irq"; in printBankedRegOperand()
980 O << "svc"; in printBankedRegOperand()
983 O << "abt"; in printBankedRegOperand()
986 O << "und"; in printBankedRegOperand()
989 O << "mon"; in printBankedRegOperand()
992 O << "hyp"; in printBankedRegOperand()
1009 O << Name; in printBankedRegOperand()
1014 raw_ostream &O) { in printPredicateOperand() argument
1018 O << "<und>"; in printPredicateOperand()
1020 O << ARMCondCodeToString(CC); in printPredicateOperand()
1026 raw_ostream &O) { in printMandatoryPredicateOperand() argument
1028 O << ARMCondCodeToString(CC); in printMandatoryPredicateOperand()
1033 raw_ostream &O) { in printSBitModifierOperand() argument
1037 O << 's'; in printSBitModifierOperand()
1043 raw_ostream &O) { in printNoHashImmediate() argument
1044 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1049 raw_ostream &O) { in printPImmediate() argument
1050 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1055 raw_ostream &O) { in printCImmediate() argument
1056 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1061 raw_ostream &O) { in printCoprocOptionImm() argument
1062 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1066 const MCSubtargetInfo &STI, raw_ostream &O) { in printPCLabel() argument
1073 raw_ostream &O) { in printAdrLabelOperand() argument
1077 MO.getExpr()->print(O, &MAI); in printAdrLabelOperand()
1083 O << markup("<imm:"); in printAdrLabelOperand()
1085 O << "#-0"; in printAdrLabelOperand()
1087 O << "#-" << -OffImm; in printAdrLabelOperand()
1089 O << "#" << OffImm; in printAdrLabelOperand()
1090 O << markup(">"); in printAdrLabelOperand()
1095 raw_ostream &O) { in printThumbS4ImmOperand() argument
1096 O << markup("<imm:") << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4) in printThumbS4ImmOperand()
1102 raw_ostream &O) { in printThumbSRImm() argument
1104 O << markup("<imm:") << "#" << formatImm((Imm == 0 ? 32 : Imm)) in printThumbSRImm()
1110 raw_ostream &O) { in printThumbITMask() argument
1120 O << 't'; in printThumbITMask()
1122 O << 'e'; in printThumbITMask()
1128 raw_ostream &O) { in printThumbAddrModeRROperand() argument
1133 printOperand(MI, Op, STI, O); in printThumbAddrModeRROperand()
1137 O << markup("<mem:") << "["; in printThumbAddrModeRROperand()
1138 printRegName(O, MO1.getReg()); in printThumbAddrModeRROperand()
1140 O << ", "; in printThumbAddrModeRROperand()
1141 printRegName(O, RegNum); in printThumbAddrModeRROperand()
1143 O << "]" << markup(">"); in printThumbAddrModeRROperand()
1149 raw_ostream &O, in printThumbAddrModeImm5SOperand() argument
1155 printOperand(MI, Op, STI, O); in printThumbAddrModeImm5SOperand()
1159 O << markup("<mem:") << "["; in printThumbAddrModeImm5SOperand()
1160 printRegName(O, MO1.getReg()); in printThumbAddrModeImm5SOperand()
1162 O << ", " << markup("<imm:") << "#" << formatImm(ImmOffs * Scale) in printThumbAddrModeImm5SOperand()
1165 O << "]" << markup(">"); in printThumbAddrModeImm5SOperand()
1171 raw_ostream &O) { in printThumbAddrModeImm5S1Operand() argument
1172 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 1); in printThumbAddrModeImm5S1Operand()
1178 raw_ostream &O) { in printThumbAddrModeImm5S2Operand() argument
1179 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 2); in printThumbAddrModeImm5S2Operand()
1185 raw_ostream &O) { in printThumbAddrModeImm5S4Operand() argument
1186 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 4); in printThumbAddrModeImm5S4Operand()
1191 raw_ostream &O) { in printThumbAddrModeSPOperand() argument
1192 printThumbAddrModeImm5SOperand(MI, Op, STI, O, 4); in printThumbAddrModeSPOperand()
1201 raw_ostream &O) { in printT2SOOperand() argument
1206 printRegName(O, Reg); in printT2SOOperand()
1210 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1217 raw_ostream &O) { in printAddrModeImm12Operand() argument
1222 printOperand(MI, OpNum, STI, O); in printAddrModeImm12Operand()
1226 O << markup("<mem:") << "["; in printAddrModeImm12Operand()
1227 printRegName(O, MO1.getReg()); in printAddrModeImm12Operand()
1235 O << ", " << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">"); in printAddrModeImm12Operand()
1237 O << ", " << markup("<imm:") << "#" << formatImm(OffImm) << markup(">"); in printAddrModeImm12Operand()
1239 O << "]" << markup(">"); in printAddrModeImm12Operand()
1246 raw_ostream &O) { in printT2AddrModeImm8Operand() argument
1250 O << markup("<mem:") << "["; in printT2AddrModeImm8Operand()
1251 printRegName(O, MO1.getReg()); in printT2AddrModeImm8Operand()
1259 O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">"); in printT2AddrModeImm8Operand()
1261 O << ", " << markup("<imm:") << "#" << OffImm << markup(">"); in printT2AddrModeImm8Operand()
1263 O << "]" << markup(">"); in printT2AddrModeImm8Operand()
1270 raw_ostream &O) { in printT2AddrModeImm8s4Operand() argument
1275 printOperand(MI, OpNum, STI, O); in printT2AddrModeImm8s4Operand()
1279 O << markup("<mem:") << "["; in printT2AddrModeImm8s4Operand()
1280 printRegName(O, MO1.getReg()); in printT2AddrModeImm8s4Operand()
1291 O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">"); in printT2AddrModeImm8s4Operand()
1293 O << ", " << markup("<imm:") << "#" << OffImm << markup(">"); in printT2AddrModeImm8s4Operand()
1295 O << "]" << markup(">"); in printT2AddrModeImm8s4Operand()
1300 raw_ostream &O) { in printT2AddrModeImm0_1020s4Operand() argument
1304 O << markup("<mem:") << "["; in printT2AddrModeImm0_1020s4Operand()
1305 printRegName(O, MO1.getReg()); in printT2AddrModeImm0_1020s4Operand()
1307 O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4) in printT2AddrModeImm0_1020s4Operand()
1310 O << "]" << markup(">"); in printT2AddrModeImm0_1020s4Operand()
1315 raw_ostream &O) { in printT2AddrModeImm8OffsetOperand() argument
1318 O << ", " << markup("<imm:"); in printT2AddrModeImm8OffsetOperand()
1320 O << "#-0"; in printT2AddrModeImm8OffsetOperand()
1322 O << "#-" << -OffImm; in printT2AddrModeImm8OffsetOperand()
1324 O << "#" << OffImm; in printT2AddrModeImm8OffsetOperand()
1325 O << markup(">"); in printT2AddrModeImm8OffsetOperand()
1330 raw_ostream &O) { in printT2AddrModeImm8s4OffsetOperand() argument
1336 O << ", " << markup("<imm:"); in printT2AddrModeImm8s4OffsetOperand()
1338 O << "#-0"; in printT2AddrModeImm8s4OffsetOperand()
1340 O << "#-" << -OffImm; in printT2AddrModeImm8s4OffsetOperand()
1342 O << "#" << OffImm; in printT2AddrModeImm8s4OffsetOperand()
1343 O << markup(">"); in printT2AddrModeImm8s4OffsetOperand()
1349 raw_ostream &O) { in printT2AddrModeSoRegOperand() argument
1354 O << markup("<mem:") << "["; in printT2AddrModeSoRegOperand()
1355 printRegName(O, MO1.getReg()); in printT2AddrModeSoRegOperand()
1358 O << ", "; in printT2AddrModeSoRegOperand()
1359 printRegName(O, MO2.getReg()); in printT2AddrModeSoRegOperand()
1364 O << ", lsl " << markup("<imm:") << "#" << ShAmt << markup(">"); in printT2AddrModeSoRegOperand()
1366 O << "]" << markup(">"); in printT2AddrModeSoRegOperand()
1371 raw_ostream &O) { in printFPImmOperand() argument
1373 O << markup("<imm:") << '#' << ARM_AM::getFPImmFloat(MO.getImm()) in printFPImmOperand()
1379 raw_ostream &O) { in printNEONModImmOperand() argument
1383 O << markup("<imm:") << "#0x"; in printNEONModImmOperand()
1384 O.write_hex(Val); in printNEONModImmOperand()
1385 O << markup(">"); in printNEONModImmOperand()
1390 raw_ostream &O) { in printImmPlusOneOperand() argument
1392 O << markup("<imm:") << "#" << formatImm(Imm + 1) << markup(">"); in printImmPlusOneOperand()
1397 raw_ostream &O) { in printRotImmOperand() argument
1402 O << ", ror " << markup("<imm:") << "#" << 8 * Imm << markup(">"); in printRotImmOperand()
1407 raw_ostream &O) { in printModImmOperand() argument
1412 return printOperand(MI, OpNum, STI, O); in printModImmOperand()
1432 O << "#" << markup("<imm:"); in printModImmOperand()
1434 O << static_cast<uint32_t>(Rotated); in printModImmOperand()
1436 O << Rotated; in printModImmOperand()
1437 O << markup(">"); in printModImmOperand()
1442 O << "#" << markup("<imm:") << Bits << markup(">") << ", #" << markup("<imm:") in printModImmOperand()
1447 const MCSubtargetInfo &STI, raw_ostream &O) { in printFBits16() argument
1448 O << markup("<imm:") << "#" << 16 - MI->getOperand(OpNum).getImm() in printFBits16()
1453 const MCSubtargetInfo &STI, raw_ostream &O) { in printFBits32() argument
1454 O << markup("<imm:") << "#" << 32 - MI->getOperand(OpNum).getImm() in printFBits32()
1460 raw_ostream &O) { in printVectorIndex() argument
1461 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()
1466 raw_ostream &O) { in printVectorListOne() argument
1467 O << "{"; in printVectorListOne()
1468 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOne()
1469 O << "}"; in printVectorListOne()
1474 raw_ostream &O) { in printVectorListTwo() argument
1478 O << "{"; in printVectorListTwo()
1479 printRegName(O, Reg0); in printVectorListTwo()
1480 O << ", "; in printVectorListTwo()
1481 printRegName(O, Reg1); in printVectorListTwo()
1482 O << "}"; in printVectorListTwo()
1487 raw_ostream &O) { in printVectorListTwoSpaced() argument
1491 O << "{"; in printVectorListTwoSpaced()
1492 printRegName(O, Reg0); in printVectorListTwoSpaced()
1493 O << ", "; in printVectorListTwoSpaced()
1494 printRegName(O, Reg1); in printVectorListTwoSpaced()
1495 O << "}"; in printVectorListTwoSpaced()
1500 raw_ostream &O) { in printVectorListThree() argument
1504 O << "{"; in printVectorListThree()
1505 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThree()
1506 O << ", "; in printVectorListThree()
1507 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThree()
1508 O << ", "; in printVectorListThree()
1509 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThree()
1510 O << "}"; in printVectorListThree()
1515 raw_ostream &O) { in printVectorListFour() argument
1519 O << "{"; in printVectorListFour()
1520 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFour()
1521 O << ", "; in printVectorListFour()
1522 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFour()
1523 O << ", "; in printVectorListFour()
1524 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFour()
1525 O << ", "; in printVectorListFour()
1526 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFour()
1527 O << "}"; in printVectorListFour()
1533 raw_ostream &O) { in printVectorListOneAllLanes() argument
1534 O << "{"; in printVectorListOneAllLanes()
1535 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOneAllLanes()
1536 O << "[]}"; in printVectorListOneAllLanes()
1542 raw_ostream &O) { in printVectorListTwoAllLanes() argument
1546 O << "{"; in printVectorListTwoAllLanes()
1547 printRegName(O, Reg0); in printVectorListTwoAllLanes()
1548 O << "[], "; in printVectorListTwoAllLanes()
1549 printRegName(O, Reg1); in printVectorListTwoAllLanes()
1550 O << "[]}"; in printVectorListTwoAllLanes()
1556 raw_ostream &O) { in printVectorListThreeAllLanes() argument
1560 O << "{"; in printVectorListThreeAllLanes()
1561 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeAllLanes()
1562 O << "[], "; in printVectorListThreeAllLanes()
1563 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThreeAllLanes()
1564 O << "[], "; in printVectorListThreeAllLanes()
1565 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeAllLanes()
1566 O << "[]}"; in printVectorListThreeAllLanes()
1572 raw_ostream &O) { in printVectorListFourAllLanes() argument
1576 O << "{"; in printVectorListFourAllLanes()
1577 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourAllLanes()
1578 O << "[], "; in printVectorListFourAllLanes()
1579 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFourAllLanes()
1580 O << "[], "; in printVectorListFourAllLanes()
1581 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourAllLanes()
1582 O << "[], "; in printVectorListFourAllLanes()
1583 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFourAllLanes()
1584 O << "[]}"; in printVectorListFourAllLanes()
1589 raw_ostream &O) { in printVectorListTwoSpacedAllLanes() argument
1593 O << "{"; in printVectorListTwoSpacedAllLanes()
1594 printRegName(O, Reg0); in printVectorListTwoSpacedAllLanes()
1595 O << "[], "; in printVectorListTwoSpacedAllLanes()
1596 printRegName(O, Reg1); in printVectorListTwoSpacedAllLanes()
1597 O << "[]}"; in printVectorListTwoSpacedAllLanes()
1602 raw_ostream &O) { in printVectorListThreeSpacedAllLanes() argument
1606 O << "{"; in printVectorListThreeSpacedAllLanes()
1607 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpacedAllLanes()
1608 O << "[], "; in printVectorListThreeSpacedAllLanes()
1609 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpacedAllLanes()
1610 O << "[], "; in printVectorListThreeSpacedAllLanes()
1611 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpacedAllLanes()
1612 O << "[]}"; in printVectorListThreeSpacedAllLanes()
1617 raw_ostream &O) { in printVectorListFourSpacedAllLanes() argument
1621 O << "{"; in printVectorListFourSpacedAllLanes()
1622 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpacedAllLanes()
1623 O << "[], "; in printVectorListFourSpacedAllLanes()
1624 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpacedAllLanes()
1625 O << "[], "; in printVectorListFourSpacedAllLanes()
1626 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpacedAllLanes()
1627 O << "[], "; in printVectorListFourSpacedAllLanes()
1628 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpacedAllLanes()
1629 O << "[]}"; in printVectorListFourSpacedAllLanes()
1635 raw_ostream &O) { in printVectorListThreeSpaced() argument
1639 O << "{"; in printVectorListThreeSpaced()
1640 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpaced()
1641 O << ", "; in printVectorListThreeSpaced()
1642 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpaced()
1643 O << ", "; in printVectorListThreeSpaced()
1644 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpaced()
1645 O << "}"; in printVectorListThreeSpaced()
1650 raw_ostream &O) { in printVectorListFourSpaced() argument
1654 O << "{"; in printVectorListFourSpaced()
1655 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpaced()
1656 O << ", "; in printVectorListFourSpaced()
1657 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpaced()
1658 O << ", "; in printVectorListFourSpaced()
1659 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpaced()
1660 O << ", "; in printVectorListFourSpaced()
1661 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpaced()
1662 O << "}"; in printVectorListFourSpaced()