Lines Matching refs:getTok
231 return Parser.Error(Lexer.getTok().getLoc(), Msg); in error()
296 Lexer.getTok()); in expect()
302 error("Expected identifier, got: ", Lexer.getTok()); in expectIdent()
305 auto Name = Lexer.getTok().getString(); in expectIdent()
351 auto Type = parseType(Lexer.getTok().getString()); in parseRegTypeList()
353 return error("unknown type: ", Lexer.getTok()); in parseRegTypeList()
363 auto &Int = Lexer.getTok(); in parseSingleInteger()
374 auto &Flt = Lexer.getTok(); in parseSingleFloat()
390 auto &Flt = Lexer.getTok(); in parseSpecialFloatMaybe()
436 auto Tok = Lexer.getTok(); in checkForP2AlignIfLoadStore()
469 auto &Sep = Lexer.getTok(); in ParseInstruction()
477 auto &Id = Lexer.getTok(); in ParseInstruction()
543 auto Loc = Parser.getTok(); in ParseInstruction()
564 auto &Tok = Lexer.getTok(); in ParseInstruction()
569 auto &Id = Lexer.getTok(); in ParseInstruction()
591 return error("Cannot parse symbol: ", Lexer.getTok()); in ParseInstruction()
612 Lexer.getTok()); in ParseInstruction()
631 Op->BrL.List.push_back(Lexer.getTok().getIntVal()); in ParseInstruction()
684 Lexer.getTok()); in CheckDataSection()
714 auto TypeTok = Lexer.getTok(); in ParseDirective()
726 TypeTok = Lexer.getTok(); in ParseDirective()
750 auto TypeTok = Lexer.getTok(); in ParseDirective()
851 Lexer.getTok()); in ParseDirective()
868 return error("Cannot parse .int expression: ", Lexer.getTok()); in ParseDirective()
879 return error("Cannot parse string constant: ", Lexer.getTok()); in ParseDirective()