/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
AsmLexer.cpp | 45 /// location. This is defined to always return AsmToken::Error. 46 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { 49 return AsmToken(AsmToken::Error, StringRef(Loc, 0)); 74 AsmToken AsmLexer::LexFloatLiteral() { 90 return AsmToken(AsmToken::Real, 98 AsmToken AsmLexer::LexIdentifier() { 113 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1)) [all...] |
COFFAsmParser.cpp | 137 if (getLexer().isNot(AsmToken::EndOfStatement)) { 148 if (getLexer().is(AsmToken::EndOfStatement)) 151 if (getLexer().isNot(AsmToken::Comma)) 164 if (getLexer().isNot(AsmToken::EndOfStatement)) 193 if (getLexer().isNot(AsmToken::EndOfStatement)) 206 if (getLexer().isNot(AsmToken::EndOfStatement)) 225 if (getLexer().isNot(AsmToken::EndOfStatement)) 258 if (getLexer().isNot(AsmToken::Comma)) 264 if (getLexer().is(AsmToken::Comma)) { 269 if (getLexer().isNot(AsmToken::EndOfStatement) [all...] |
ELFAsmParser.cpp | 164 if (getLexer().isNot(AsmToken::EndOfStatement)) { 175 if (getLexer().is(AsmToken::EndOfStatement)) 178 if (getLexer().isNot(AsmToken::Comma)) 190 if (getLexer().isNot(AsmToken::EndOfStatement)) 206 if (getLexer().isNot(AsmToken::Comma)) 214 if (getLexer().isNot(AsmToken::EndOfStatement)) 227 if (getLexer().is(AsmToken::String)) { 238 if (getLexer().is(AsmToken::Minus)) { 241 } else if (getLexer().is(AsmToken::String)) { 244 } else if (getLexer().is(AsmToken::Identifier)) [all...] |
AsmParser.cpp | 150 const AsmToken &Lex(); 169 const std::vector<std::vector<AsmToken> > &A, 435 const AsmToken &AsmParser::Lex() { 436 const AsmToken *tok = &Lexer.Lex(); 438 if (tok->is(AsmToken::Eof)) { 448 if (tok->is(AsmToken::Error)) 466 while (Lexer.isNot(AsmToken::Eof)) { 530 while (Lexer.isNot(AsmToken::EndOfStatement) && 531 Lexer.isNot(AsmToken::Eof)) 535 if (Lexer.is(AsmToken::EndOfStatement) [all...] |
MCAsmLexer.cpp | 15 MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()), TokStart(0) { 25 SMLoc AsmToken::getLoc() const {
|
DarwinAsmParser.cpp | 300 if (getLexer().isNot(AsmToken::EndOfStatement)) 335 if (getLexer().isNot(AsmToken::Comma)) 343 if (getLexer().isNot(AsmToken::EndOfStatement)) 359 if (getLexer().isNot(AsmToken::String)) 364 if (getLexer().isNot(AsmToken::EndOfStatement)) 387 if (getLexer().isNot(AsmToken::Comma)) 395 if (getLexer().isNot(AsmToken::EndOfStatement)) 417 if (!getLexer().is(AsmToken::Comma)) 429 if (getLexer().isNot(AsmToken::EndOfStatement)) 458 if (getLexer().isNot(AsmToken::EndOfStatement) [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmLexer.cpp | 46 /// location. This is defined to always return AsmToken::Error. 47 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { 50 return AsmToken(AsmToken::Error, StringRef(Loc, CurPtr - Loc)); 64 AsmToken AsmLexer::LexFloatLiteral() { 80 return AsmToken(AsmToken::Real, 90 AsmToken AsmLexer::LexHexFloatLiteral(bool NoIntDigits) { 128 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart)) [all...] |
MCAsmLexer.cpp | 16 CurTok.emplace_back(AsmToken::Space, StringRef()); 26 SMLoc AsmToken::getLoc() const { 30 SMLoc AsmToken::getEndLoc() const { 34 SMRange AsmToken::getLocRange() const {
|
ELFAsmParser.cpp | 160 if (getLexer().isNot(AsmToken::EndOfStatement)) { 171 if (getLexer().is(AsmToken::EndOfStatement)) 174 if (getLexer().isNot(AsmToken::Comma)) 187 if (getLexer().isNot(AsmToken::EndOfStatement)) { 205 if (getLexer().isNot(AsmToken::Comma)) 213 if (getLexer().isNot(AsmToken::EndOfStatement)) 226 if (getLexer().is(AsmToken::String)) { 235 if (getLexer().is(AsmToken::Comma) || 236 getLexer().is(AsmToken::EndOfStatement)) 240 if (getLexer().is(AsmToken::String)) [all...] |
AsmParser.cpp | 52 typedef std::vector<AsmToken> MCAsmMacroArgument; 226 const AsmToken &Lex() override; 260 if (getTok().getKind() == AsmToken::Hash) { 263 Lexer.UnLex(AsmToken(AsmToken::EndOfStatement, CommentStr)); 265 if (getTok().getKind() != AsmToken::EndOfStatement) 273 bool parseToken(AsmToken::TokenKind T, const Twine &ErrMsg) { 274 if (T == AsmToken::EndOfStatement) 283 if (getTok().getKind() != AsmToken::Integer) 375 unsigned getBinOpPrecedence(AsmToken::TokenKind K [all...] |
COFFAsmParser.cpp | 269 if (getLexer().isNot(AsmToken::EndOfStatement)) { 280 if (getLexer().is(AsmToken::EndOfStatement)) 283 if (getLexer().isNot(AsmToken::Comma)) 304 if (getLexer().isNot(AsmToken::EndOfStatement)) 315 if (!getLexer().is(AsmToken::Identifier)) 347 if (getLexer().is(AsmToken::Comma)) { 350 if (getLexer().isNot(AsmToken::String)) 362 if (getLexer().is(AsmToken::Comma)) { 368 if (!getLexer().is(AsmToken::Identifier)) 375 if (getLexer().isNot(AsmToken::Comma) [all...] |
DarwinAsmParser.cpp | 396 if (getLexer().isNot(AsmToken::EndOfStatement)) 450 if (getLexer().isNot(AsmToken::Comma)) 458 if (getLexer().isNot(AsmToken::EndOfStatement)) 495 if (getLexer().isNot(AsmToken::EndOfStatement)) 508 if (getLexer().isNot(AsmToken::String)) 513 if (getLexer().isNot(AsmToken::EndOfStatement)) 531 if (getLexer().isNot(AsmToken::String)) 541 if (getLexer().is(AsmToken::EndOfStatement)) 544 if (getLexer().isNot(AsmToken::Comma)) 563 if (getLexer().isNot(AsmToken::Comma) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/ |
X86AsmLexer.cpp | 27 AsmToken tentativeToken; 29 const AsmToken &lexTentative() { 35 const AsmToken &lexDefinite() { 43 AsmToken LexTokenATT(); 44 AsmToken LexTokenIntel(); 46 AsmToken LexToken() { 49 return AsmToken(AsmToken::Error, "", 0); 55 return AsmToken(AsmToken::Error, "", 0) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/ |
MBlazeAsmLexer.cpp | 34 const AsmToken &lexDefinite() { 38 AsmToken LexTokenUAL(); 62 AsmToken LexToken() { 65 return AsmToken(AsmToken::Error, "", 0); 71 return AsmToken(AsmToken::Error, "", 0); 92 AsmToken MBlazeBaseAsmLexer::LexTokenUAL() { 93 const AsmToken &lexedToken = lexDefinite(); 97 return AsmToken(lexedToken) [all...] |
MBlazeAsmParser.cpp | 69 virtual bool ParseDirective(AsmToken DirectiveID); 399 case AsmToken::Identifier: 426 case AsmToken::Identifier: 444 case AsmToken::LParen: 445 case AsmToken::Plus: 446 case AsmToken::Minus: 447 case AsmToken::Integer: 448 case AsmToken::Identifier: 494 if (getLexer().is(AsmToken::EndOfStatement)) 501 while (getLexer().isNot(AsmToken::EndOfStatement) & [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
AsmLexer.h | 40 AsmToken LexToken() override; 50 size_t peekTokens(MutableArrayRef<AsmToken> Buf, 59 AsmToken ReturnError(const char *Loc, const std::string &Msg); 61 AsmToken LexIdentifier(); 62 AsmToken LexSlash(); 63 AsmToken LexLineComment(); 64 AsmToken LexDigit(); 65 AsmToken LexSingleQuote(); 66 AsmToken LexQuote(); 67 AsmToken LexFloatLiteral() [all...] |
MCAsmLexer.h | 25 class AsmToken { 71 AsmToken() {} 72 AsmToken(TokenKind Kind, StringRef Str, APInt IntVal) 74 AsmToken(TokenKind Kind, StringRef Str, int64_t IntVal = 0) 127 SmallVector<AsmToken, 1> CurTok; 142 virtual AsmToken LexToken() = 0; 156 const AsmToken &Lex() { 162 AsmToken T = LexToken(); 168 void UnLex(AsmToken const &Token) { 178 const AsmToken &getTok() const [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/ |
ARMAsmLexer.cpp | 35 const AsmToken &lexDefinite() { 39 AsmToken LexTokenUAL(); 63 AsmToken LexToken() { 66 return AsmToken(AsmToken::Error, "", 0); 72 return AsmToken(AsmToken::Error, "", 0); 101 AsmToken ARMBaseAsmLexer::LexTokenUAL() { 102 const AsmToken &lexedToken = lexDefinite(); 106 case AsmToken::Error [all...] |