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

123

/freebsd-10.2-release/contrib/llvm/lib/TableGen/
H A DTGParser.cpp395 switch (Lex.getCode()) {
430 if (Lex.getCode() != tgtok::Id) {
435 Record *Result = Records.getClass(Lex.getCurStrVal());
437 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
439 Lex.Lex();
449 if (Lex.getCode() != tgtok::Id) {
454 MultiClass *Result = MultiClasses[Lex.getCurStrVal()];
456 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
458 Lex
[all...]
H A DTGParser.h56 TGLexer Lex; member in class:llvm::TGParser
86 Lex(SrcMgr), CurMultiClass(0), Records(records) {}
97 return Error(Lex.getLoc(), Msg);
100 return Lex.getDependencies();
/freebsd-10.2-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp40 Lex.Lex();
228 switch (Lex.getKind()) {
295 assert(Lex.getKind() == lltok::kw_module);
296 Lex.Lex();
310 assert(Lex.getKind() == lltok::kw_target);
312 switch (Lex.Lex()) {
315 Lex
[all...]
H A DLLParser.h91 LLLexer Lex; member in class:llvm::LLParser
136 Context(m->getContext()), Lex(F, SM, Err, m->getContext()),
145 return Lex.Error(L, Msg);
148 return Error(Lex.getLoc(), Msg);
160 if (Lex.getKind() != T) return false;
161 Lex.Lex();
168 switch (Lex.getKind()) {
169 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continu
[all...]
H A DLLLexer.h50 lltok::Kind Lex() { function in class:llvm::LLLexer
/freebsd-10.2-release/contrib/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp282 Lex();
286 Lex();
305 Lex();
318 Lex();
347 Lex();
353 Lex();
363 Lex();
372 Lex();
396 Lex();
408 Lex();
[all...]
H A DDarwinAsmParser.cpp374 Lex();
409 Lex();
418 Lex();
454 Lex();
467 Lex();
472 Lex();
496 Lex();
502 Lex();
521 Lex();
530 Lex();
[all...]
H A DELFAsmParser.cpp185 Lex();
189 Lex();
216 Lex();
237 Lex();
247 Lex(); // Consume the "-".
250 Lex();
253 Lex();
368 Lex();
375 Lex();
382 Lex();
[all...]
H A DAsmParser.cpp218 virtual const AsmToken &Lex();
312 /// current token is not set; clients should ensure Lex() is called
585 const AsmToken &AsmParser::Lex() { function in class:AsmParser
586 const AsmToken *tok = &Lexer.Lex();
594 tok = &Lexer.Lex();
610 Lex();
692 Lex();
696 Lex();
703 Lex();
714 Lex();
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPTHLexer.h17 #include "clang/Lex/PreprocessorLexer.h"
70 /// Lex - Return the next token.
71 bool Lex(Token &Tok);
91 /// IndirectLex - An indirect call to 'Lex' that can be invoked via
93 void IndirectLex(Token &Result) { 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.
138 /// Lex - Lex and return a token from this macro stream.
139 bool Lex(Token &Tok);
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp15 #include "clang/Lex/Preprocessor.h"
253 PP.Lex(Tok);
264 PP.Lex(Tok);
268 PP.Lex(Tok);
279 PP.Lex(Tok);
289 PP.Lex(Tok);
292 PP.Lex(Tok);
297 PP.Lex(Tok);
300 PP.Lex(Tok);
303 PP.Lex(To
[all...]
/freebsd-10.2-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"
106 /// HandlePragmaDirective - The "\#pragma" directive has been parsed. Lex the
187 Lex(Tok);
194 Lex(Tok);
199 Lex(To
[all...]
H A DPPCaching.cpp15 #include "clang/Lex/Preprocessor.h"
58 Lex(Result);
91 Lex(CachedTokens.back());
H A DPreprocessor.cpp28 #include "clang/Lex/Preprocessor.h"
29 #include "clang/Lex/MacroArgs.h"
33 #include "clang/Lex/CodeCompletionHandler.h"
34 #include "clang/Lex/ExternalPreprocessorSource.h"
35 #include "clang/Lex/HeaderSearch.h"
36 #include "clang/Lex/LexDiagnostic.h"
37 #include "clang/Lex/LiteralSupport.h"
38 #include "clang/Lex/MacroInfo.h"
39 #include "clang/Lex/ModuleLoader.h"
40 #include "clang/Lex/Pragm
708 void Preprocessor::Lex(Token &Result) { function in class:Preprocessor
[all...]
/freebsd-10.2-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h69 const AsmToken &Lex() { return getParser().Lex(); } function in class:llvm::MCAsmParserExtension
/freebsd-10.2-release/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1121 Parser.Lex(); // Eat register token.
1146 Parser.Lex(); // Eat dollar token.
1152 Parser.Lex(); // Eat the parenthesis.
1156 Parser.Lex(); // Eat the dollar
1165 Parser.Lex();
1308 Parser.Lex(); // Eat the % token.
1315 Parser.Lex(); // Eat the identifier.
1322 Parser.Lex(); // Eat the '(' token.
1324 Parser.Lex(); // Eat the % token.
1330 Parser.Lex(); // Ea
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
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-10.2-release/lib/clang/libclanglex/
H A DMakefile7 SRCDIR= tools/clang/lib/Lex
/freebsd-10.2-release/contrib/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1317 Parser.Lex();
1329 Parser.Lex(); // Eat '['
1373 Parser.Lex(); // Eat '['
1388 Parser.Lex(); // Eat actual lane
1399 Parser.Lex(); // Eat ']'
1407 Parser.Lex();
1459 Parser.Lex(); // Eat identifier
1466 Parser.Lex();
1478 Parser.Lex(); // Eat '#'
1490 Parser.Lex();
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1058 Parser.Lex(); // Eat percent token.
1093 Parser.Lex(); // Eat 'st'
1098 // Lex the paren.
1099 getParser().Lex();
1116 if (getParser().Lex().isNot(AsmToken::RParen))
1120 Parser.Lex(); // Eat ')'
1143 Parser.Lex(); // Eat it.
1154 Parser.Lex(); // Eat identifier token.
1358 Parser.Lex(); // Consume the token.
1371 Parser.Lex(); // Ea
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp432 Parser.Lex();
435 Parser.Lex();
464 Parser.Lex(); // Eat the comma.
478 Parser.Lex(); // Consume the EndOfStatement.
511 Parser.Lex(); // Eat the '+'
547 Parser.Lex(); // Eat the [
553 Parser.Lex(); // eat %
559 Parser.Lex(); // Eat the identifier token.
575 Parser.Lex(); // Eat the ]
603 Parser.Lex(); // Ea
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Rewrite/Core/
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-10.2-release/contrib/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2685 Parser.Lex(); // Eat identifier token.
2689 Parser.Lex(); // Eat identifier token.
2718 Parser.Lex(); // Eat the operator.
2740 Parser.Lex(); // Eat hash.
2814 Parser.Lex(); // Eat exclaim token
2823 Parser.Lex(); // Eat left bracket token.
2836 Parser.Lex(); // Eat right bracket token.
2914 Parser.Lex(); // Eat the token.
2935 Parser.Lex(); // Eat identifier token.
2954 Parser.Lex(); // Ea
[all...]

Completed in 154 milliseconds

123