/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | ELFAsmParser.cpp | 228 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize() 247 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() 250 if (getLexer().is(AsmToken::String)) { in ParseSectionName() 257 SMLoc PrevLoc = getLexer().getLoc(); in ParseSectionName() 417 MCAsmLexer &L = getLexer(); in maybeParseSectionType() 450 MCAsmLexer &L = getLexer(); in parseGroup() 475 MCAsmLexer &L = getLexer(); in parseLinkedToSym() 496 MCAsmLexer &L = getLexer(); in maybeParseUniqueID() 606 MCAsmLexer &L = getLexer(); in ParseSectionArguments() 775 if (getLexer().is(AsmToken::Comma)) in ParseDirectiveType() [all …]
|
H A D | COFFAsmParser.cpp | 345 if (!getLexer().is(AsmToken::Identifier) && !getLexer().is(AsmToken::String)) in ParseSectionName() 383 if (getLexer().is(AsmToken::Comma)) { in parseSectionArguments() 398 if (getLexer().is(AsmToken::Comma)) { in parseSectionArguments() 502 if (getLexer().is(AsmToken::Plus)) { in ParseDirectiveSecRel32() 503 OffsetLoc = getLexer().getLoc(); in ParseDirectiveSecRel32() 532 if (getLexer().is(AsmToken::Plus) || getLexer().is(AsmToken::Minus)) { in ParseDirectiveRVA() 533 OffsetLoc = getLexer().getLoc(); in ParseDirectiveRVA() 692 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler() 698 if (getLexer().is(AsmToken::Comma)) { in ParseSEHDirectiveHandler() 740 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() 828 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveTBSS() 841 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveTBSS() 847 if (getLexer().is(AsmToken::Comma)) { in parseDirectiveTBSS() 913 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveZerofill() 926 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveZerofill() 932 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 | 53 Lexer = &Parser->getLexer(); in Initialize() 269 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveIdent() 273 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveIdent() 292 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 299 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute() 301 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
|
H A D | COFFMasmParser.cpp | 58 while (!getLexer().is(AsmToken::EndOfStatement)) { in IgnoreDirective() 230 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch() 244 if (!getLexer().is(AsmToken::Identifier)) in ParseDirectiveSegment() 271 while (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSegment() 380 if (!getLexer().is(AsmToken::Identifier)) in ParseDirectiveSegmentEnd() 454 if (getLexer().is(AsmToken::Identifier)) { in ParseDirectiveProc() 474 if (getLexer().is(AsmToken::Identifier) && in ParseDirectiveProc()
|
H A D | MCAsmParser.cpp | 41 return getLexer().getTok(); in getTok() 98 return Error(getLexer().getLoc(), Msg, Range); in TokError() 113 getLexer().Lex(); in Error()
|
H A D | AsmParser.cpp | 4019 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 4025 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 4165 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData() 4529 if (getLexer().is(AsmToken::Comma)) in parseDirectiveMacro() 4604 if (getLexer().is(AsmToken::Eof)) in parseDirectiveMacro() 4818 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode() 4901 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB() 5021 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() 5033 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm() 5085 SMLoc Loc = getLexer().getLoc(); in parseDirectiveAbort() [all …]
|
H A D | MasmParser.cpp | 3819 SignLoc = getLexer().getLoc(); in parseRealValue() 3823 SignLoc = getLexer().getLoc(); in parseRealValue() 4391 return Error(getLexer().getLoc(), in emitStructInitializer() 5283 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 5289 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange() 5429 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData() 5843 if (getLexer().is(AsmToken::Eof)) in parseDirectiveMacro() 6023 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() 6036 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm() 7141 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
H A D | BPFAsmParser.cpp | 380 getLexer().Lex(); in parseOperandAsOperator() 388 switch (getLexer().getKind()) { in parseOperandAsOperator() 410 getLexer().Lex(); in parseOperandAsOperator() 426 getLexer().Lex(); in parseOperandAsOperator() 442 switch (getLexer().getKind()) { in parseRegister() 452 getLexer().Lex(); in parseRegister() 459 switch (getLexer().getKind()) { in parseImmediate() 507 if (getLexer().is(AsmToken::Comma)) { in ParseInstruction() 508 getLexer().Lex(); in ParseInstruction() 514 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/ |
H A D | M68kAsmParser.cpp | 717 getLexer().UnLex(PercentToken); in parseRegister() 725 getLexer().UnLex(PercentToken); in parseRegister() 745 StartLoc = getLexer().getLoc(); in tryParseRegister() 747 EndLoc = getLexer().getLoc(); in tryParseRegister() 765 if (getLexer().isNot(AsmToken::Hash)) in parseImm() 767 SMLoc Start = getLexer().getLoc(); in parseImm() 781 SMLoc Start = getLexer().getLoc(); in parseMemOp() 868 SMLoc End = getLexer().getLoc(); in parseMemOp() 892 SMLoc Start = getLexer().getLoc(); in parseRegOrMoveMask() 964 SMLoc Start = getLexer().getLoc(); in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
H A D | XtensaAsmParser.cpp | 438 SMLoc S = getLexer().getLoc(); in parsePCRelTarget() 480 size_t ReadCount = getLexer().peekTokens(Buf); in parseRegister() 491 switch (getLexer().getKind()) { in parseRegister() 503 RegName = getLexer().getTok().getIdentifier(); in parseRegister() 512 getLexer().UnLex(Buf[0]); in parseRegister() 519 getLexer().Lex(); in parseRegister() 535 switch (getLexer().getKind()) { in parseImmediate() 635 SMLoc Loc = getLexer().getLoc(); in ParseInstructionWithSR() 646 SMLoc Loc = getLexer().getLoc(); in ParseInstructionWithSR() 667 if (getLexer().is(AsmToken::EndOfStatement)) in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
H A D | MSP430AsmParser.cpp | 69 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anonf2ea55960111::MSP430AsmParser 319 getLexer().Lex(); // eat register token in tryParseRegister() 366 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction() 376 getLexer().getLoc())); in parseJccInstruction() 379 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction() 402 if (getLexer().is(AsmToken::EndOfStatement)) in ParseInstruction() 414 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 447 switch (getLexer().getKind()) { in ParseOperand() 486 getLexer().Lex(); // Eat '&' in ParseOperand() 499 getLexer().Lex(); // Eat '@' in ParseOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 1032 switch (getLexer().getKind()) { in parseRegister() 1042 getLexer().Lex(); in parseRegister() 1058 getLexer().UnLex(Tok); in parseBaseRegImm() 1100 switch (getLexer().getKind()) { in parseImmediate() 1211 switch (getLexer().getKind()) { in parseCSKYSymbol() 1226 getLexer().Lex(); // eat + or - in parseCSKYSymbol() 1284 switch (getLexer().getKind()) { in parseDataSymbol() 1289 getLexer().Lex(); // Eat ']'. in parseDataSymbol() 1304 getLexer().Lex(); // eat + or - in parseDataSymbol() 1359 switch (getLexer().getKind()) { in parseConstpoolSymbol() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 105 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon57cd397a0111::AVRAsmParser 382 if (Parser.getLexer().peekTok().is(AsmToken::Colon)) { in parseRegister() 393 getLexer().UnLex(std::move(ColonTok)); in parseRegister() 394 getLexer().UnLex(std::move(HighTok)); in parseRegister() 459 if (Parser.getLexer().peekTokens(tokens) == 2) in tryParseRelocExpression() 520 switch (getLexer().getKind()) { in parseOperand() 538 switch (getLexer().peekTok().getKind()) { in parseOperand() 613 if (getLexer().is(AsmToken::Comma)) { in eatComma() 626 while (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseInstruction() 637 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/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 | 160 virtual MCAsmLexer &getLexer() = 0; 161 const MCAsmLexer &getLexer() const { in getLexer() function 162 return const_cast<MCAsmParser*>(this)->getLexer(); in getLexer()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 1707 getLexer().Lex(); in parseRegister() 2045 getLexer().Lex(); in parseBareSymbol() 2049 getLexer().Lex(); in parseBareSymbol() 2194 getLexer().Lex(); in parseVTypeI() 2243 getLexer().Lex(); in parseMaskReg() 2259 getLexer().Lex(); in parseGPRAsFPR() 2297 getLexer().Lex(); in parseGPRPair() 2467 getLexer().Lex(); in parseRegReg() 2479 getLexer().Lex(); in parseRegReg() 2507 getLexer().Lex(); in parseReglist() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 825 getLexer().UnLex(Tok); in tryParseRegister() 847 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 852 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 856 while (getLexer().is(AsmToken::Comma) || getLexer().is(AsmToken::Plus)) { in ParseInstruction() 864 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 870 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 912 AsmToken Tok = getLexer().getTok(); in parseMEMOperand() 1025 getLexer().UnLex(Tok); in parseTailRelocSym() 1124 switch (getLexer().getKind()) { in parseCallTarget() 1158 if (getLexer().is(AsmToken::LBrac)) { in parseOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 1490 MCAsmLexer &Lexer = getLexer(); in ParseRegister() 1897 return Error(getLexer().getErrLoc(), getLexer().getErr()); in ParseIntelExpression() 2234 getLexer().Lex(); in ParseIntelInlineAsmIdentifier() 2529 if (getLexer().is(AsmToken::LCurly)) in parseIntelOperand() 2689 switch (getLexer().getKind()) { in parseATTOperand() 2978 SMLoc BaseLoc = getLexer().getLoc(); in ParseMemOperand() 2983 if (getLexer().isNot(AsmToken::Comma) && getLexer().isNot(AsmToken::RParen)) { in ParseMemOperand() 3440 getLexer().Lex(); in ParseInstruction() 3470 if (getLexer().is(AsmToken::Star)) in ParseInstruction() 3491 (getLexer().is(AsmToken::LCurly) || getLexer().is(AsmToken::RCurly)); in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
H A D | VEAsmParser.cpp | 849 getLexer().UnLex(Tok); in tryParseRegister() 1215 switch (getLexer().getKind()) { in parseMEMOperand() 1238 switch (getLexer().getKind()) { in parseMEMOperand() 1255 switch (getLexer().getKind()) { in parseMEMOperand() 1411 getLexer().UnLex(Tok1); in parseMImmOperand() 1417 getLexer().UnLex(Tok2); in parseMImmOperand() 1418 getLexer().UnLex(Tok1); in parseMImmOperand() 1426 getLexer().UnLex(Tok3); in parseMImmOperand() 1427 getLexer().UnLex(Tok2); in parseMImmOperand() 1428 getLexer().UnLex(Tok1); in parseMImmOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 6424 switch (getLexer().getKind()) { in parseOperand() 6686 getLexer().getLoc(), *this)); in matchAnyRegisterNameWithoutDollar() 6806 SMLoc S = getLexer().getLoc(); in parseJumpTarget() 6862 SMLoc E = getLexer().getLoc(); in parseRegisterList() 7040 SMLoc Loc = getLexer().getLoc(); in ParseInstruction() 7050 SMLoc Loc = getLexer().getLoc(); in reportParseError() 7430 SMLoc Loc = getLexer().getLoc(); in parseSetPopDirective() 7684 SMLoc Loc = getLexer().getLoc(); in eatComma() 8286 MCAsmLexer &Lexer = getLexer(); in parseDirectiveModule() 8527 MCAsmLexer &Lexer = getLexer(); in parseDirectiveModuleFP() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 771 getLexer().UnLex(PercentTok); in parseRegister() 779 getLexer().UnLex(PercentTok); in parseRegister() 787 getLexer().UnLex(PercentTok); in parseRegister() 804 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() 1246 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveInsn() 1412 while (getLexer().is(AsmToken::Comma)) { in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 109 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon6ec75a7c0111::HexagonAsmParser 603 MCAsmLexer &Lexer = getLexer(); in eatToEndOfPacket() 749 SMLoc SizeLoc = getLexer().getLoc(); in ParseDirectiveComm() 755 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveComm() 872 MCAsmLexer &Lexer = getLexer(); in parseOperand() 927 MCAsmLexer &Lexer = getLexer(); in isLabel() 972 MCAsmLexer &Lexer = getLexer(); in tryParseRegister() 973 StartLoc = getLexer().getLoc(); in tryParseRegister() 1053 MCAsmLexer &Lexer = getLexer(); in parseExpression() 1103 MCAsmLexer &Lexer = getLexer(); in parseInstruction() [all …]
|
/freebsd/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()
|