| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 229 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize() 248 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() 251 if (getLexer().is(AsmToken::String)) { in ParseSectionName() 401 MCAsmLexer &L = getLexer(); in maybeParseSectionType() 434 MCAsmLexer &L = getLexer(); in parseGroup() 459 MCAsmLexer &L = getLexer(); in parseLinkedToSym() 480 MCAsmLexer &L = getLexer(); in maybeParseUniqueID() 538 if (getLexer().is(AsmToken::Comma)) { in ParseSectionArguments() 573 MCAsmLexer &L = getLexer(); in ParseSectionArguments() 740 if (getLexer().is(AsmToken::Comma)) in ParseDirectiveType() [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 | COFFAsmParser.cpp | 332 if (!getLexer().is(AsmToken::Identifier) && !getLexer().is(AsmToken::String)) in ParseSectionName() 365 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveSection() 380 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveSection() 467 if (getLexer().is(AsmToken::Plus)) { in ParseDirectiveSecRel32() 468 OffsetLoc = getLexer().getLoc(); in ParseDirectiveSecRel32() 497 if (getLexer().is(AsmToken::Plus) || getLexer().is(AsmToken::Minus)) { in ParseDirectiveRVA() 498 OffsetLoc = getLexer().getLoc(); in ParseDirectiveRVA() 657 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler() 663 if (getLexer().is(AsmToken::Comma)) { in ParseSEHDirectiveHandler() 705 if (getLexer().isNot(AsmToken::At)) in ParseAtUnwindOrAtExcept() [all …]
|
| H A D | MCAsmParserExtension.cpp | 27 SMLoc FromLoc = getLexer().getLoc(); in ParseDirectiveCGProfile() 31 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile() 36 SMLoc ToLoc = getLexer().getLoc(); in ParseDirectiveCGProfile() 40 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveCGProfile() 49 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveCGProfile()
|
| H A D | WasmAsmParser.cpp | 51 Lexer = &Parser->getLexer(); in Initialize() 255 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent() 259 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent() 278 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 285 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute() 287 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
|
| H A D | COFFMasmParser.cpp | 62 while (!getLexer().is(AsmToken::EndOfStatement)) { in IgnoreDirective() 244 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch() 256 if (!getLexer().is(AsmToken::Identifier)) in ParseDirectiveSegment() 285 if (!getLexer().is(AsmToken::Identifier)) in ParseDirectiveSegmentEnd() 322 if (getLexer().is(AsmToken::Identifier)) { in ParseDirectiveProc() 342 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 | 3979 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 3985 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 4125 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData() 4483 if (getLexer().is(AsmToken::Comma)) in parseDirectiveMacro() 4558 if (getLexer().is(AsmToken::Eof)) in parseDirectiveMacro() 4772 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode() 4857 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB() 4976 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() 4988 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm() 5047 SMLoc Loc = getLexer().getLoc(); in parseDirectiveAbort() [all …]
|
| H A D | MasmParser.cpp | 3873 SignLoc = getLexer().getLoc(); in parseRealValue() 3877 SignLoc = getLexer().getLoc(); in parseRealValue() 4455 return Error(getLexer().getLoc(), in emitStructInitializer() 5355 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 5361 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 5501 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData() 5916 if (getLexer().is(AsmToken::Eof)) in parseDirectiveMacro() 6063 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() 6076 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm() 7189 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() [all …]
|
| H A D | XCOFFAsmParser.cpp | 42 Lexer = &Parser->getLexer(); in Initialize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 68 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon9c9a31020111::MSP430AsmParser 364 getLexer().Lex(); // Eat '$' in parseJccInstruction() 377 getLexer().getLoc())); in parseJccInstruction() 380 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction() 412 getLexer().Lex(); // Eat ',' in ParseInstruction() 418 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 452 switch (getLexer().getKind()) { in ParseOperand() 493 getLexer().Lex(); // Eat '&' in ParseOperand() 506 getLexer().Lex(); // Eat '@' in ParseOperand() 513 getLexer().Lex(); // Eat '+' in ParseOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 357 getLexer().Lex(); in parseOperandAsOperator() 365 switch (getLexer().getKind()) { in parseOperandAsOperator() 368 if (getLexer().peekTok().is(AsmToken::Integer)) in parseOperandAsOperator() 387 getLexer().Lex(); in parseOperandAsOperator() 403 getLexer().Lex(); in parseOperandAsOperator() 419 switch (getLexer().getKind()) { in parseRegister() 429 getLexer().Lex(); in parseRegister() 436 switch (getLexer().getKind()) { in parseImmediate() 486 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 491 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 414 switch (getLexer().getKind()) { in parseRegister() 424 getLexer().Lex(); in parseRegister() 433 assert(getLexer().is(AsmToken::LParen)); in parseBaseRegImm() 440 getLexer().UnLex(Tok); in parseBaseRegImm() 445 if (getLexer().isNot(AsmToken::Comma)) { in parseBaseRegImm() 485 switch (getLexer().getKind()) { in parseImmediate() 524 if (getLexer().is(AsmToken::LParen)) in parseOperand() 578 getLexer().Lex(); // Eat '['. in parseConstpoolSymbol() 590 getLexer().Lex(); // Eat ']'. in parseConstpoolSymbol() 615 getLexer().Lex(); in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 547 getLexer().UnLex(PercentToken); in parseRegister() 555 getLexer().UnLex(PercentToken); in parseRegister() 577 StartLoc = getLexer().getLoc(); in tryParseRegister() 579 EndLoc = getLexer().getLoc(); in tryParseRegister() 597 if (getLexer().isNot(AsmToken::Hash)) { in parseImm() 600 SMLoc Start = getLexer().getLoc(); in parseImm() 615 SMLoc Start = getLexer().getLoc(); in parseMemOp() 634 if (getLexer().is(AsmToken::Minus)) { in parseMemOp() 721 SMLoc End = getLexer().getLoc(); in parseMemOp() 754 SMLoc Start = getLexer().getLoc(); in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 100 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anonc447f3e60111::AVRAsmParser 368 if (Parser.getLexer().peekTok().is(AsmToken::Colon)) { in parseRegister() 379 getLexer().UnLex(std::move(ColonTok)); in parseRegister() 380 getLexer().UnLex(std::move(HighTok)); in parseRegister() 434 size_t ReadCount = Parser.getLexer().peekTokens(tokens); in tryParseRelocExpression() 513 switch (getLexer().getKind()) { in parseOperand() 532 switch (getLexer().peekTok().getKind()) { in parseOperand() 609 if (getLexer().is(AsmToken::Comma)) { in eatComma() 622 while (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseInstruction() 634 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParserExtension.h | 57 MCAsmLexer &getLexer() { return getParser().getLexer(); } in getLexer() function 58 const MCAsmLexer &getLexer() const { in getLexer() function 59 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 1241 switch (getLexer().getKind()) { in parseRegister() 1244 getLexer().UnLex(LParen); in parseRegister() 1253 getLexer().UnLex(LParen); in parseRegister() 1260 getLexer().Lex(); in parseRegister() 1277 switch (getLexer().getKind()) { in parseCSRSystemRegister() 1352 switch (getLexer().getKind()) { in parseImmediate() 1447 switch (getLexer().getKind()) { in parseBareSymbol() 1541 getLexer().Lex(); in parseVTypeI() 1548 getLexer().Lex(); in parseVTypeI() 1631 getLexer().Lex(); in parseMaskReg() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1466 MCAsmLexer &Lexer = getLexer(); in ParseRegister() 1863 return Error(getLexer().getErrLoc(), getLexer().getErr()); in ParseIntelExpression() 2198 getLexer().Lex(); in ParseIntelInlineAsmIdentifier() 2493 if (getLexer().is(AsmToken::LCurly)) in ParseIntelOperand() 2619 switch (getLexer().getKind()) { in ParseATTOperand() 2907 SMLoc BaseLoc = getLexer().getLoc(); in ParseMemOperand() 2912 if (getLexer().isNot(AsmToken::Comma) && getLexer().isNot(AsmToken::RParen)) { in ParseMemOperand() 3331 getLexer().Lex(); in ParseInstruction() 3361 if (getLexer().is(AsmToken::Star)) in ParseInstruction() 3382 (getLexer().is(AsmToken::LCurly) || getLexer().is(AsmToken::RCurly)); in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 705 getLexer().UnLex(Tok); in tryParseRegister() 727 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 732 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 736 while (getLexer().is(AsmToken::Comma) || getLexer().is(AsmToken::Plus)) { in ParseInstruction() 744 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 750 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 797 AsmToken Tok = getLexer().getTok(); in parseMEMOperand() 902 switch (getLexer().getKind()) { in parseCallTarget() 936 if (getLexer().is(AsmToken::LBrac)) { in parseOperand() 963 if (!getLexer().is(AsmToken::RBrac)) in parseOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 846 getLexer().UnLex(Tok); in tryParseRegister() 1175 switch (getLexer().getKind()) { in parseMEMOperand() 1198 switch (getLexer().getKind()) { in parseMEMOperand() 1215 switch (getLexer().getKind()) { in parseMEMOperand() 1371 getLexer().UnLex(Tok1); in parseMImmOperand() 1377 getLexer().UnLex(Tok2); in parseMImmOperand() 1378 getLexer().UnLex(Tok1); in parseMImmOperand() 1386 getLexer().UnLex(Tok3); in parseMImmOperand() 1387 getLexer().UnLex(Tok2); in parseMImmOperand() 1388 getLexer().UnLex(Tok1); in parseMImmOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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 …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 760 getLexer().UnLex(PercentTok); in parseRegister() 768 getLexer().UnLex(PercentTok); in parseRegister() 776 getLexer().UnLex(PercentTok); in parseRegister() 793 getLexer().UnLex(PercentTok); in parseRegister() 1022 if (getLexer().is(AsmToken::LParen)) { in parseAddress() 1060 if (getLexer().is(AsmToken::Comma)) { in parseAddress() 1064 if (getLexer().is(AsmToken::Integer)) { in parseAddress() 1074 if (getLexer().isNot(AsmToken::RParen)) in parseAddress() 1251 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveInsn() 1382 while (getLexer().is(AsmToken::Comma)) { in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 109 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon43dbc0e80111::HexagonAsmParser 606 MCAsmLexer &Lexer = getLexer(); in eatToEndOfPacket() 752 SMLoc SizeLoc = getLexer().getLoc(); in ParseDirectiveComm() 758 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveComm() 875 MCAsmLexer &Lexer = getLexer(); in parseOperand() 930 MCAsmLexer &Lexer = getLexer(); in isLabel() 976 MCAsmLexer &Lexer = getLexer(); in tryParseRegister() 977 StartLoc = getLexer().getLoc(); in tryParseRegister() 1057 MCAsmLexer &Lexer = getLexer(); in parseExpression() 1107 MCAsmLexer &Lexer = getLexer(); in parseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDKernelCodeTUtils.cpp | 119 if (MCParser.getLexer().isNot(AsmToken::Equal)) { in expectAbsExpression() 123 MCParser.getLexer().Lex(); in expectAbsExpression()
|