Lines Matching refs:Parser
38 MCAsmParser &Parser;
41 MCAsmParser &getParser() const { return Parser; }
43 MCAsmLexer &getLexer() const { return Parser.getLexer(); }
45 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); }
78 X86ATTAsmParser(MCSubtargetInfo &sti, MCAsmParser &parser)
79 : TargetAsmParser(), STI(sti), Parser(parser) {
376 const AsmToken &TokPercent = Parser.getTok();
379 Parser.Lex(); // Eat percent token.
381 const AsmToken &Tok = Parser.getTok();
403 Parser.Lex(); // Eat 'st'
411 const AsmToken &IntTok = Parser.getTok();
427 return Error(Parser.getTok().getLoc(), "expected ')'");
430 Parser.Lex(); // Eat ')'
451 Parser.Lex(); // Eat it.
460 Parser.Lex(); // Eat identifier token.
468 return ParseMemOperand(0, Parser.getTok().getLoc());
490 SMLoc Start = Parser.getTok().getLoc(), End;
491 Parser.Lex();
523 Parser.Lex();
527 SMLoc LParenLoc = Parser.getTok().getLoc();
528 Parser.Lex(); // Eat the '('.
550 Parser.Lex();
568 Parser.Lex(); // Eat the comma.
584 Error(Parser.getTok().getLoc(),
588 Parser.Lex(); // Eat the comma.
591 SMLoc Loc = Parser.getTok().getLoc();
608 SMLoc Loc = Parser.getTok().getLoc();
622 Error(Parser.getTok().getLoc(), "unexpected token in memory operand");
625 SMLoc MemEnd = Parser.getTok().getLoc();
626 Parser.Lex(); // Eat the ')'.
722 SMLoc Loc = Parser.getTok().getLoc();
724 Parser.Lex(); // Eat the star.
731 Parser.EatToEndOfStatement();
736 Parser.Lex(); // Eat the comma.
742 Parser.EatToEndOfStatement();
749 Parser.EatToEndOfStatement();
755 Parser.Lex(); // Consume the EndOfStatement
757 Parser.Lex(); // Consume the prefix separator Slash
1119 Parser.Lex();
1123 Parser.Lex();