Home
last modified time | relevance | path

Searched refs:CurTok (Results 1 – 25 of 28) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h41 SmallVector<AsmToken, 1> CurTok; variable
82 assert(!CurTok.empty()); in Lex()
84 IsAtStartOfStatement = CurTok.front().getKind() == AsmToken::EndOfStatement; in Lex()
85 CurTok.erase(CurTok.begin()); in Lex()
88 if (CurTok.empty()) { in Lex()
90 CurTok.insert(CurTok.begin(), T); in Lex()
92 return CurTok.front(); in Lex()
97 CurTok.insert(CurTok.begin(), Token); in UnLex()
109 return CurTok[0]; in getTok()
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp242 static int CurTok; variable
283 if (CurTok != ')') { in ParseIdentifierExpr()
316 if (CurTok != ')') in ParseParenExpr()
358 if (CurTok != '=') in ParseForExpr()
365 if (CurTok != ',') in ParseForExpr()
443 switch (CurTok) { in ParsePrimary()
459 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
463 int Opc = CurTok; in ParseUnary()
523 switch (CurTok) { in ParsePrototype()
559 if (CurTok != '(') in ParsePrototype()
[all …]
H A Dtoy.cpp243 static int CurTok; variable
284 if (CurTok != ')') { in ParseIdentifierExpr()
317 if (CurTok != ')') in ParseParenExpr()
359 if (CurTok != '=') in ParseForExpr()
366 if (CurTok != ',') in ParseForExpr()
444 switch (CurTok) { in ParsePrimary()
460 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
464 int Opc = CurTok; in ParseUnary()
524 switch (CurTok) { in ParsePrototype()
560 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp257 static int CurTok; variable
298 if (CurTok != ')') { in ParseIdentifierExpr()
331 if (CurTok != ')') in ParseParenExpr()
373 if (CurTok != '=') in ParseForExpr()
380 if (CurTok != ',') in ParseForExpr()
458 switch (CurTok) { in ParsePrimary()
474 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
478 int Opc = CurTok; in ParseUnary()
538 switch (CurTok) { in ParsePrototype()
574 if (CurTok != '(') in ParsePrototype()
[all …]
H A Dtoy.cpp264 static int CurTok; variable
305 if (CurTok != ')') { in ParseIdentifierExpr()
338 if (CurTok != ')') in ParseParenExpr()
380 if (CurTok != '=') in ParseForExpr()
387 if (CurTok != ',') in ParseForExpr()
465 switch (CurTok) { in ParsePrimary()
481 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
485 int Opc = CurTok; in ParseUnary()
545 switch (CurTok) { in ParsePrototype()
581 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp166 static int CurTok; variable
175 if (!isascii(CurTok)) in GetTokPrecedence()
211 if (CurTok != ')') in ParseParenExpr()
231 if (CurTok != ')') { in ParseIdentifierExpr()
238 if (CurTok == ')') in ParseIdentifierExpr()
241 if (CurTok != ',') in ParseIdentifierExpr()
258 switch (CurTok) { in ParsePrimary()
284 int BinOp = CurTok; in ParseBinOpRHS()
327 if (CurTok != '(') in ParsePrototype()
333 if (CurTok != ')') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp298 static int CurTok; variable
344 if (CurTok != ')') in ParseParenExpr()
364 if (CurTok != ')') { in ParseIdentifierExpr()
426 if (CurTok != '=') in ParseForExpr()
433 if (CurTok != ',') in ParseForExpr()
518 switch (CurTok) { in ParsePrimary()
541 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
545 int Opc = CurTok; in ParseUnary()
610 switch (CurTok) { in ParsePrototype()
646 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp298 static int CurTok; variable
344 if (CurTok != ')') in ParseParenExpr()
364 if (CurTok != ')') { in ParseIdentifierExpr()
426 if (CurTok != '=') in ParseForExpr()
433 if (CurTok != ',') in ParseForExpr()
518 switch (CurTok) { in ParsePrimary()
541 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
545 int Opc = CurTok; in ParseUnary()
610 switch (CurTok) { in ParsePrototype()
646 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp281 static int CurTok; variable
327 if (CurTok != ')') in ParseParenExpr()
347 if (CurTok != ')') { in ParseIdentifierExpr()
409 if (CurTok != '=') in ParseForExpr()
416 if (CurTok != ',') in ParseForExpr()
501 switch (CurTok) { in ParsePrimary()
524 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
528 int Opc = CurTok; in ParseUnary()
593 switch (CurTok) { in ParsePrototype()
629 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp304 static int CurTok; variable
350 if (CurTok != ')') in ParseParenExpr()
370 if (CurTok != ')') { in ParseIdentifierExpr()
432 if (CurTok != '=') in ParseForExpr()
439 if (CurTok != ',') in ParseForExpr()
524 switch (CurTok) { in ParsePrimary()
547 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
551 int Opc = CurTok; in ParseUnary()
616 switch (CurTok) { in ParsePrototype()
652 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp298 static int CurTok; variable
344 if (CurTok != ')') in ParseParenExpr()
364 if (CurTok != ')') { in ParseIdentifierExpr()
426 if (CurTok != '=') in ParseForExpr()
433 if (CurTok != ',') in ParseForExpr()
518 switch (CurTok) { in ParsePrimary()
541 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
545 int Opc = CurTok; in ParseUnary()
610 switch (CurTok) { in ParsePrototype()
646 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp303 static int CurTok; variable
349 if (CurTok != ')') in ParseParenExpr()
369 if (CurTok != ')') { in ParseIdentifierExpr()
431 if (CurTok != '=') in ParseForExpr()
438 if (CurTok != ',') in ParseForExpr()
523 switch (CurTok) { in ParsePrimary()
546 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
550 int Opc = CurTok; in ParseUnary()
615 switch (CurTok) { in ParsePrototype()
651 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp281 static int CurTok; variable
327 if (CurTok != ')') in ParseParenExpr()
347 if (CurTok != ')') { in ParseIdentifierExpr()
409 if (CurTok != '=') in ParseForExpr()
416 if (CurTok != ',') in ParseForExpr()
452 switch (CurTok) { in ParsePrimary()
473 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
477 int Opc = CurTok; in ParseUnary()
542 switch (CurTok) { in ParsePrototype()
578 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp241 static int CurTok; variable
282 if (CurTok != ')') { in ParseIdentifierExpr()
315 if (CurTok != ')') in ParseParenExpr()
357 if (CurTok != '=') in ParseForExpr()
364 if (CurTok != ',') in ParseForExpr()
442 switch (CurTok) { in ParsePrimary()
458 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
462 int Opc = CurTok; in ParseUnary()
522 switch (CurTok) { in ParsePrototype()
558 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp283 static int CurTok; variable
324 if (CurTok != ')') { in ParseIdentifierExpr()
357 if (CurTok != ')') in ParseParenExpr()
399 if (CurTok != '=') in ParseForExpr()
406 if (CurTok != ',') in ParseForExpr()
484 switch (CurTok) { in ParsePrimary()
500 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
504 int Opc = CurTok; in ParseUnary()
564 switch (CurTok) { in ParsePrototype()
600 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp411 static int CurTok; variable
457 if (CurTok != ')') in ParseParenExpr()
479 if (CurTok != ')') { in ParseIdentifierExpr()
543 if (CurTok != '=') in ParseForExpr()
550 if (CurTok != ',') in ParseForExpr()
635 switch (CurTok) { in ParsePrimary()
658 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
662 int Opc = CurTok; in ParseUnary()
730 switch (CurTok) { in ParsePrototype()
766 if (CurTok != '(') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp192 static int CurTok; variable
201 if (!isascii(CurTok)) in GetTokPrecedence()
238 if (CurTok != ')') in ParseParenExpr()
258 if (CurTok != ')') { in ParseIdentifierExpr()
265 if (CurTok == ')') in ParseIdentifierExpr()
268 if (CurTok != ',') in ParseIdentifierExpr()
285 switch (CurTok) { in ParsePrimary()
311 int BinOp = CurTok; in ParseBinOpRHS()
354 if (CurTok != '(') in ParsePrototype()
360 if (CurTok != ')') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp247 static int CurTok; variable
256 if (!isascii(CurTok)) in GetTokPrecedence()
293 if (CurTok != ')') in ParseParenExpr()
313 if (CurTok != ')') { in ParseIdentifierExpr()
375 if (CurTok != '=') in ParseForExpr()
382 if (CurTok != ',') in ParseForExpr()
392 if (CurTok == ',') { in ParseForExpr()
418 switch (CurTok) { in ParsePrimary()
491 if (CurTok != '(') in ParsePrototype()
497 if (CurTok != ')') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp202 static int CurTok; variable
211 if (!isascii(CurTok)) in GetTokPrecedence()
248 if (CurTok != ')') in ParseParenExpr()
268 if (CurTok != ')') { in ParseIdentifierExpr()
275 if (CurTok == ')') in ParseIdentifierExpr()
278 if (CurTok != ',') in ParseIdentifierExpr()
295 switch (CurTok) { in ParsePrimary()
321 int BinOp = CurTok; in ParseBinOpRHS()
364 if (CurTok != '(') in ParsePrototype()
370 if (CurTok != ')') in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp48 unsigned &CurTok, bool ReturnComment) { in GetNextRawTok() argument
49 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()
52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()
53 ++CurTok; in GetNextRawTok()
55 return RawTokens[CurTok++]; in GetNextRawTok()
/netbsd/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenLexer.cpp255 const Token &CurTok = Tokens[I]; in ExpandFunctionArguments() local
265 if (VCtx.isVAOptToken(CurTok)) { in ExpandFunctionArguments()
271 VCtx.sawVAOptFollowedByOpeningParens(CurTok.getLocation(), in ExpandFunctionArguments()
369 if (CurTok.isOneOf(tok::hash, tok::hashat)) { in ExpandFunctionArguments()
377 CurTok.is(tok::hashat)); in ExpandFunctionArguments()
382 getExpansionLocForMacroDefLoc(CurTok.getLocation()); in ExpandFunctionArguments()
386 bool Charify = CurTok.is(tok::hashat); in ExpandFunctionArguments()
416 IdentifierInfo *II = CurTok.getIdentifierInfo(); in ExpandFunctionArguments()
420 ResultToks.push_back(CurTok); in ExpandFunctionArguments()
482 updateLocForMacroArgTokens(CurTok.getLocation(), in ExpandFunctionArguments()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl02.rst165 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
168 static int CurTok;
237 if (CurTok != ')')
282 if (CurTok != ')') {
289 if (CurTok == ')')
327 switch (CurTok) {
370 if (!isascii(CurTok))
465 int BinOp = CurTok;
581 if (CurTok != '(')
588 if (CurTok != ')')
[all …]
H A DLangImpl06.rst178 switch (CurTok) {
188 if (!isascii(CurTok))
191 FnName += (char)CurTok;
196 if (CurTok == tok_number) {
205 if (CurTok != '(')
211 if (CurTok != ')')
342 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
346 int Opc = CurTok;
405 switch (CurTok) {
415 if (!isascii(CurTok))
[all …]
H A DLangImpl05.rst130 if (CurTok != tok_then)
138 if (CurTok != tok_else)
156 switch (CurTok) {
522 if (CurTok != tok_identifier)
528 if (CurTok != '=')
536 if (CurTok != ',')
546 if (CurTok == ',') {
553 if (CurTok != tok_in)
571 switch (CurTok) {
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp442 AsmToken::TokenKind CurTok = Parser.getLexer().getKind(); in tryParseRelocExpression() local
443 if (CurTok == AsmToken::Minus || in tryParseRelocExpression()
447 assert(CurTok == AsmToken::Plus); in tryParseRelocExpression()
452 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus) in tryParseRelocExpression()

12