/external/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 42 TokStart = nullptr; in setBuffer() 81 StringRef(TokStart, CurPtr - TokStart)); in LexFloatLiteral() 107 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 112 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 125 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 128 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart)); in LexHexFloatLiteral() 151 if (CurPtr == TokStart+1 && TokStart[0] == '.') in LexIdentifier() 152 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1)); in LexIdentifier() 154 return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart)); in LexIdentifier() 169 return AsmToken(AsmToken::Slash, StringRef(TokStart, 1)); in LexSlash() [all …]
|
D | MCAsmLexer.cpp | 15 MCAsmLexer::MCAsmLexer() : TokStart(nullptr), SkipSpace(true) { in MCAsmLexer() 23 return SMLoc::getFromPointer(TokStart); in getLoc()
|
/external/llvm-project/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 49 TokStart = nullptr; in setBuffer() 96 StringRef(TokStart, CurPtr - TokStart)); in LexFloatLiteral() 122 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 127 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 140 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 143 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart)); in LexHexFloatLiteral() 168 if (CurPtr == TokStart+1 && TokStart[0] == '.') in LexIdentifier() 169 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1)); in LexIdentifier() 171 return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart)); in LexIdentifier() 186 return AsmToken(AsmToken::Slash, StringRef(TokStart, 1)); in LexSlash() [all …]
|
D | MCAsmLexer.cpp | 24 return SMLoc::getFromPointer(TokStart); in getLoc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 47 TokStart = nullptr; in setBuffer() 87 StringRef(TokStart, CurPtr - TokStart)); in LexFloatLiteral() 113 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 118 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 131 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 134 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart)); in LexHexFloatLiteral() 159 if (CurPtr == TokStart+1 && TokStart[0] == '.') in LexIdentifier() 160 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1)); in LexIdentifier() 162 return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart)); in LexIdentifier() 177 return AsmToken(AsmToken::Slash, StringRef(TokStart, 1)); in LexSlash() [all …]
|
D | MCAsmLexer.cpp | 24 return SMLoc::getFromPointer(TokStart); in getLoc()
|
/external/llvm-project/llvm/lib/TableGen/ |
D | TGLexer.cpp | 51 TokStart = nullptr; in TGLexer() 65 return SMLoc::getFromPointer(TokStart); in getLoc() 95 TokStart = CurPtr; in processEOF() 138 TokStart = CurPtr; in LexToken() 149 return ReturnError(TokStart, "Unexpected character"); in LexToken() 192 return ReturnError(TokStart, "Invalid '..' punctuation"); in LexToken() 217 return ReturnError(TokStart, "Unexpected character"); in LexToken() 321 return ReturnError(TokStart, "Invalid variable name"); in LexVarName() 335 const char *IdentStart = TokStart; in LexIdentifier() 445 PrintError(TokStart, "Unterminated comment!"); in SkipCComment() [all …]
|
D | TGLexer.h | 87 const char *TokStart = nullptr; variable 129 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2); in getCurBinaryIntVal()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | TGLexer.cpp | 50 TokStart = nullptr; in TGLexer() 64 return SMLoc::getFromPointer(TokStart); in getLoc() 94 TokStart = CurPtr; in processEOF() 137 TokStart = CurPtr; in LexToken() 148 return ReturnError(TokStart, "Unexpected character"); in LexToken() 204 return ReturnError(TokStart, "Unexpected character"); in LexToken() 308 return ReturnError(TokStart, "Invalid variable name"); in LexVarName() 322 const char *IdentStart = TokStart; in LexIdentifier() 424 PrintError(TokStart, "Unterminated comment!"); in SkipCComment() 458 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber() [all …]
|
D | TGLexer.h | 81 const char *TokStart = nullptr; variable 123 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2); in getCurBinaryIntVal()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 190 TokStart = CurPtr; in LexToken() 216 StrVal.assign(TokStart, CurPtr-1); in LexToken() 264 if (const char *Ptr = isLabelTail(TokStart)) { in LexDollar() 266 StrVal.assign(TokStart, CurPtr - 1); in LexDollar() 282 StrVal.assign(TokStart + 2, CurPtr - 1); in LexDollar() 349 StrVal.assign(TokStart+2, CurPtr-1); in LexVar() 369 uint64_t Val = atoull(TokStart+1, CurPtr); in LexVar() 421 StrVal.assign(TokStart+1, CurPtr); // Skip ! in LexExclaim() 436 uint64_t Val = atoull(TokStart+1, CurPtr); in LexHash() 814 if ((TokStart[0] == 'u' || TokStart[0] == 's') && in LexIdentifier() [all …]
|
D | LLLexer.h | 37 const char *TokStart; variable 54 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 184 TokStart = CurPtr; in LexToken() 210 StrVal.assign(TokStart, CurPtr-1); in LexToken() 263 if (const char *Ptr = isLabelTail(TokStart)) { in LexDollar() 265 StrVal.assign(TokStart, CurPtr - 1); in LexDollar() 281 StrVal.assign(TokStart + 2, CurPtr - 1); in LexDollar() 344 uint64_t Val = atoull(TokStart + 1, CurPtr); in LexUIntID() 364 StrVal.assign(TokStart+2, CurPtr-1); in LexVar() 426 StrVal.assign(TokStart+1, CurPtr); // Skip ! in LexExclaim() 962 if ((TokStart[0] == 'u' || TokStart[0] == 's') && in LexIdentifier() 963 TokStart[1] == '0' && TokStart[2] == 'x' && in LexIdentifier() [all …]
|
D | LLLexer.h | 36 const char *TokStart; variable 57 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 184 TokStart = CurPtr; in LexToken() 210 StrVal.assign(TokStart, CurPtr-1); in LexToken() 263 if (const char *Ptr = isLabelTail(TokStart)) { in LexDollar() 265 StrVal.assign(TokStart, CurPtr - 1); in LexDollar() 281 StrVal.assign(TokStart + 2, CurPtr - 1); in LexDollar() 344 uint64_t Val = atoull(TokStart + 1, CurPtr); in LexUIntID() 364 StrVal.assign(TokStart+2, CurPtr-1); in LexVar() 426 StrVal.assign(TokStart+1, CurPtr); // Skip ! in LexExclaim() 948 if ((TokStart[0] == 'u' || TokStart[0] == 's') && in LexIdentifier() 949 TokStart[1] == '0' && TokStart[2] == 'x' && in LexIdentifier() [all …]
|
D | LLLexer.h | 36 const char *TokStart; variable 57 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 33 TokStart = nullptr; in TGLexer() 37 return SMLoc::getFromPointer(TokStart); in getLoc() 89 TokStart = CurPtr; in LexToken() 100 return ReturnError(TokStart, "Unexpected character"); in LexToken() 133 return ReturnError(TokStart, "Unexpected character"); in LexToken() 237 return ReturnError(TokStart, "Invalid variable name"); in LexVarName() 252 const char *IdentStart = TokStart; in LexIdentifier() 355 PrintError(TokStart, "Unterminated comment!"); in SkipCComment() 389 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber() 394 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber() [all …]
|
D | TGLexer.h | 73 const char *TokStart; variable 114 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2); in getCurBinaryIntVal()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 331 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling() local 340 return std::string(TokStart, TokStart + Tok.getLength()); in getSpelling() 344 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling() 363 const char *TokStart = nullptr; in getSpelling() local 366 TokStart = Tok.getRawIdentifier().data(); in getSpelling() 377 TokStart = Tok.getLiteralData(); in getSpelling() 379 if (!TokStart) { in getSpelling() 382 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling() 393 Buffer = TokStart; in getSpelling() 398 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer)); in getSpelling() [all …]
|
/external/llvm-project/clang/include/clang/Lex/ |
D | Lexer.h | 359 static unsigned getTokenPrefixLength(SourceLocation TokStart, 367 static SourceLocation AdvanceToTokenCharacter(SourceLocation TokStart, in AdvanceToTokenCharacter() argument 371 return TokStart.getLocWithOffset( in AdvanceToTokenCharacter() 372 getTokenPrefixLength(TokStart, Characters, SM, LangOpts)); in AdvanceToTokenCharacter()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 373 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling() local 382 return std::string(TokStart, TokStart + Tok.getLength()); in getSpelling() 386 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling() 405 const char *TokStart = nullptr; in getSpelling() local 408 TokStart = Tok.getRawIdentifier().data(); in getSpelling() 419 TokStart = Tok.getLiteralData(); in getSpelling() 421 if (!TokStart) { in getSpelling() 424 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling() 435 Buffer = TokStart; in getSpelling() 440 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer)); in getSpelling() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 48 const char *TokStart = nullptr;
|
/external/llvm-project/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 48 const char *TokStart = nullptr;
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 136 const char *TokStart;
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 302 static SourceLocation AdvanceToTokenCharacter(SourceLocation TokStart,
|