| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 227 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize() 246 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() 249 if (getLexer().is(AsmToken::String)) { in ParseSectionName() 256 SMLoc PrevLoc = getLexer().getLoc(); in ParseSectionName() 403 MCAsmLexer &L = getLexer(); in maybeParseSectionType() 436 MCAsmLexer &L = getLexer(); in parseGroup() 461 MCAsmLexer &L = getLexer(); in parseLinkedToSym() 482 MCAsmLexer &L = getLexer(); in maybeParseUniqueID() 592 MCAsmLexer &L = getLexer(); in ParseSectionArguments() 759 if (getLexer().is(AsmToken::Comma)) in ParseDirectiveType() [all …]
|
| H A D | COFFAsmParser.cpp | 329 if (!getLexer().is(AsmToken::Identifier) && !getLexer().is(AsmToken::String)) in ParseSectionName() 362 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveSection() 377 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveSection() 464 if (getLexer().is(AsmToken::Plus)) { in ParseDirectiveSecRel32() 465 OffsetLoc = getLexer().getLoc(); in ParseDirectiveSecRel32() 494 if (getLexer().is(AsmToken::Plus) || getLexer().is(AsmToken::Minus)) { in ParseDirectiveRVA() 495 OffsetLoc = getLexer().getLoc(); in ParseDirectiveRVA() 654 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler() 660 if (getLexer().is(AsmToken::Comma)) { in ParseSEHDirectiveHandler() 702 if (getLexer().isNot(AsmToken::At) && getLexer().isNot(AsmToken::Percent)) in ParseAtUnwindOrAtExcept() [all …]
|
| H A D | DarwinAsmParser.cpp | 531 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveDesc() 643 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLsym() 666 SMLoc Loc = getLexer().getLoc(); in parseDirectiveSection() 673 if (!getLexer().is(AsmToken::Comma)) in parseDirectiveSection() 829 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveTBSS() 842 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveTBSS() 848 if (getLexer().is(AsmToken::Comma)) { in parseDirectiveTBSS() 914 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveZerofill() 927 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveZerofill() 933 if (getLexer().is(AsmToken::Comma)) { in parseDirectiveZerofill() [all …]
|
| H A D | MCAsmParserExtension.cpp | 29 SMLoc FromLoc = getLexer().getLoc(); in ParseDirectiveCGProfile() 33 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile() 38 SMLoc ToLoc = getLexer().getLoc(); in ParseDirectiveCGProfile() 42 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile() 51 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveCGProfile()
|
| H A D | WasmAsmParser.cpp | 51 Lexer = &Parser->getLexer(); in Initialize() 262 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent() 266 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent() 285 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 292 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute() 294 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
|
| H A D | COFFMasmParser.cpp | 55 while (!getLexer().is(AsmToken::EndOfStatement)) { in IgnoreDirective() 237 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch() 249 if (!getLexer().is(AsmToken::Identifier)) in ParseDirectiveSegment() 278 if (!getLexer().is(AsmToken::Identifier)) in ParseDirectiveSegmentEnd() 315 if (getLexer().is(AsmToken::Identifier)) { in ParseDirectiveProc() 335 if (getLexer().is(AsmToken::Identifier) && in ParseDirectiveProc()
|
| H A D | MCAsmParser.cpp | 39 return getLexer().getTok(); in getTok() 96 return Error(getLexer().getLoc(), Msg, Range); in TokError() 111 getLexer().Lex(); in Error()
|
| H A D | AsmParser.cpp | 4010 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 4016 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 4156 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData() 4514 if (getLexer().is(AsmToken::Comma)) in parseDirectiveMacro() 4589 if (getLexer().is(AsmToken::Eof)) in parseDirectiveMacro() 4803 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode() 4888 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB() 5007 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() 5019 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm() 5070 SMLoc Loc = getLexer().getLoc(); in parseDirectiveAbort() [all …]
|
| H A D | MasmParser.cpp | 3836 SignLoc = getLexer().getLoc(); in parseRealValue() 3840 SignLoc = getLexer().getLoc(); in parseRealValue() 4409 return Error(getLexer().getLoc(), in emitStructInitializer() 5301 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 5307 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 5447 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData() 5861 if (getLexer().is(AsmToken::Eof)) in parseDirectiveMacro() 6041 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() 6054 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm() 7154 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/MC/SystemZ/ |
| H A D | SystemZAsmLexerTest.cpp | 144 Parser->getLexer().Lex(); in TEST_F() 158 Parser->getLexer().Lex(); in TEST_F() 178 Parser->getLexer().Lex(); in TEST_F() 192 Parser->getLexer().Lex(); in TEST_F() 209 Parser->getLexer().Lex(); in TEST_F() 224 Parser->getLexer().Lex(); in TEST_F() 242 Parser->getLexer().Lex(); in TEST_F() 257 Parser->getLexer().Lex(); in TEST_F() 288 Parser->getLexer().Lex(); in TEST_F() 302 Parser->getLexer().Lex(); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 69 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon37a612fe0111::MSP430AsmParser 366 getLexer().Lex(); // Eat '$' in parseJccInstruction() 379 getLexer().getLoc())); in parseJccInstruction() 382 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction() 414 getLexer().Lex(); // Eat ',' in ParseInstruction() 420 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 454 switch (getLexer().getKind()) { in ParseOperand() 495 getLexer().Lex(); // Eat '&' in ParseOperand() 508 getLexer().Lex(); // Eat '@' in ParseOperand() 515 getLexer().Lex(); // Eat '+' in ParseOperand() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 358 getLexer().Lex(); in parseOperandAsOperator() 366 switch (getLexer().getKind()) { in parseOperandAsOperator() 369 if (getLexer().peekTok().is(AsmToken::Integer)) in parseOperandAsOperator() 388 getLexer().Lex(); in parseOperandAsOperator() 404 getLexer().Lex(); in parseOperandAsOperator() 420 switch (getLexer().getKind()) { in parseRegister() 430 getLexer().Lex(); in parseRegister() 437 switch (getLexer().getKind()) { in parseImmediate() 487 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 492 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 1030 switch (getLexer().getKind()) { in parseRegister() 1040 getLexer().Lex(); in parseRegister() 1056 getLexer().UnLex(Tok); in parseBaseRegImm() 1107 switch (getLexer().getKind()) { in parseImmediate() 1223 switch (getLexer().getKind()) { in parseCSKYSymbol() 1258 getLexer().Lex(); // Eat '['. in parseDataSymbol() 1344 getLexer().Lex(); // Eat ']'. in parseDataSymbol() 1360 getLexer().Lex(); // Eat '['. in parseConstpoolSymbol() 1437 getLexer().Lex(); // Eat ']'. in parseConstpoolSymbol() 1502 getLexer().Lex(); // eat '-' in parseRegSeq() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 672 StartLoc = getLexer().getLoc(); in tryParseRegister() 674 EndLoc = getLexer().getLoc(); in tryParseRegister() 695 SMLoc Start = getLexer().getLoc(); in parseImm() 710 SMLoc Start = getLexer().getLoc(); in parseMemOp() 809 SMLoc End = getLexer().getLoc(); in parseMemOp() 836 SMLoc Start = getLexer().getLoc(); in parseRegOrMoveMask() 856 getLexer().Lex(); in parseRegOrMoveMask() 883 Error(getLexer().getLoc(), in parseRegOrMoveMask() 890 Error(getLexer().getLoc(), in parseRegOrMoveMask() 907 getLexer().Lex(); in parseRegOrMoveMask() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 104 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anonc58108e20111::AVRAsmParser 381 if (Parser.getLexer().peekTok().is(AsmToken::Colon)) { in parseRegister() 392 getLexer().UnLex(std::move(ColonTok)); in parseRegister() 393 getLexer().UnLex(std::move(HighTok)); in parseRegister() 452 size_t ReadCount = Parser.getLexer().peekTokens(tokens); in tryParseRelocExpression() 530 switch (getLexer().getKind()) { in parseOperand() 549 switch (getLexer().peekTok().getKind()) { in parseOperand() 625 if (getLexer().is(AsmToken::Comma)) { in eatComma() 638 while (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseInstruction() 651 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 1352 switch (getLexer().getKind()) { in parseRegister() 1355 getLexer().UnLex(LParen); in parseRegister() 1364 getLexer().UnLex(LParen); in parseRegister() 1371 getLexer().Lex(); in parseRegister() 1626 getLexer().Lex(); in parseBareSymbol() 1630 getLexer().Lex(); in parseBareSymbol() 1717 getLexer().Lex(); in parseVTypeI() 1724 getLexer().Lex(); in parseVTypeI() 1805 getLexer().Lex(); in parseMaskReg() 1825 getLexer().Lex(); in parseGPRAsFPR() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParserExtension.h | 56 MCAsmLexer &getLexer() { return getParser().getLexer(); } in getLexer() function 57 const MCAsmLexer &getLexer() const { in getLexer() function 58 return const_cast<MCAsmParserExtension *>(this)->getLexer(); in getLexer()
|
| H A D | MCAsmParser.h | 161 virtual MCAsmLexer &getLexer() = 0; 162 const MCAsmLexer &getLexer() const { in getLexer() function 163 return const_cast<MCAsmParser*>(this)->getLexer(); in getLexer()
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 719 getLexer().UnLex(Tok); in tryParseRegister() 741 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 746 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 750 while (getLexer().is(AsmToken::Comma) || getLexer().is(AsmToken::Plus)) { in ParseInstruction() 758 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 764 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 811 AsmToken Tok = getLexer().getTok(); in parseMEMOperand() 936 getLexer().UnLex(Tok); in parseTailRelocSym() 1007 switch (getLexer().getKind()) { in parseCallTarget() 1041 if (getLexer().is(AsmToken::LBrac)) { in parseOperand() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1483 MCAsmLexer &Lexer = getLexer(); in ParseRegister() 1895 return Error(getLexer().getErrLoc(), getLexer().getErr()); in ParseIntelExpression() 2232 getLexer().Lex(); in ParseIntelInlineAsmIdentifier() 2527 if (getLexer().is(AsmToken::LCurly)) in parseIntelOperand() 2679 switch (getLexer().getKind()) { in parseATTOperand() 2968 SMLoc BaseLoc = getLexer().getLoc(); in ParseMemOperand() 2973 if (getLexer().isNot(AsmToken::Comma) && getLexer().isNot(AsmToken::RParen)) { in ParseMemOperand() 3398 getLexer().Lex(); in ParseInstruction() 3428 if (getLexer().is(AsmToken::Star)) in ParseInstruction() 3449 (getLexer().is(AsmToken::LCurly) || getLexer().is(AsmToken::RCurly)); in ParseInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 849 getLexer().UnLex(Tok); in tryParseRegister() 1211 switch (getLexer().getKind()) { in parseMEMOperand() 1234 switch (getLexer().getKind()) { in parseMEMOperand() 1251 switch (getLexer().getKind()) { in parseMEMOperand() 1407 getLexer().UnLex(Tok1); in parseMImmOperand() 1413 getLexer().UnLex(Tok2); in parseMImmOperand() 1414 getLexer().UnLex(Tok1); in parseMImmOperand() 1422 getLexer().UnLex(Tok3); in parseMImmOperand() 1423 getLexer().UnLex(Tok2); in parseMImmOperand() 1424 getLexer().UnLex(Tok1); in parseMImmOperand() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 6351 switch (getLexer().getKind()) { in parseOperand() 6621 getLexer().getLoc(), *this)); in matchAnyRegisterNameWithoutDollar() 6744 SMLoc S = getLexer().getLoc(); in parseJumpTarget() 6802 SMLoc E = getLexer().getLoc(); in parseRegisterList() 6976 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 6986 SMLoc Loc = getLexer().getLoc(); in reportParseError() 7366 SMLoc Loc = getLexer().getLoc(); in parseSetPopDirective() 7620 SMLoc Loc = getLexer().getLoc(); in eatComma() 8222 MCAsmLexer &Lexer = getLexer(); in parseDirectiveModule() 8463 MCAsmLexer &Lexer = getLexer(); in parseDirectiveModuleFP() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 772 getLexer().UnLex(PercentTok); in parseRegister() 780 getLexer().UnLex(PercentTok); in parseRegister() 788 getLexer().UnLex(PercentTok); in parseRegister() 805 getLexer().UnLex(PercentTok); in parseRegister() 1034 if (getLexer().is(AsmToken::LParen)) { in parseAddress() 1072 if (getLexer().is(AsmToken::Comma)) { in parseAddress() 1076 if (getLexer().is(AsmToken::Integer)) { in parseAddress() 1086 if (getLexer().isNot(AsmToken::RParen)) in parseAddress() 1265 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveInsn() 1418 while (getLexer().is(AsmToken::Comma)) { in ParseInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/AsmParser/ |
| H A D | LoongArchAsmParser.cpp | 294 if (getLexer().getTok().isNot(AsmToken::Dollar)) in parseRegister() 298 getLexer().Lex(); in parseRegister() 299 if (getLexer().getKind() != AsmToken::Identifier) in parseRegister() 302 StringRef Name = getLexer().getTok().getIdentifier(); in parseRegister() 310 getLexer().Lex(); in parseRegister() 365 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 109 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anond16811e40111::HexagonAsmParser 595 MCAsmLexer &Lexer = getLexer(); in eatToEndOfPacket() 741 SMLoc SizeLoc = getLexer().getLoc(); in ParseDirectiveComm() 747 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveComm() 864 MCAsmLexer &Lexer = getLexer(); in parseOperand() 919 MCAsmLexer &Lexer = getLexer(); in isLabel() 965 MCAsmLexer &Lexer = getLexer(); in tryParseRegister() 966 StartLoc = getLexer().getLoc(); in tryParseRegister() 1046 MCAsmLexer &Lexer = getLexer(); in parseExpression() 1096 MCAsmLexer &Lexer = getLexer(); in parseInstruction() [all …]
|