/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGParser.cpp | 310 if (Lex.getCode() != tgtok::Id) in ParseObjectName() 313 std::string Ret = Lex.getCurStrVal(); in ParseObjectName() 314 Lex.Lex(); in ParseObjectName() 325 if (Lex.getCode() != tgtok::Id) { in ParseClassID() 330 Record *Result = Records.getClass(Lex.getCurStrVal()); in ParseClassID() 332 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID() 334 Lex.Lex(); in ParseClassID() 344 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID() 349 MultiClass *Result = MultiClasses[Lex.getCurStrVal()]; in ParseMultiClassID() 351 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 496 switch (Lex.getCode()) { in ParseObjectName() 534 if (Lex.getCode() != tgtok::Id) { in ParseClassID() 539 Record *Result = Records.getClass(Lex.getCurStrVal()); in ParseClassID() 541 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID() 543 Lex.Lex(); in ParseClassID() 553 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID() 558 MultiClass *Result = MultiClasses[Lex.getCurStrVal()].get(); in ParseMultiClassID() 560 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID() 562 Lex.Lex(); in ParseMultiClassID() 575 Result.RefRange.Start = Lex.getLoc(); in ParseSubClassReference() [all …]
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 378 switch (Lex.getCode()) { in ParseObjectName() 413 if (Lex.getCode() != tgtok::Id) { in ParseClassID() 418 Record *Result = Records.getClass(Lex.getCurStrVal()); in ParseClassID() 420 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID() 422 Lex.Lex(); in ParseClassID() 432 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID() 437 MultiClass *Result = MultiClasses[Lex.getCurStrVal()].get(); in ParseMultiClassID() 439 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID() 441 Lex.Lex(); in ParseMultiClassID() 454 Result.RefRange.Start = Lex.getLoc(); in ParseSubClassReference() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | LLParser.cpp | 67 Lex.Lex(); in Run() 71 Lex.getLoc(), in Run() 81 Lex.Lex(); in parseStandaloneConstantValue() 86 if (Lex.getKind() != lltok::Eof) in parseStandaloneConstantValue() 87 return Error(Lex.getLoc(), "expected end of string"); in parseStandaloneConstantValue() 94 Lex.Lex(); in parseTypeAtBeginning() 97 SMLoc Start = Lex.getLoc(); in parseTypeAtBeginning() 101 SMLoc End = Lex.getLoc(); in parseTypeAtBeginning() 294 switch (Lex.getKind()) { in ParseTopLevelEntities() 307 Lex.Lex(); in ParseTopLevelEntities() [all …]
|
D | LLParser.h | 93 LLLexer Lex; variable 174 : Context(Context), Lex(F, SM, Err, Context), M(M), Index(Index), in Context() 192 return Lex.Error(L, Msg); in Error() 195 return Error(Lex.getLoc(), Msg); in TokError() 215 if (Lex.getKind() != T) return false; in EatIfPresent() 216 Lex.Lex(); in EatIfPresent() 223 switch (Lex.getKind()) { in EatFastMathFlagsIfPresent() 224 case lltok::kw_fast: FMF.setFast(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 225 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 226 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() [all …]
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 50 Lex.Lex(); in Run() 54 Lex.getLoc(), in Run() 64 Lex.Lex(); in parseStandaloneConstantValue() 69 if (Lex.getKind() != lltok::Eof) in parseStandaloneConstantValue() 70 return Error(Lex.getLoc(), "expected end of string"); in parseStandaloneConstantValue() 77 Lex.Lex(); in parseTypeAtBeginning() 80 SMLoc Start = Lex.getLoc(); in parseTypeAtBeginning() 84 SMLoc End = Lex.getLoc(); in parseTypeAtBeginning() 251 switch (Lex.getKind()) { in ParseTopLevelEntities() 282 assert(Lex.getKind() == lltok::kw_module); in ParseModuleAsm() [all …]
|
D | LLParser.h | 92 LLLexer Lex; variable 145 : Context(M->getContext()), Lex(F, SM, Err, M->getContext()), M(M), 159 return Lex.Error(L, Msg); in Error() 162 return Error(Lex.getLoc(), Msg); in TokError() 182 if (Lex.getKind() != T) return false; in EatIfPresent() 183 Lex.Lex(); in EatIfPresent() 190 switch (Lex.getKind()) { in EatFastMathFlagsIfPresent() 191 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 192 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() 193 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent() [all …]
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.cpp | 39 Lex.Lex(); in Run() 169 switch (Lex.getKind()) { in ParseTopLevelEntities() 235 assert(Lex.getKind() == lltok::kw_module); in ParseModuleAsm() 236 Lex.Lex(); in ParseModuleAsm() 250 assert(Lex.getKind() == lltok::kw_target); in ParseTargetDefinition() 252 switch (Lex.Lex()) { in ParseTargetDefinition() 255 Lex.Lex(); in ParseTargetDefinition() 262 Lex.Lex(); in ParseTargetDefinition() 275 assert(Lex.getKind() == lltok::kw_deplibs); in ParseDepLibs() 276 Lex.Lex(); in ParseDepLibs() [all …]
|
D | LLParser.h | 89 LLLexer Lex; variable 128 Context(m->getContext()), Lex(F, SM, Err, m->getContext()), in LLParser() 137 return Lex.Error(L, Msg); in Error() 140 return Error(Lex.getLoc(), Msg); in TokError() 152 if (Lex.getKind() != T) return false; in EatIfPresent() 153 Lex.Lex(); in EatIfPresent() 157 if (Lex.getKind() != T) { 161 *Loc = Lex.getLoc(); 162 Lex.Lex(); 170 Loc = Lex.getLoc(); in ParseUInt32() [all …]
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | COFFAsmParser.cpp | 153 Lex(); in ParseDirectiveSymbolAttribute() 157 Lex(); in ParseDirectiveSymbolAttribute() 166 Lex(); in ParseSectionSwitch() 184 Lex(); in ParseDirectiveDef() 196 Lex(); in ParseDirectiveScl() 209 Lex(); in ParseDirectiveType() 215 Lex(); in ParseDirectiveEndef() 230 Lex(); in ParseSEHDirectiveStartProc() 236 Lex(); in ParseSEHDirectiveEndProc() 242 Lex(); in ParseSEHDirectiveStartChained() [all …]
|
D | AsmParser.cpp | 150 const AsmToken &Lex(); 435 const AsmToken &AsmParser::Lex() { in Lex() function in AsmParser 436 const AsmToken *tok = &Lexer.Lex(); in Lex() 444 tok = &Lexer.Lex(); in Lex() 460 Lex(); in Run() 532 Lex(); in EatToEndOfStatement() 536 Lex(); in EatToEndOfStatement() 544 Lex(); in ParseStringToEndOfStatement() 560 Lex(); in ParseParenExpr() 574 Lex(); in ParseBracketExpr() [all …]
|
D | ELFAsmParser.cpp | 180 Lex(); in ParseDirectiveSymbolAttribute() 184 Lex(); in ParseDirectiveSymbolAttribute() 192 Lex(); in ParseSectionSwitch() 208 Lex(); in ParseDirectiveSize() 229 Lex(); in ParseSectionName() 240 Lex(); // Consume the "-". in ParseSectionName() 243 Lex(); in ParseSectionName() 246 Lex(); in ParseSectionName() 349 Lex(); in ParseDirectiveSection() 355 Lex(); in ParseDirectiveSection() [all …]
|
D | DarwinAsmParser.cpp | 302 Lex(); in ParseSectionSwitch() 337 Lex(); in ParseDirectiveDesc() 346 Lex(); in ParseDirectiveDesc() 362 Lex(); in ParseDirectiveDumpOrLoad() 367 Lex(); in ParseDirectiveDumpOrLoad() 389 Lex(); in ParseDirectiveLsym() 398 Lex(); in ParseDirectiveLsym() 428 Lex(); in ParseDirectiveSection() 431 Lex(); in ParseDirectiveSection() 500 Lex(); in ParseDirectiveSecureLogReset() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | COFFAsmParser.cpp | 310 Lex(); in ParseDirectiveSymbolAttribute() 314 Lex(); in ParseDirectiveSymbolAttribute() 331 Lex(); in ParseSectionSwitch() 344 Lex(); in ParseSectionName() 374 Lex(); in ParseDirectiveSection() 380 Lex(); in ParseDirectiveSection() 390 Lex(); in ParseDirectiveSection() 403 Lex(); in ParseDirectiveSection() 432 Lex(); in ParseDirectiveDef() 444 Lex(); in ParseDirectiveScl() [all …]
|
D | ELFAsmParser.cpp | 195 Lex(); in ParseDirectiveSymbolAttribute() 199 Lex(); in ParseDirectiveSymbolAttribute() 210 Lex(); in ParseSectionSwitch() 226 Lex(); in ParseDirectiveSize() 234 Lex(); in ParseDirectiveSize() 248 Lex(); in ParseSectionName() 261 Lex(); in ParseSectionName() 264 Lex(); in ParseSectionName() 267 Lex(); in ParseSectionName() 341 Lex(); // Eat the #. in parseSunStyleSectionFlags() [all …]
|
D | DarwinAsmParser.cpp | 474 Lex(); in parseSectionSwitch() 512 Lex(); in parseDirectiveAltEntry() 528 Lex(); in parseDirectiveDesc() 537 Lex(); in parseDirectiveDesc() 574 Lex(); in parseDirectiveIndirectSymbol() 587 Lex(); in parseDirectiveDumpOrLoad() 592 Lex(); in parseDirectiveDumpOrLoad() 621 Lex(); in parseDirectiveLinkerOption() 640 Lex(); in parseDirectiveLsym() 649 Lex(); in parseDirectiveLsym() [all …]
|
D | AsmParser.cpp | 225 const AsmToken &Lex() override; 802 const AsmToken &AsmParser::Lex() { in Lex() function in AsmParser 814 const AsmToken *tok = &Lexer.Lex(); in Lex() 820 tok = &Lexer.Lex(); in Lex() 829 return Lex(); in Lex() 855 Lex(); in Run() 887 Lex(); in Run() 971 Lexer.Lex(); in eatToEndOfStatement() 975 Lexer.Lex(); in eatToEndOfStatement() 982 Lexer.Lex(); in parseStringToEndOfStatement() [all …]
|
/external/llvm/tools/llvm-mcmarkup/ |
D | llvm-mcmarkup.cpp | 70 MarkupLexer &Lex; member in MarkupParser 73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} in MarkupParser() 125 StringRef::const_iterator Start = Lex.getPosition(); in parseTag() 127 while(Lex.getNextChar() != ':') { in parseTag() 129 if (Lex.isEOF()) in parseTag() 132 StringRef RawTag(Start, Lex.getPosition() - Start - 1); in parseTag() 153 MarkupLexer Lex(InputSource); in parseMCMarkup() local 154 MarkupParser Parser(Lex, SrcMgr); in parseMCMarkup() 158 for (int CurChar = Lex.getNextChar(); in parseMCMarkup() 160 CurChar = Lex.getNextChar()) { in parseMCMarkup() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | COFFAsmParser.cpp | 285 Lex(); in ParseDirectiveSymbolAttribute() 289 Lex(); in ParseDirectiveSymbolAttribute() 306 Lex(); in ParseSectionSwitch() 319 Lex(); in ParseSectionName() 348 Lex(); in ParseDirectiveSection() 354 Lex(); in ParseDirectiveSection() 364 Lex(); in ParseDirectiveSection() 377 Lex(); in ParseDirectiveSection() 406 Lex(); in ParseDirectiveDef() 418 Lex(); in ParseDirectiveScl() [all …]
|
D | ELFAsmParser.cpp | 176 Lex(); in ParseDirectiveSymbolAttribute() 180 Lex(); in ParseDirectiveSymbolAttribute() 191 Lex(); in ParseSectionSwitch() 207 Lex(); in ParseDirectiveSize() 228 Lex(); in ParseSectionName() 242 Lex(); in ParseSectionName() 245 Lex(); in ParseSectionName() 248 Lex(); in ParseSectionName() 312 Lex(); // Eat the #. in parseSunStyleSectionFlags() 329 Lex(); // Eat the flag. in parseSunStyleSectionFlags() [all …]
|
D | AsmParser.cpp | 226 const AsmToken &Lex() override; 262 Lexer.Lex(); in parseEOL() 267 Lex(); in parseEOL() 278 Lex(); in parseToken() 286 Lex(); in parseIntToken() 662 const AsmToken &AsmParser::Lex() { in Lex() function in AsmParser 674 const AsmToken *tok = &Lexer.Lex(); in Lex() 680 tok = &Lexer.Lex(); in Lex() 689 return Lex(); in Lex() 703 Lex(); in Run() [all …]
|
D | DarwinAsmParser.cpp | 398 Lex(); in parseSectionSwitch() 436 Lex(); in parseDirectiveAltEntry() 452 Lex(); in parseDirectiveDesc() 461 Lex(); in parseDirectiveDesc() 498 Lex(); in parseDirectiveIndirectSymbol() 511 Lex(); in parseDirectiveDumpOrLoad() 516 Lex(); in parseDirectiveDumpOrLoad() 540 Lex(); in parseDirectiveLinkerOption() 546 Lex(); in parseDirectiveLinkerOption() 565 Lex(); in parseDirectiveLsym() [all …]
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 524 PP.Lex(Tok); // pragma kind in HandlePragmaMSPragma() 541 PP.Lex(Tok); in HandlePragmaMSPragma() 542 PP.Lex(Tok); in HandlePragmaMSPragma() 552 PP.Lex(Tok); // ( in HandlePragmaMSSection() 571 PP.Lex(Tok); // , in HandlePragmaMSSection() 576 PP.Lex(Tok); // long/short in HandlePragmaMSSection() 606 PP.Lex(Tok); // Identifier in HandlePragmaMSSection() 616 PP.Lex(Tok); // ) in HandlePragmaMSSection() 622 PP.Lex(Tok); // eof in HandlePragmaMSSection() 633 PP.Lex(Tok); // ( in HandlePragmaMSSegment() [all …]
|
/external/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 831 Parser.Lex(); in ParseAMDGPURegister() 851 Parser.Lex(); in ParseAMDGPURegister() 855 Parser.Lex(); in ParseAMDGPURegister() 859 Parser.Lex(); in ParseAMDGPURegister() 867 Parser.Lex(); in ParseAMDGPURegister() 877 Parser.Lex(); in ParseAMDGPURegister() 885 Parser.Lex(); in ParseAMDGPURegister() 894 Parser.Lex(); in ParseAMDGPURegister() 896 Parser.Lex(); in ParseAMDGPURegister() 972 Parser.Lex(); in parseImm() [all …]
|
/external/clang/lib/Lex/ |
D | Pragma.cpp | 184 Lex(Tok); in Handle_Pragma() 191 Lex(Tok); in Handle_Pragma() 196 Lex(Tok); in Handle_Pragma() 200 Lex(Tok); in Handle_Pragma() 202 Lex(Tok); in Handle_Pragma() 209 Lex(Tok); in Handle_Pragma() 211 Lex(Tok); in Handle_Pragma() 219 Lex(Tok); in Handle_Pragma() 302 return Lex(Tok); in Handle_Pragma() 312 Lex(Tok); in HandleMicrosoft__pragma() [all …]
|