Lines Matching refs:getTok
727 const char *Start = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
732 const char *End = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
737 const char *Start = getTok().getLoc().getPointer(); in parseStringToComma()
743 const char *End = getTok().getLoc().getPointer(); in parseStringToComma()
757 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
772 EndLoc = Lexer.getTok().getEndLoc(); in parseBracketExpr()
839 return Error(Lexer.getTok().getLoc(), in parsePrimaryExpr()
885 SMLoc Loc = getTok().getLoc(); in parsePrimaryExpr()
886 int64_t IntVal = getTok().getIntVal(); in parsePrimaryExpr()
888 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
892 StringRef IDVal = getTok().getString(); in parsePrimaryExpr()
908 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
915 APFloat RealVal(APFloat::IEEEdouble, getTok().getString()); in parsePrimaryExpr()
918 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
928 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
984 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1046 MCSymbolRefExpr::getVariantKindForName(getTok().getIdentifier()); in parseExpression()
1048 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
1052 return TokError("invalid modifier '" + getTok().getIdentifier() + in parseExpression()
1087 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExprOfDepth()
1313 AsmToken ID = getTok(); in parseStatement()
1323 LocalLabelVal = getTok().getIntVal(); in parseStatement()
1329 IDVal = getTok().getString(); in parseStatement()
1819 int64_t LineNumber = getTok().getIntVal(); in parseCppHashLineFilenameComment()
1827 StringRef Filename = getTok().getString(); in parseCppHashLineFilenameComment()
2105 const char *NextChar = getTok().getEndLoc().getPointer(); in parseMacroArgument()
2128 MA.push_back(getTok()); in parseMacroArgument()
2268 if (expandMacro(OS, Body, M->Parameters, A, true, getTok().getLoc())) in handleMacroEntry()
2281 NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()); in handleMacroEntry()
2345 if (PrefixLoc.getPointer() + 1 != getTok().getLoc().getPointer()) in parseIdentifier()
2350 StringRef(PrefixLoc.getPointer(), getTok().getIdentifier().size() + 1); in parseIdentifier()
2358 Res = getTok().getIdentifier(); in parseIdentifier()
2386 StringRef Str = getTok().getStringContents(); in parseEscapedString()
2479 SMLoc OffsetLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
2494 SMLoc NameLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
2495 StringRef Name = Lexer.getTok().getIdentifier(); in parseDirectiveReloc()
2568 APInt IntValue = getTok().getAPIntVal(); in parseDirectiveOctaValue()
2627 StringRef IDVal = getTok().getString(); in parseDirectiveRealValue()
2892 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
2904 std::string Path = getTok().getString(); in parseDirectiveFile()
2950 int64_t LineNumber = getTok().getIntVal(); in parseDirectiveLine()
2973 int64_t FileNumber = getTok().getIntVal(); in parseDirectiveLoc()
2982 LineNumber = getTok().getIntVal(); in parseDirectiveLoc()
2990 ColumnPos = getTok().getIntVal(); in parseDirectiveLoc()
3005 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3016 Loc = getTok().getLoc(); in parseDirectiveLoc()
3033 Loc = getTok().getLoc(); in parseDirectiveLoc()
3466 AsmToken EndToken, StartToken = getTok(); in parseDirectiveMacro()
3477 if (getTok().getIdentifier() == ".endm" || in parseDirectiveMacro()
3478 getTok().getIdentifier() == ".endmacro") { in parseDirectiveMacro()
3480 EndToken = getTok(); in parseDirectiveMacro()
3490 } else if (getTok().getIdentifier() == ".macro") { in parseDirectiveMacro()
3706 SMLoc Loc = getTok().getLoc(); in parseDirectiveBundleLock()
3806 SMLoc Loc = getTok().getLoc(); in parseDirectiveSymbolAttribute()
4092 StringRef String1 = getTok().getStringContents(); in parseDirectiveIfeqs()
4115 StringRef String2 = getTok().getStringContents(); in parseDirectiveIfeqs()
4244 Message = getTok().getStringContents(); in parseDirectiveError()
4270 Message = getTok().getStringContents(); in parseDirectiveWarning()
4417 AsmToken EndToken, StartToken = getTok(); in parseMacroLikeBody()
4428 (getTok().getIdentifier() == ".rept")) { in parseMacroLikeBody()
4433 if (Lexer.is(AsmToken::Identifier) && getTok().getIdentifier() == ".endr") { in parseMacroLikeBody()
4435 EndToken = getTok(); in parseMacroLikeBody()
4469 DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()); in instantiateMacroLikeBody()
4482 SMLoc CountLoc = getTok().getLoc(); in parseDirectiveRept()
4512 if (expandMacro(OS, M->Body, None, None, false, getTok().getLoc())) in parseDirectiveRept()
4553 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) in parseDirectiveIrp()
4602 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) in parseDirectiveIrpc()