Lines Matching refs:Parser
198 MCAsmParser &Parser; member in __anon0aa4b5130111::WebAssemblyAsmParser
248 WebAssemblyAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in WebAssemblyAsmParser() argument
250 : MCTargetAsmParser(Options, STI, MII), Parser(Parser), in WebAssemblyAsmParser()
251 Lexer(Parser.getLexer()), in WebAssemblyAsmParser()
253 TC(Parser, MII, is64), SkipTypeCheck(Options.MCNoTypeCheck) { in WebAssemblyAsmParser()
257 auto &SM = Parser.getSourceManager(); in WebAssemblyAsmParser()
264 void Initialize(MCAsmParser &Parser) override { in Initialize() argument
265 MCAsmParserExtension::Initialize(Parser); in Initialize()
288 return Parser.Error(Tok.getLoc(), Msg + Tok.getString()); in error()
292 return Parser.Error(Loc.isValid() ? Loc : Lexer.getTok().getLoc(), Msg); in error()
354 Parser.Lex(); in isNext()
371 Parser.Lex(); in expectIdent()
381 Parser.Lex(); in parseRegTypeList()
396 Parser.Lex(); in parseSingleInteger()
409 Parser.Lex(); in parseSingleFloat()
431 Parser.Lex(); in parseSpecialFloatMaybe()
491 Parser.Lex(); in parseLimits()
501 Parser.Lex(); in parseLimits()
520 Parser.Lex(); in parseFunctionTableOperand()
558 Parser.Lex(); in ParseInstruction()
565 Parser.Lex(); in ParseInstruction()
636 auto Loc = Parser.getTok(); in ParseInstruction()
672 Parser.Lex(); in ParseInstruction()
678 if (Parser.parseExpression(Val, End)) in ParseInstruction()
689 Parser.Lex(); in ParseInstruction()
714 Parser.Lex(); in ParseInstruction()
742 Parser.Lex(); in ParseInstruction()
973 if (Parser.parseExpression(Val, End)) in ParseDirective()
984 if (Parser.parseEscapedString(S)) in ParseDirective()
1053 return Parser.Error(IDLoc, Message); in MatchAndEmitInstruction()
1056 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
1058 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction()
1064 return Parser.Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1069 return Parser.Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
1085 Parser.Error(IDLoc, in doBeforeLabelEmit()