Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:Parser

216   MCAsmParser &Parser;
221 MCAsmParser &getParser() const { return Parser; }
222 MCAsmLexer &getLexer() const { return Parser.getLexer(); }
224 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); }
225 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); }
268 : MCTargetAsmParser(), STI(_STI), Parser(_Parser), MII(_MII) {
998 const AsmToken &Tok = Parser.getTok();
1005 Parser.Lex(); // Eat identifier token.
1188 StringRef poss = Parser.getTok().getString();
1197 Parser.Lex(); // Eat the xx16
1199 return Error(Parser.getTok().getLoc(), "expected '('");
1200 Parser.Lex(); // Eat the '('
1210 return Error(Parser.getTok().getLoc(), "expected ')'");
1211 Parser.Lex(); // Eat the ')'
1221 SMLoc S = Parser.getTok().getLoc();
1222 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1230 Parser.Lex(); // Eat the '%'.
1233 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) {
1234 Parser.Lex(); // Eat the identifier token.
1248 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) {
1249 Parser.Lex(); // Eat the identifier token.
1282 Parser.Lex(); // Eat the '('.
1283 S = Parser.getTok().getLoc();
1287 return Error(Parser.getTok().getLoc(), "missing ')'");
1288 E = Parser.getTok().getLoc();
1289 Parser.Lex(); // Eat the ')'.
1296 Parser.Lex(); // Eat the '('.
1297 S = Parser.getTok().getLoc();
1302 Parser.Lex(); // Eat the '%'.
1304 if (MatchRegisterName(Parser.getTok(), RegNo, IntVal))
1306 Parser.Lex(); // Eat the identifier token.
1322 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) {
1323 Parser.Lex(); // Eat the identifier token.
1334 return Error(Parser.getTok().getLoc(), "missing ')'");
1335 E = Parser.getTok().getLoc();
1336 Parser.Lex(); // Eat the ')'.
1438 Parser.Lex();
1442 Parser.Lex();
1452 Parser.Lex();
1457 Parser.Lex();
1475 StringRef CPU = Parser.getTok().getIdentifier();
1476 Parser.Lex();
1478 // FIXME: Right now, the parser always allows any available
1509 StringRef CPU = Parser.getTok().getIdentifier();
1510 Parser.Lex();