HomeSort by: relevance | last modified time | path
    Searched refs:CurTok (Results 1 - 23 of 23) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h 41 SmallVector<AsmToken, 1> CurTok;
82 assert(!CurTok.empty());
84 IsAtStartOfStatement = CurTok.front().getKind() == AsmToken::EndOfStatement;
85 CurTok.erase(CurTok.begin());
87 // the first one. Place returned value at head of CurTok vector.
88 if (CurTok.empty()) {
90 CurTok.insert(CurTok.begin(), T);
92 return CurTok.front()
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/
toy.cpp 163 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
165 /// lexer and updates CurTok with its results.
166 static int CurTok;
167 static int getNextToken() { return CurTok = gettok(); }
175 if (!isascii(CurTok))
179 int TokPrec = BinopPrecedence[CurTok];
211 if (CurTok != ')')
225 if (CurTok != '(') // Simple variable ref.
231 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp 295 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
297 /// lexer and updates CurTok with its results.
298 static int CurTok;
299 static int getNextToken() { return CurTok = gettok(); }
307 if (!isascii(CurTok))
311 int TokPrec = BinopPrecedence[CurTok];
344 if (CurTok != ')')
358 if (CurTok != '(') // Simple variable ref.
364 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp 295 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
297 /// lexer and updates CurTok with its results.
298 static int CurTok;
299 static int getNextToken() { return CurTok = gettok(); }
307 if (!isascii(CurTok))
311 int TokPrec = BinopPrecedence[CurTok];
344 if (CurTok != ')')
358 if (CurTok != '(') // Simple variable ref.
364 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp 295 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
297 /// lexer and updates CurTok with its results.
298 static int CurTok;
299 static int getNextToken() { return CurTok = gettok(); }
307 if (!isascii(CurTok))
311 int TokPrec = BinopPrecedence[CurTok];
344 if (CurTok != ')')
358 if (CurTok != '(') // Simple variable ref.
364 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
toy.cpp 278 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
280 /// lexer and updates CurTok with its results.
281 static int CurTok;
282 static int getNextToken() { return CurTok = gettok(); }
290 if (!isascii(CurTok))
294 int TokPrec = BinopPrecedence[CurTok];
327 if (CurTok != ')')
341 if (CurTok != '(') // Simple variable ref.
347 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 300 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
302 /// lexer and updates CurTok with its results.
303 static int CurTok;
304 static int getNextToken() { return CurTok = gettok(); }
312 if (!isascii(CurTok))
316 int TokPrec = BinopPrecedence[CurTok];
349 if (CurTok != ')')
363 if (CurTok != '(') // Simple variable ref.
369 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp 301 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
303 /// lexer and updates CurTok with its results.
304 static int CurTok;
305 static int getNextToken() { return CurTok = gettok(); }
313 if (!isascii(CurTok))
317 int TokPrec = BinopPrecedence[CurTok];
350 if (CurTok != ')')
364 if (CurTok != '(') // Simple variable ref.
370 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 254 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
256 /// lexer and updates CurTok with its results.
257 static int CurTok;
259 return CurTok = gettok();
268 if (!isascii(CurTok))
272 int TokPrec = BinopPrecedence[CurTok];
292 if (CurTok != '(') // Simple variable ref.
298 if (CurTok != ')') {
304 if (CurTok == ')') break
    [all...]
toy.cpp 261 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
263 /// lexer and updates CurTok with its results.
264 static int CurTok;
266 return CurTok = gettok();
275 if (!isascii(CurTok))
279 int TokPrec = BinopPrecedence[CurTok];
299 if (CurTok != '(') // Simple variable ref.
305 if (CurTok != ')') {
311 if (CurTok == ')') break
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
toy.cpp 238 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
240 /// lexer and updates CurTok with its results.
241 static int CurTok;
243 return CurTok = gettok();
252 if (!isascii(CurTok))
256 int TokPrec = BinopPrecedence[CurTok];
276 if (CurTok != '(') // Simple variable ref.
282 if (CurTok != ')') {
288 if (CurTok == ')') break
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 239 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
241 /// lexer and updates CurTok with its results.
242 static int CurTok;
244 return CurTok = gettok();
253 if (!isascii(CurTok))
257 int TokPrec = BinopPrecedence[CurTok];
277 if (CurTok != '(') // Simple variable ref.
283 if (CurTok != ')') {
289 if (CurTok == ')') break
    [all...]
toy.cpp 240 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
242 /// lexer and updates CurTok with its results.
243 static int CurTok;
245 return CurTok = gettok();
254 if (!isascii(CurTok))
258 int TokPrec = BinopPrecedence[CurTok];
278 if (CurTok != '(') // Simple variable ref.
284 if (CurTok != ')') {
290 if (CurTok == ')') break
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 189 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
191 /// lexer and updates CurTok with its results.
192 static int CurTok;
193 static int getNextToken() { return CurTok = gettok(); }
201 if (!isascii(CurTok))
205 int TokPrec = BinopPrecedence[CurTok];
238 if (CurTok != ')')
252 if (CurTok != '(') // Simple variable ref.
258 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp 199 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
201 /// lexer and updates CurTok with its results.
202 static int CurTok;
203 static int getNextToken() { return CurTok = gettok(); }
211 if (!isascii(CurTok))
215 int TokPrec = BinopPrecedence[CurTok];
248 if (CurTok != ')')
262 if (CurTok != '(') // Simple variable ref.
268 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteMacros.cpp 48 unsigned &CurTok, bool ReturnComment) {
49 assert(CurTok < RawTokens.size() && "Overran eof!");
52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment))
53 ++CurTok;
55 return RawTokens[CurTok++];
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 278 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
280 /// lexer and updates CurTok with its results.
281 static int CurTok;
282 static int getNextToken() { return CurTok = gettok(); }
290 if (!isascii(CurTok))
294 int TokPrec = BinopPrecedence[CurTok];
327 if (CurTok != ')')
341 if (CurTok != '(') // Simple variable ref.
347 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
toy.cpp 408 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
410 /// lexer and updates CurTok with its results.
411 static int CurTok;
412 static int getNextToken() { return CurTok = gettok(); }
420 if (!isascii(CurTok))
424 int TokPrec = BinopPrecedence[CurTok];
457 if (CurTok != ')')
473 if (CurTok != '(') // Simple variable ref.
479 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 280 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
282 /// lexer and updates CurTok with its results.
283 static int CurTok;
285 return CurTok = gettok();
294 if (!isascii(CurTok))
298 int TokPrec = BinopPrecedence[CurTok];
318 if (CurTok != '(') // Simple variable ref.
324 if (CurTok != ')') {
330 if (CurTok == ')') break
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 244 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
246 /// lexer and updates CurTok with its results.
247 static int CurTok;
248 static int getNextToken() { return CurTok = gettok(); }
256 if (!isascii(CurTok))
260 int TokPrec = BinopPrecedence[CurTok];
293 if (CurTok != ')')
307 if (CurTok != '(') // Simple variable ref.
313 if (CurTok != ')')
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Lex/
TokenLexer.cpp 255 const Token &CurTok = Tokens[I];
262 if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace())
265 if (VCtx.isVAOptToken(CurTok)) {
271 VCtx.sawVAOptFollowedByOpeningParens(CurTok.getLocation(),
369 if (CurTok.isOneOf(tok::hash, tok::hashat)) {
377 CurTok.is(tok::hashat));
382 getExpansionLocForMacroDefLoc(CurTok.getLocation());
386 bool Charify = CurTok.is(tok::hashat);
416 IdentifierInfo *II = CurTok.getIdentifierInfo();
420 ResultToks.push_back(CurTok);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
MCAsmLexer.cpp 18 CurTok.emplace_back(AsmToken::Space, StringRef());
  /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/
AVRAsmParser.cpp 442 AsmToken::TokenKind CurTok = Parser.getLexer().getKind();
443 if (CurTok == AsmToken::Minus ||
447 assert(CurTok == AsmToken::Plus);
452 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus)

Completed in 54 milliseconds