Lines Matching refs:Parser

197   MCAsmParser &Parser;  member in __anoncf9387500111::WebAssemblyAsmParser
246 WebAssemblyAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in WebAssemblyAsmParser() argument
248 : MCTargetAsmParser(Options, STI, MII), Parser(Parser), in WebAssemblyAsmParser()
249 Lexer(Parser.getLexer()), in WebAssemblyAsmParser()
251 TC(Parser, MII, is64), SkipTypeCheck(Options.MCNoTypeCheck) { in WebAssemblyAsmParser()
255 auto &SM = Parser.getSourceManager(); in WebAssemblyAsmParser()
262 void Initialize(MCAsmParser &Parser) override { in Initialize() argument
263 MCAsmParserExtension::Initialize(Parser); in Initialize()
286 return Parser.Error(Tok.getLoc(), Msg + Tok.getString()); in error()
290 return Parser.Error(Lexer.getTok().getLoc(), Msg); in error()
351 Parser.Lex(); in isNext()
368 Parser.Lex(); in expectIdent()
378 Parser.Lex(); in parseRegTypeList()
393 Parser.Lex(); in parseSingleInteger()
406 Parser.Lex(); in parseSingleFloat()
428 Parser.Lex(); in parseSpecialFloatMaybe()
488 Parser.Lex(); in parseLimits()
498 Parser.Lex(); in parseLimits()
517 Parser.Lex(); in parseFunctionTableOperand()
555 Parser.Lex(); in ParseInstruction()
562 Parser.Lex(); in ParseInstruction()
636 auto Loc = Parser.getTok(); in ParseInstruction()
672 Parser.Lex(); in ParseInstruction()
681 Parser.Lex(); in ParseInstruction()
686 if (Parser.parseExpression(Val, End)) in ParseInstruction()
697 Parser.Lex(); in ParseInstruction()
722 Parser.Lex(); in ParseInstruction()
750 Parser.Lex(); in ParseInstruction()
969 if (Parser.parseExpression(Val, End)) in ParseDirective()
980 if (Parser.parseEscapedString(S)) in ParseDirective()
1049 return Parser.Error(IDLoc, Message); in MatchAndEmitInstruction()
1052 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
1054 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction()
1060 return Parser.Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1065 return Parser.Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
1081 Parser.Error(Parser.getTok().getLoc(), in doBeforeLabelEmit()