Lines Matching refs:getTok

720   const char *Start = getTok().getLoc().getPointer();
725 const char *End = getTok().getLoc().getPointer();
730 const char *Start = getTok().getLoc().getPointer();
736 const char *End = getTok().getLoc().getPointer();
750 EndLoc = Lexer.getTok().getEndLoc();
765 EndLoc = Lexer.getTok().getEndLoc();
832 return Error(Lexer.getTok().getLoc(),
877 SMLoc Loc = getTok().getLoc();
878 int64_t IntVal = getTok().getIntVal();
880 EndLoc = Lexer.getTok().getEndLoc();
884 StringRef IDVal = getTok().getString();
900 EndLoc = Lexer.getTok().getEndLoc();
907 APFloat RealVal(APFloat::IEEEdouble, getTok().getString());
910 EndLoc = Lexer.getTok().getEndLoc();
920 EndLoc = Lexer.getTok().getEndLoc();
976 TokError("invalid variant on expression '" + getTok().getIdentifier() +
1038 MCSymbolRefExpr::getVariantKindForName(getTok().getIdentifier());
1040 return TokError("invalid variant '" + getTok().getIdentifier() + "'");
1044 return TokError("invalid modifier '" + getTok().getIdentifier() +
1199 AsmToken ID = getTok();
1209 LocalLabelVal = getTok().getIntVal();
1215 IDVal = getTok().getString();
1666 int64_t LineNumber = getTok().getIntVal();
1674 StringRef Filename = getTok().getString();
1944 const char *NextChar = getTok().getEndLoc().getPointer();
1967 MA.push_back(getTok());
2113 if (expandMacro(OS, Body, M->Parameters, A, getTok().getLoc()))
2126 M, NameLoc, CurBuffer, getTok().getLoc(), Instantiation);
2248 if (PrefixLoc.getPointer() + 1 != getTok().getLoc().getPointer())
2253 StringRef(PrefixLoc.getPointer(), getTok().getIdentifier().size() + 1);
2261 Res = getTok().getIdentifier();
2289 StringRef Str = getTok().getStringContents();
2426 APInt IntValue = getTok().getAPIntVal();
2485 StringRef IDVal = getTok().getString();
2620 SMLoc Loc = getTok().getLoc();
2751 FileNumber = getTok().getIntVal();
2763 std::string Path = getTok().getString();
2809 int64_t LineNumber = getTok().getIntVal();
2832 int64_t FileNumber = getTok().getIntVal();
2841 LineNumber = getTok().getIntVal();
2849 ColumnPos = getTok().getIntVal();
2864 SMLoc Loc = getTok().getLoc();
2875 Loc = getTok().getLoc();
2892 Loc = getTok().getLoc();
3325 AsmToken EndToken, StartToken = getTok();
3336 if (getTok().getIdentifier() == ".endm" ||
3337 getTok().getIdentifier() == ".endmacro") {
3339 EndToken = getTok();
3349 } else if (getTok().getIdentifier() == ".macro") {
3545 SMLoc Loc = getTok().getLoc();
3639 SMLoc Loc = getTok().getLoc();
3922 StringRef String1 = getTok().getStringContents();
3939 StringRef String2 = getTok().getStringContents();
4068 Message = getTok().getStringContents();
4211 AsmToken EndToken, StartToken = getTok();
4222 (getTok().getIdentifier() == ".rept")) {
4227 if (Lexer.is(AsmToken::Identifier) && getTok().getIdentifier() == ".endr") {
4229 EndToken = getTok();
4263 M, DirectiveLoc, CurBuffer, getTok().getLoc(), Instantiation);
4276 SMLoc CountLoc = getTok().getLoc();
4305 if (expandMacro(OS, M->Body, None, None, getTok().getLoc()))
4344 if (expandMacro(OS, M->Body, Parameter, *i, getTok().getLoc()))
4391 if (expandMacro(OS, M->Body, Parameter, Arg, getTok().getLoc()))