• Home
  • Raw
  • Download

Lines Matching refs:getTok

255     Loc = getTok().getLoc();  in getTokenLoc()
260 if (getTok().getKind() == AsmToken::Hash) { in parseEOL()
265 if (getTok().getKind() != AsmToken::EndOfStatement) in parseEOL()
276 if (getTok().getKind() != T) in parseToken()
283 if (getTok().getKind() != AsmToken::Integer) in parseIntToken()
285 V = getTok().getIntVal(); in parseIntToken()
663 if (Lexer.getTok().is(AsmToken::Error)) in Lex()
667 if (getTok().is(AsmToken::EndOfStatement)) { in Lex()
669 if (getTok().getString().front() != '\n' && in Lex()
670 getTok().getString().front() != '\r' && MAI.preserveAsmComments()) in Lex()
671 Out.addExplicitComment(Twine(getTok().getString())); in Lex()
732 if (Lexer.getTok().is(AsmToken::Error)) { in Run()
774 Error(getTok().getLoc(), "assembler local symbol '" + in Run()
817 const char *Start = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
822 const char *End = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
827 const char *Start = getTok().getLoc().getPointer(); in parseStringToComma()
833 const char *End = getTok().getLoc().getPointer(); in parseStringToComma()
847 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
862 EndLoc = Lexer.getTok().getEndLoc(); in parseBracketExpr()
929 return Error(Lexer.getTok().getLoc(), in parsePrimaryExpr()
975 SMLoc Loc = getTok().getLoc(); in parsePrimaryExpr()
976 int64_t IntVal = getTok().getIntVal(); in parsePrimaryExpr()
978 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
982 StringRef IDVal = getTok().getString(); in parsePrimaryExpr()
999 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
1006 APFloat RealVal(APFloat::IEEEdouble, getTok().getString()); in parsePrimaryExpr()
1009 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
1019 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
1075 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1137 MCSymbolRefExpr::getVariantKindForName(getTok().getIdentifier()); in parseExpression()
1139 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
1143 return TokError("invalid modifier '" + getTok().getIdentifier() + in parseExpression()
1178 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExprOfDepth()
1402 if (getTok().getString().front() == '\r' || in parseStatement()
1403 getTok().getString().front() == '\n') in parseStatement()
1419 AsmToken ID = getTok(); in parseStatement()
1427 LocalLabelVal = getTok().getIntVal(); in parseStatement()
1433 IDVal = getTok().getString(); in parseStatement()
1555 if (getTok().is(AsmToken::Hash)) { in parseStatement()
1563 if (getTok().is(AsmToken::EndOfStatement)) { in parseStatement()
1952 assert(getTok().is(AsmToken::Integer) && in parseCppHashLineFilenameComment()
1954 int64_t LineNumber = getTok().getIntVal(); in parseCppHashLineFilenameComment()
1956 assert(getTok().is(AsmToken::String) && in parseCppHashLineFilenameComment()
1958 StringRef Filename = getTok().getString(); in parseCppHashLineFilenameComment()
2237 MA.push_back(getTok()); in parseMacroArgument()
2263 MA.push_back(getTok()); in parseMacroArgument()
2401 if (expandMacro(OS, Body, M->Parameters, A, true, getTok().getLoc())) in handleMacroEntry()
2414 NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()); in handleMacroEntry()
2478 if (PrefixLoc.getPointer() + 1 != getTok().getLoc().getPointer()) in parseIdentifier()
2483 StringRef(PrefixLoc.getPointer(), getTok().getIdentifier().size() + 1); in parseIdentifier()
2491 Res = getTok().getIdentifier(); in parseIdentifier()
2519 StringRef Str = getTok().getStringContents(); in parseEscapedString()
2612 SMLoc OffsetLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
2630 SMLoc NameLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
2631 StringRef Name = Lexer.getTok().getIdentifier(); in parseDirectiveReloc()
2704 APInt IntValue = getTok().getAPIntVal(); in parseDirectiveOctaValue()
2764 StringRef IDVal = getTok().getString(); in parseDirectiveRealValue()
3016 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
3028 std::string Path = getTok().getString(); in parseDirectiveFile()
3073 int64_t LineNumber = getTok().getIntVal(); in parseDirectiveLine()
3096 int64_t FileNumber = getTok().getIntVal(); in parseDirectiveLoc()
3105 LineNumber = getTok().getIntVal(); in parseDirectiveLoc()
3113 ColumnPos = getTok().getIntVal(); in parseDirectiveLoc()
3128 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3139 Loc = getTok().getLoc(); in parseDirectiveLoc()
3156 Loc = getTok().getLoc(); in parseDirectiveLoc()
3200 int64_t FileNumber = getTok().getIntVal(); in parseDirectiveCVFile()
3236 int64_t FunctionId = getTok().getIntVal(); in parseDirectiveCVLoc()
3241 int64_t FileNumber = getTok().getIntVal(); in parseDirectiveCVLoc()
3250 LineNumber = getTok().getIntVal(); in parseDirectiveCVLoc()
3258 ColumnPos = getTok().getIntVal(); in parseDirectiveCVLoc()
3268 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLoc()
3275 Loc = getTok().getLoc(); in parseDirectiveCVLoc()
3299 int64_t FunctionId = getTok().getIntVal(); in parseDirectiveCVLinetable()
3333 int64_t PrimaryFunctionId = getTok().getIntVal(); in parseDirectiveCVInlineLinetable()
3339 int64_t SourceFileId = getTok().getIntVal(); in parseDirectiveCVInlineLinetable()
3345 int64_t SourceLineNum = getTok().getIntVal(); in parseDirectiveCVInlineLinetable()
3365 if (getTok().getIdentifier() != "contains") in parseDirectiveCVInlineLinetable()
3371 int64_t SecondaryFunctionId = getTok().getIntVal(); in parseDirectiveCVInlineLinetable()
3832 AsmToken EndToken, StartToken = getTok(); in parseDirectiveMacro()
3847 if (getTok().getIdentifier() == ".endm" || in parseDirectiveMacro()
3848 getTok().getIdentifier() == ".endmacro") { in parseDirectiveMacro()
3850 EndToken = getTok(); in parseDirectiveMacro()
3860 } else if (getTok().getIdentifier() == ".macro") { in parseDirectiveMacro()
4076 SMLoc Loc = getTok().getLoc(); in parseDirectiveBundleLock()
4173 SMLoc Loc = getTok().getLoc(); in parseDirectiveSymbolAttribute()
4459 StringRef String1 = getTok().getStringContents(); in parseDirectiveIfeqs()
4482 StringRef String2 = getTok().getStringContents(); in parseDirectiveIfeqs()
4611 Message = getTok().getStringContents(); in parseDirectiveError()
4637 Message = getTok().getStringContents(); in parseDirectiveWarning()
4791 AsmToken EndToken, StartToken = getTok(); in parseMacroLikeBody()
4802 (getTok().getIdentifier() == ".rept" || in parseMacroLikeBody()
4803 getTok().getIdentifier() == ".irp" || in parseMacroLikeBody()
4804 getTok().getIdentifier() == ".irpc")) { in parseMacroLikeBody()
4809 if (Lexer.is(AsmToken::Identifier) && getTok().getIdentifier() == ".endr") { in parseMacroLikeBody()
4811 EndToken = getTok(); in parseMacroLikeBody()
4845 DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()); in instantiateMacroLikeBody()
4858 SMLoc CountLoc = getTok().getLoc(); in parseDirectiveRept()
4888 if (expandMacro(OS, M->Body, None, None, false, getTok().getLoc())) in parseDirectiveRept()
4929 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) in parseDirectiveIrp()
4978 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) in parseDirectiveIrpc()
5310 SMLoc EqualLoc = Parser.getTok().getLoc(); in parseAssignmentExpression()
5322 if (Parser.getTok().isNot(AsmToken::EndOfStatement)) in parseAssignmentExpression()