Searched refs:Lex (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-11.0-release/contrib/llvm/lib/TableGen/
H A DTGParser.cpp381 switch (Lex.getCode()) {
416 if (Lex.getCode() != tgtok::Id) {
421 Record *Result = Records.getClass(Lex.getCurStrVal());
423 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
425 Lex.Lex();
435 if (Lex.getCode() != tgtok::Id) {
440 MultiClass *Result = MultiClasses[Lex.getCurStrVal()].get();
442 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
444 Lex
[all...]
H A DTGParser.h56 TGLexer Lex; member in class:llvm::TGParser
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
99 return Error(Lex.getLoc(), Msg);
102 return Lex.getDependencies();
/freebsd-11.0-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp46 Lex.Lex();
55 Lex.Lex();
60 if (Lex.getKind() != lltok::Eof)
61 return Error(Lex.getLoc(), "expected end of string");
213 switch (Lex.getKind()) {
280 assert(Lex.getKind() == lltok::kw_module);
281 Lex.Lex();
[all...]
H A DLLParser.h92 LLLexer Lex; member in class:llvm::LLParser
145 : Context(M->getContext()), Lex(F, SM, Err, M->getContext()), M(M),
156 return Lex.Error(L, Msg);
159 return Error(Lex.getLoc(), Msg);
179 if (Lex.getKind() != T) return false;
180 Lex.Lex();
187 switch (Lex.getKind()) {
188 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continu
[all...]
/freebsd-11.0-release/contrib/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp285 Lex();
289 Lex();
306 Lex();
319 Lex();
348 Lex();
354 Lex();
364 Lex();
377 Lex();
406 Lex();
418 Lex();
[all...]
H A DELFAsmParser.cpp176 Lex();
180 Lex();
206 Lex();
227 Lex();
237 Lex(); // Consume the "-".
240 Lex();
243 Lex();
310 Lex(); // Eat the #.
327 Lex(); // Eat the flag.
331 Lex(); // Ea
[all...]
H A DAsmParser.cpp221 const AsmToken &Lex() override;
314 /// current token is not set; clients should ensure Lex() is called
608 const AsmToken &AsmParser::Lex() { function in class:AsmParser
609 const AsmToken *tok = &Lexer.Lex();
617 tok = &Lexer.Lex();
633 Lex();
719 Lex();
723 Lex();
730 Lex();
741 Lex();
[all...]
H A DDarwinAsmParser.cpp389 Lex();
423 Lex();
432 Lex();
468 Lex();
481 Lex();
486 Lex();
510 Lex();
516 Lex();
535 Lex();
544 Lex();
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPTHLexer.h17 #include "clang/Lex/PreprocessorLexer.h"
69 /// Lex - Return the next token.
70 bool Lex(Token &Tok);
90 /// IndirectLex - An indirect call to 'Lex' that can be invoked via
92 void IndirectLex(Token &Result) override { Lex(Result); }
H A DTokenLexer.h1 //===--- TokenLexer.h - Lex from a token buffer -----------------*- C++ -*-===//
58 /// CurToken - This is the next token that Lex will return.
146 /// Lex - Lex and return a token from this macro stream.
147 bool Lex(Token &Tok);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessorLexer.cpp14 #include "clang/Lex/PreprocessorLexer.h"
16 #include "clang/Lex/LexDiagnostic.h"
17 #include "clang/Lex/Preprocessor.h"
40 // Lex the filename.
44 PP->Lex(FilenameTok);
H A DPragma.cpp15 #include "clang/Lex/Pragma.h"
18 #include "clang/Lex/HeaderSearch.h"
19 #include "clang/Lex/LexDiagnostic.h"
20 #include "clang/Lex/LiteralSupport.h"
21 #include "clang/Lex/MacroInfo.h"
22 #include "clang/Lex/Preprocessor.h"
103 /// HandlePragmaDirective - The "\#pragma" directive has been parsed. Lex the
184 Lex(Tok);
191 Lex(Tok);
196 Lex(To
[all...]
H A DPPCaching.cpp15 #include "clang/Lex/Preprocessor.h"
58 Lex(Result);
91 Lex(CachedTokens.back());
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h81 const AsmToken &Lex() { return getParser().Lex(); } function in class:llvm::MCAsmParserExtension
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp17 #include "clang/Lex/Preprocessor.h"
515 PP.Lex(Tok); // pragma kind
532 PP.Lex(Tok);
533 PP.Lex(Tok);
543 PP.Lex(Tok); // (
562 PP.Lex(Tok); // ,
567 PP.Lex(Tok); // long/short
597 PP.Lex(Tok); // Identifier
607 PP.Lex(Tok); // )
613 PP.Lex(To
[all...]
/freebsd-11.0-release/lib/clang/libclanglex/
H A DMakefile7 SRCDIR= tools/clang/lib/Lex
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp17 #include "clang/Lex/Preprocessor.h"
106 PP.Lex(PPTok);
119 PP.Lex(PPTok);
160 PP.Lex(PPTok);
199 PP.Lex(PPTok);
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp529 Parser.Lex();
545 Parser.Lex();
550 Parser.Lex();
554 Parser.Lex();
561 Parser.Lex();
568 Parser.Lex();
679 Lex();
683 Lex();
689 Lex();
730 Lex();
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp567 Parser.Lex();
570 Parser.Lex();
606 Parser.Lex(); // Eat the comma.
620 Parser.Lex(); // Consume the EndOfStatement.
669 Parser.Lex();
672 Parser.Lex();
696 Parser.Lex(); // Eat the '+'
729 Parser.Lex(); // Eat the [
735 Parser.Lex(); // eat %
741 Parser.Lex(); // Ea
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1997 Parser.Lex(); // Eat identifier token.
2025 Parser.Lex(); // Eat the register token.
2058 Parser.Lex(); // Eat identifier token.
2074 Parser.Lex(); // Eat hash token.
2113 Parser.Lex(); // Eat identifier token.
2139 Parser.Lex(); // Eat identifier token.
2154 Parser.Lex(); // Eat hash token.
2205 Parser.Lex(); // Eat hash token.
2225 Parser.Lex(); // Eat '#'
2233 Parser.Lex();
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp68 Parser.Lex();
901 Parser.Lex(); // Eat percent token.
941 Parser.Lex(); // Eat 'st'
946 // Lex the paren.
947 getParser().Lex();
964 if (getParser().Lex().isNot(AsmToken::RParen))
968 Parser.Lex(); // Eat ')'
991 Parser.Lex(); // Eat it.
1002 Parser.Lex(); // Eat identifier token.
1302 Parser.Lex(); // Ea
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Rewrite/
H A DHTMLRewrite.cpp17 #include "clang/Lex/Preprocessor.h"
18 #include "clang/Lex/TokenConcatenation.h"
369 // Lex all the tokens in raw mode, to avoid entering #includes or expanding
454 // Lex all the tokens in raw mode, to avoid entering #includes or expanding
509 // Lex all the tokens.
511 TmpPP.Lex(Tok);
515 TmpPP.Lex(Tok);
527 TmpPP.Lex(Tok);
540 TmpPP.Lex(Tok);
567 TmpPP.Lex(To
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp4045 Parser.Lex(); // Eat the % token.
4052 Parser.Lex(); // Eat the identifier.
4059 Parser.Lex(); // Eat the '(' token.
4061 Parser.Lex(); // Eat the % token.
4067 Parser.Lex(); // Eat the identifier.
4077 Parser.Lex(); // Eat the ')' token.
4119 Parser.Lex();
4136 Parser.Lex();
4156 Parser.Lex();
4189 Parser.Lex(); // Ea
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2953 Parser.Lex(); // Eat identifier token.
2961 Parser.Lex(); // Eat identifier token.
2991 Parser.Lex(); // Eat the operator.
3014 Parser.Lex(); // Eat hash.
3088 Parser.Lex(); // Eat exclaim token
3097 Parser.Lex(); // Eat left bracket token.
3110 Parser.Lex(); // Eat right bracket token.
3198 Parser.Lex(); // Eat the token.
3223 Parser.Lex(); // Eat identifier token.
3243 Parser.Lex(); // Ea
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp501 Parser.Lex();
530 Parser.Lex();
589 Parser.Lex();
619 Parser.Lex();
629 Parser.Lex();
718 Parser.Lex();
732 Parser.Lex();
877 Parser.Lex();
894 Parser.Lex();
900 Parser.Lex();
[all...]

Completed in 406 milliseconds

123