Lines Matching refs:SStream
29 #include "../../SStream.h"
37 static void printRegName(cs_struct *h, SStream *OS, unsigned RegNo);
40 static void printInstruction(MCInst *MI, SStream *O, MCRegisterInfo *MRI);
41 static void printOperand(MCInst *MI, unsigned OpNo, SStream *O);
42 static void printSORegRegOperand(MCInst *MI, unsigned OpNum, SStream *O);
43 static void printSORegImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
45 static void printAddrModeTBB(MCInst *MI, unsigned OpNum, SStream *O);
46 static void printAddrModeTBH(MCInst *MI, unsigned OpNum, SStream *O);
47 static void printAddrMode2Operand(MCInst *MI, unsigned OpNum, SStream *O);
48 static void printAM2PreOrOffsetIndexOp(MCInst *MI, unsigned OpNum, SStream *O);
49 static void printAddrMode2OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O);
50 static void printAddrMode3Operand(MCInst *MI, unsigned OpNum, SStream *O, bool AlwaysPrintImm0);
51 static void printAddrMode3OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O);
52 static void printAM3PreOrOffsetIndexOp(MCInst *MI, unsigned Op, SStream *O, bool AlwaysPrintImm0);
53 static void printPostIdxImm8Operand(MCInst *MI, unsigned OpNum, SStream *O);
54 static void printPostIdxRegOperand(MCInst *MI, unsigned OpNum, SStream *O);
55 static void printPostIdxImm8s4Operand(MCInst *MI, unsigned OpNum, SStream *O);
56 static void printAddrMode5Operand(MCInst *MI, unsigned OpNum, SStream *O, bool AlwaysPrintImm0);
57 static void printAddrMode6Operand(MCInst *MI, unsigned OpNum, SStream *O);
58 static void printAddrMode7Operand(MCInst *MI, unsigned OpNum, SStream *O);
59 static void printAddrMode6OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O);
61 static void printBitfieldInvMaskImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
62 static void printMemBOption(MCInst *MI, unsigned OpNum, SStream *O);
63 static void printShiftImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
64 static void printPKHLSLShiftImm(MCInst *MI, unsigned OpNum, SStream *O);
65 static void printPKHASRShiftImm(MCInst *MI, unsigned OpNum, SStream *O);
66 static void printAdrLabelOperand(MCInst *MI, unsigned OpNum, SStream *O, unsigned);
67 static void printThumbS4ImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
68 static void printThumbSRImm(MCInst *MI, unsigned OpNum, SStream *O);
69 static void printThumbITMask(MCInst *MI, unsigned OpNum, SStream *O);
70 static void printThumbAddrModeRROperand(MCInst *MI, unsigned OpNum, SStream *O);
71 static void printThumbAddrModeImm5SOperand(MCInst *MI, unsigned OpNum, SStream *O, unsigned Scale);
72 static void printThumbAddrModeImm5S1Operand(MCInst *MI, unsigned OpNum, SStream *O);
73 static void printThumbAddrModeImm5S2Operand(MCInst *MI, unsigned OpNum, SStream *O);
74 static void printThumbAddrModeImm5S4Operand(MCInst *MI, unsigned OpNum, SStream *O);
75 static void printThumbAddrModeSPOperand(MCInst *MI, unsigned OpNum, SStream *O);
76 static void printT2SOOperand(MCInst *MI, unsigned OpNum, SStream *O);
77 static void printAddrModeImm12Operand(MCInst *MI, unsigned OpNum, SStream *O, bool AlwaysPrintImm0);
78 static void printT2AddrModeImm8Operand(MCInst *MI, unsigned OpNum, SStream *O, bool);
79 static void printT2AddrModeImm8s4Operand(MCInst *MI, unsigned OpNum, SStream *O, bool);
80 static void printT2AddrModeImm0_1020s4Operand(MCInst *MI, unsigned OpNum, SStream *O);
81 static void printT2AddrModeImm8OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O);
82 static void printT2AddrModeImm8s4OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O);
83 static void printT2AddrModeSoRegOperand(MCInst *MI, unsigned OpNum, SStream *O);
84 static void printSetendOperand(MCInst *MI, unsigned OpNum, SStream *O);
85 static void printCPSIMod(MCInst *MI, unsigned OpNum, SStream *O);
86 static void printCPSIFlag(MCInst *MI, unsigned OpNum, SStream *O);
87 static void printMSRMaskOperand(MCInst *MI, unsigned OpNum, SStream *O);
88 static void printPredicateOperand(MCInst *MI, unsigned OpNum, SStream *O);
89 static void printMandatoryPredicateOperand(MCInst *MI, unsigned OpNum, SStream *O);
90 static void printSBitModifierOperand(MCInst *MI, unsigned OpNum, SStream *O);
91 static void printRegisterList(MCInst *MI, unsigned OpNum, SStream *O);
92 static void printNoHashImmediate(MCInst *MI, unsigned OpNum, SStream *O);
93 static void printPImmediate(MCInst *MI, unsigned OpNum, SStream *O);
94 static void printCImmediate(MCInst *MI, unsigned OpNum, SStream *O);
95 static void printCoprocOptionImm(MCInst *MI, unsigned OpNum, SStream *O);
96 static void printFPImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
97 static void printNEONModImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
98 static void printImmPlusOneOperand(MCInst *MI, unsigned OpNum, SStream *O);
99 static void printRotImmOperand(MCInst *MI, unsigned OpNum, SStream *O);
100 static void printGPRPairOperand(MCInst *MI, unsigned OpNum, SStream *O, MCRegisterInfo *MRI);
101 static void printThumbLdrLabelOperand(MCInst *MI, unsigned OpNum, SStream *O);
102 static void printFBits16(MCInst *MI, unsigned OpNum, SStream *O);
103 static void printFBits32(MCInst *MI, unsigned OpNum, SStream *O);
104 static void printVectorIndex(MCInst *MI, unsigned OpNum, SStream *O);
105 static void printVectorListOne(MCInst *MI, unsigned OpNum, SStream *O);
106 static void printVectorListTwo(MCInst *MI, unsigned OpNum, SStream *O, MCRegisterInfo *MRI);
107 static void printVectorListTwoSpaced(MCInst *MI, unsigned OpNum, SStream *O, MCRegisterInfo *RI);
108 static void printVectorListThree(MCInst *MI, unsigned OpNum, SStream *O);
109 static void printVectorListFour(MCInst *MI, unsigned OpNum, SStream *O);
110 static void printVectorListOneAllLanes(MCInst *MI, unsigned OpNum, SStream *O);
111 static void printVectorListTwoAllLanes(MCInst *MI, unsigned OpNum, SStream *O, MCRegisterInfo *RI);
112 static void printVectorListThreeAllLanes(MCInst *MI, unsigned OpNum, SStream *O);
113 static void printVectorListFourAllLanes(MCInst *MI, unsigned OpNum, SStream *O);
114 static void printVectorListTwoSpacedAllLanes(MCInst *MI, unsigned OpNum, SStream *O, MCRegisterInfo *MRI);
115 static void printVectorListThreeSpacedAllLanes(MCInst *MI, unsigned OpNum, SStream *O);
116 static void printVectorListFourSpacedAllLanes(MCInst *MI, unsigned OpNum, SStream *O);
117 static void printVectorListThreeSpaced(MCInst *MI, unsigned OpNum, SStream *O);
118 static void printVectorListFourSpaced(MCInst *MI, unsigned OpNum, SStream *O);
120 static void printInstSyncBOption(MCInst *MI, unsigned OpNum, SStream *O);
179 static void printRegImmShift(MCInst *MI, SStream *O, ARM_AM_ShiftOpc ShOpc, unsigned ShImm)
206 static void printRegName(cs_struct *h, SStream *OS, unsigned RegNo)
404 void ARM_printInst(MCInst *MI, SStream *O, void *Info)
701 static void printOperand(MCInst *MI, unsigned OpNo, SStream *O)
793 static void printThumbLdrLabelOperand(MCInst *MI, unsigned OpNum, SStream *O)
832 static void printSORegRegOperand(MCInst *MI, unsigned OpNum, SStream *O)
863 static void printSORegImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
886 SStream *O)
936 static void printAddrModeTBB(MCInst *MI, unsigned Op, SStream *O)
953 static void printAddrModeTBH(MCInst *MI, unsigned Op, SStream *O)
974 static void printAddrMode2Operand(MCInst *MI, unsigned Op, SStream *O)
986 static void printAddrMode2OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O)
1026 static void printAM3PreOrOffsetIndexOp(MCInst *MI, unsigned Op, SStream *O,
1079 static void printAddrMode3Operand(MCInst *MI, unsigned Op, SStream *O,
1091 static void printAddrMode3OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O)
1128 static void printPostIdxImm8Operand(MCInst *MI, unsigned OpNum, SStream *O)
1143 static void printPostIdxRegOperand(MCInst *MI, unsigned OpNum, SStream *O)
1157 static void printPostIdxImm8s4Operand(MCInst *MI, unsigned OpNum, SStream *O)
1176 static void printAddrMode5Operand(MCInst *MI, unsigned OpNum, SStream *O,
1224 static void printAddrMode6Operand(MCInst *MI, unsigned OpNum, SStream *O)
1248 static void printAddrMode7Operand(MCInst *MI, unsigned OpNum, SStream *O)
1260 static void printAddrMode6OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O)
1277 static void printBitfieldInvMaskImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
1305 static void printMemBOption(MCInst *MI, unsigned OpNum, SStream *O)
1316 void printInstSyncBOption(MCInst *MI, unsigned OpNum, SStream *O)
1322 static void printShiftImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
1349 static void printPKHLSLShiftImm(MCInst *MI, unsigned OpNum, SStream *O)
1365 static void printPKHASRShiftImm(MCInst *MI, unsigned OpNum, SStream *O)
1383 static void printRegisterList(MCInst *MI, unsigned OpNum, SStream *O)
1399 static void printGPRPairOperand(MCInst *MI, unsigned OpNum, SStream *O,
1419 static void printSetendOperand(MCInst *MI, unsigned OpNum, SStream *O)
1439 static void printCPSIMod(MCInst *MI, unsigned OpNum, SStream *O)
1451 static void printCPSIFlag(MCInst *MI, unsigned OpNum, SStream *O)
1472 static void printMSRMaskOperand(MCInst *MI, unsigned OpNum, SStream *O)
1593 static void printPredicateOperand(MCInst *MI, unsigned OpNum, SStream *O)
1611 static void printMandatoryPredicateOperand(MCInst *MI, unsigned OpNum, SStream *O)
1619 static void printSBitModifierOperand(MCInst *MI, unsigned OpNum, SStream *O)
1630 static void printNoHashImmediate(MCInst *MI, unsigned OpNum, SStream *O)
1648 static void printPImmediate(MCInst *MI, unsigned OpNum, SStream *O)
1660 static void printCImmediate(MCInst *MI, unsigned OpNum, SStream *O)
1672 static void printCoprocOptionImm(MCInst *MI, unsigned OpNum, SStream *O)
1686 static void printAdrLabelOperand(MCInst *MI, unsigned OpNum, SStream *O, unsigned scale)
1716 static void printThumbS4ImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
1730 static void printThumbSRImm(MCInst *MI, unsigned OpNum, SStream *O)
1746 static void printThumbITMask(MCInst *MI, unsigned OpNum, SStream *O)
1764 static void printThumbAddrModeRROperand(MCInst *MI, unsigned Op, SStream *O)
1791 static void printThumbAddrModeImm5SOperand(MCInst *MI, unsigned Op, SStream *O,
1823 static void printThumbAddrModeImm5S1Operand(MCInst *MI, unsigned Op, SStream *O)
1828 static void printThumbAddrModeImm5S2Operand(MCInst *MI, unsigned Op, SStream *O)
1833 static void printThumbAddrModeImm5S4Operand(MCInst *MI, unsigned Op, SStream *O)
1838 static void printThumbAddrModeSPOperand(MCInst *MI, unsigned Op, SStream *O)
1847 static void printT2SOOperand(MCInst *MI, unsigned OpNum, SStream *O)
1867 SStream *O, bool AlwaysPrintImm0)
1915 static void printT2AddrModeImm8Operand(MCInst *MI, unsigned OpNum, SStream *O,
1952 unsigned OpNum, SStream *O, bool AlwaysPrintImm0)
1993 static void printT2AddrModeImm0_1020s4Operand(MCInst *MI, unsigned OpNum, SStream *O)
2019 unsigned OpNum, SStream *O)
2052 unsigned OpNum, SStream *O)
2088 unsigned OpNum, SStream *O)
2122 static void printFPImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
2139 static void printNEONModImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
2155 static void printImmPlusOneOperand(MCInst *MI, unsigned OpNum, SStream *O)
2169 static void printRotImmOperand(MCInst *MI, unsigned OpNum, SStream *O)
2187 static void printFBits16(MCInst *MI, unsigned OpNum, SStream *O)
2203 static void printFBits32(MCInst *MI, unsigned OpNum, SStream *O)
2219 static void printVectorIndex(MCInst *MI, unsigned OpNum, SStream *O)
2231 static void printVectorListOne(MCInst *MI, unsigned OpNum, SStream *O)
2244 SStream *O, MCRegisterInfo *MRI)
2267 SStream *O, MCRegisterInfo *MRI)
2289 static void printVectorListThree(MCInst *MI, unsigned OpNum, SStream *O)
2318 static void printVectorListFour(MCInst *MI, unsigned OpNum, SStream *O)
2354 static void printVectorListOneAllLanes(MCInst *MI, unsigned OpNum, SStream *O)
2367 SStream *O, MCRegisterInfo *MRI)
2389 static void printVectorListThreeAllLanes(MCInst *MI, unsigned OpNum, SStream *O)
2418 static void printVectorListFourAllLanes(MCInst *MI, unsigned OpNum, SStream *O)
2455 unsigned OpNum, SStream *O, MCRegisterInfo *MRI)
2478 unsigned OpNum, SStream *O)
2508 unsigned OpNum, SStream *O)
2544 static void printVectorListThreeSpaced(MCInst *MI, unsigned OpNum, SStream *O)
2573 static void printVectorListFourSpaced(MCInst *MI, unsigned OpNum, SStream *O)