Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:Operands

69                         SmallVectorImpl<MCParsedAsmOperand*> &Operands);
76 SmallVectorImpl<MCParsedAsmOperand*> &Operands,
84 ParseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
92 ParseNEONLane(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
96 ParseRegister(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
100 ParseImmWithLSLOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
103 ParseCondCodeOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
106 ParseCRxOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
109 ParseFPImmOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
112 ParseNamedImmOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
113 return ParseNamedImmOperand(SomeNamedImmMapper(), Operands);
118 SmallVectorImpl<MCParsedAsmOperand*> &Operands);
121 ParseLSXAddressOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
124 ParseShiftExtend(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
127 ParseSysRegOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands);
130 const SmallVectorImpl<MCParsedAsmOperand*> &Operands);
838 assert(N == 1 && "Invalid number of operands!");
845 assert(N == 1 && "Invalid number of operands!");
851 assert(N == 1 && "Invalid number of operands!");
860 assert(N == 1 && "Invalid number of operands!");
865 assert(N == 1 && "Invalid number of operands!");
872 assert(N == 1 && "Invalid number of operands!");
882 assert(N == 1 && "Invalid number of operands");
887 assert(N == 1 && "Invalid number of operands!");
893 assert(N == 1 && "Invalid number of operands!");
898 assert(N == 1 && "Invalid number of operands!");
904 assert(N == 1 && "Invalid number of operands!");
913 assert(N == 1 && "Invalid number of operands!");
921 assert (N == 1 && "Invalid number of operands!");
928 assert(N == 1 && "Invalid number of operands!");
946 assert(N == 1 && "Invalid number of operands!");
957 assert(N == 1 && "Invalid number of operands");
967 assert(N == 1 && "Invalid number of operands!");
977 assert(N == 1 && "Invalid number of operands!");
987 assert(N == 1 && "Invalid number of operands!");
997 assert(N == 2 && "Invalid number of operands!");
1045 assert(N == 2 && "Invalid number of operands!");
1064 assert(N == 1 && "Invalid number of operands!");
1073 // For Add-sub (extended register) operands.
1075 assert(N == 1 && "Invalid number of operands!");
1080 // For Vector Immediates shifted imm operands.
1082 assert(N == 1 && "Invalid number of operands!");
1093 assert(N == 1 && "Invalid number of operands!");
1104 assert(N == 1 && "Invalid number of operands!");
1122 assert(N == 1 && "Invalid number of operands!");
1149 assert(N == 1 && "Invalid number of operands!");
1155 assert(N == 1 && "Invalid number of operands!");
1172 AArch64AsmParser::ParseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
1176 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic);
1188 OperandMatchResultTy GotShift = ParseShiftExtend(Operands);
1196 OperandMatchResultTy GotReg = ParseRegister(Operands, NumLanes);
1202 return ParseNEONLane(Operands, NumLanes);
1224 Operands.push_back(AArch64Operand::CreateImm(ImmVal, StartLoc, EndLoc));
1237 Operands.push_back(AArch64Operand::CreateImm(ImmVal, StartLoc, EndLoc));
1242 Operands.push_back(AArch64Operand::CreateToken("[", Loc));
1247 return ParseOperand(Operands, Mnemonic);
1281 AArch64AsmParser::ParseNEONLane(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
1286 Operands.push_back(AArch64Operand::CreateToken("[", Loc));
1304 Operands.push_back(AArch64Operand::CreateImm(Lane, S, E));
1312 Operands.push_back(AArch64Operand::CreateToken("]", Loc));
1386 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1399 Operands.push_back(AArch64Operand::CreateImmWithLSL(Imm, 0, true, S, E));
1430 Operands.push_back(AArch64Operand::CreateImmWithLSL(Imm, ShiftAmount,
1438 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1452 Operands.push_back(AArch64Operand::CreateCondCode(CondCode, S, E));
1458 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1484 Operands.push_back(AArch64Operand::CreateImm(CRImm, S, E));
1490 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1519 Operands.push_back(AArch64Operand::CreateFPImm(DblVal, S, E));
1582 AArch64AsmParser::ParseRegister(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
1592 Operands.push_back(AArch64Operand::CreateReg(RegNum, S, RegEndLoc));
1612 Operands.push_back(AArch64Operand::CreateToken(Layout, LayoutLoc));
1640 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1641 // Since these operands occur in very limited circumstances, without
1661 Operands.push_back(AArch64Operand::CreateImm(Imm, S, E));
1677 Operands.push_back(AArch64Operand::CreateImm(ImmVal, S, E));
1687 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1699 Operands.push_back(AArch64Operand::CreateSysReg(Tok.getString(), S));
1707 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1725 Operands.push_back(AArch64Operand::CreateWrappedReg(RegNum, S, E));
1751 Operands.push_back(AArch64Operand::CreateWrappedReg(RegNum, S, E));
1757 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1797 Operands.push_back(AArch64Operand::CreateShiftExtend(Spec, 0, true,
1821 Operands.push_back(AArch64Operand::CreateShiftExtend(Spec, Amount, false,
1830 const SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1843 return Error(Operands[4]->getStartLoc(),
1868 return Error(Operands[4]->getStartLoc(),
1877 return Error(Operands[1]->getStartLoc(),
1886 return Error(Operands[1]->getStartLoc(),
1895 return Error(Operands[1]->getStartLoc(),
1904 return Error(Operands[1]->getStartLoc(),
1915 // Parses the instruction *together with* all operands, appending each parsed
1916 // operand to the "Operands" list
1919 SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
1923 Operands.push_back(AArch64Operand::CreateToken(Mnemonic, NameLoc));
1941 Operands.push_back(AArch64Operand::CreateToken(".", DotL));
1943 Operands.push_back(AArch64Operand::CreateCondCode(Code, S, E));
1946 // Now we parse the operands of this instruction
1949 if (ParseOperand(Operands, Mnemonic)) {
1958 if (ParseOperand(Operands, Mnemonic)) {
1964 // After successfully parsing some operands there are two special cases to
1965 // consider (i.e. notional operands not separated by commas). Both are due
1974 Operands.push_back(AArch64Operand::CreateToken("]", Loc));
1980 Operands.push_back(AArch64Operand::CreateToken("!", Loc));
2057 SmallVectorImpl<MCParsedAsmOperand*> &Operands,
2062 MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
2065 if (ErrorInfo != ~0U && ErrorInfo >= Operands.size())
2066 return Error(IDLoc, "too few operands for instruction");
2071 if (validateInstruction(Inst, Operands))
2082 ErrorLoc = ((AArch64Operand*)Operands[ErrorInfo])->getStartLoc();
2092 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2095 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2098 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2101 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2104 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2107 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2110 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2113 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2118 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2121 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2124 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2127 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2130 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2133 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2136 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2139 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2142 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2145 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2148 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2151 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2154 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2157 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2160 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2163 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2166 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2169 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2172 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2175 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2178 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2181 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2184 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2187 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2190 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2193 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2196 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2199 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2202 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2205 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2208 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2211 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2214 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2217 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2220 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2223 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2226 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2229 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2232 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2235 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2238 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),
2241 return Error(((AArch64Operand*)Operands[ErrorInfo])->getStartLoc(),