Home
last modified time | relevance | path

Searched refs:TokKind (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.h32 enum TokKind { enum
196 tgtok::TokKind CurCode = tgtok::TokKind::Eof;
214 tgtok::TokKind Lex() { in Lex()
253 tgtok::TokKind LexIdentifier();
255 tgtok::TokKind LexString();
256 tgtok::TokKind LexVarName();
257 tgtok::TokKind LexNumber();
258 tgtok::TokKind LexBracket();
259 tgtok::TokKind LexExclaim();
294 tgtok::TokKind Kind;
[all …]
H A DTGLexer.cpp36 tgtok::TokKind Kind;
271 tgtok::TokKind TGLexer::LexString() { in LexString()
323 tgtok::TokKind TGLexer::LexVarName() { in LexVarName()
337 tgtok::TokKind TGLexer::LexIdentifier() { in LexIdentifier()
348 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) in LexIdentifier()
395 tgtok::TokKind Tok = LexToken(); in LexInclude()
465 tgtok::TokKind TGLexer::LexNumber() { in LexNumber()
526 tgtok::TokKind TGLexer::LexBracket() { in LexBracket()
549 tgtok::TokKind TGLexer::LexExclaim() { in LexExclaim()
558 tgtok::TokKind Kind = in LexExclaim()
[all …]
H A DTGParser.h259 bool consume(tgtok::TokKind K);
H A DTGParser.cpp656 bool TGParser::consume(tgtok::TokKind K) { in consume()
1444 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()
1865 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()
2385 tgtok::TokKind Operation = Lex.getCode(); in ParseOperationForEachFilter()
2615 tgtok::TokKind Code = Lex.getCode(); in ParseSimpleValue()
2669 tgtok::TokKind Next = Lex.Lex(); in ParseSimpleValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp2033 AsmToken::TokenKind TokKind = Lexer.getKind(); in parseBinOpRHS() local
2035 TokKind = StringSwitch<AsmToken::TokenKind>(Lexer.getTok().getString()) in parseBinOpRHS()
2048 .Default(TokKind); in parseBinOpRHS()
2051 unsigned TokPrec = getBinOpPrecedence(TokKind, Kind); in parseBinOpRHS()