HomeSort by relevance Sort by last modified time
    Searched refs:CurTok (Results 1 - 17 of 17) sorted by null

  /external/llvm/examples/Kaleidoscope/Chapter2/
toy.cpp 136 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
138 /// lexer and updates CurTok with its results.
139 static int CurTok;
141 return CurTok = gettok();
150 if (!isascii(CurTok))
154 int TokPrec = BinopPrecedence[CurTok];
173 if (CurTok != '(') // Simple variable ref.
179 if (CurTok != ')') {
185 if (CurTok == ')') break
    [all...]
  /external/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h 120 AsmToken CurTok;
150 return CurTok = LexToken();
160 return CurTok;
177 AsmToken::TokenKind getKind() const { return CurTok.getKind(); }
180 bool is(AsmToken::TokenKind K) const { return CurTok.is(K); }
183 bool isNot(AsmToken::TokenKind K) const { return CurTok.isNot(K); }
  /external/llvm/lib/MC/MCParser/
MCAsmLexer.cpp 15 MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()),
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 220 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
222 /// lexer and updates CurTok with its results.
223 static int CurTok;
225 return CurTok = gettok();
234 if (!isascii(CurTok))
238 int TokPrec = BinopPrecedence[CurTok];
258 if (CurTok != '(') // Simple variable ref.
264 if (CurTok != ')') {
270 if (CurTok == ')') break
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 156 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
158 /// lexer and updates CurTok with its results.
159 static int CurTok;
161 return CurTok = gettok();
170 if (!isascii(CurTok))
174 int TokPrec = BinopPrecedence[CurTok];
194 if (CurTok != '(') // Simple variable ref.
200 if (CurTok != ')') {
206 if (CurTok == ')') break
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter7/
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...]
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 255 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
257 /// lexer and updates CurTok with its results.
258 static int CurTok;
260 return CurTok = gettok();
269 if (!isascii(CurTok))
273 int TokPrec = BinopPrecedence[CurTok];
293 if (CurTok != '(') // Simple variable ref.
299 if (CurTok != ')') {
305 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...]
  /external/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...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.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...]
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...]
  /external/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 192 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
194 /// lexer and updates CurTok with its results.
195 static int CurTok;
197 return CurTok = gettok();
206 if (!isascii(CurTok))
210 int TokPrec = BinopPrecedence[CurTok];
230 if (CurTok != '(') // Simple variable ref.
236 if (CurTok != ')') {
242 if (CurTok == ')') break
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter4/
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;
168 return CurTok = gettok();
177 if (!isascii(CurTok))
181 int TokPrec = BinopPrecedence[CurTok];
201 if (CurTok != '(') // Simple variable ref.
207 if (CurTok != ')') {
213 if (CurTok == ')') break
    [all...]
  /external/clang/lib/Rewrite/Frontend/
RewriteMacros.cpp 49 unsigned &CurTok, bool ReturnComment) {
50 assert(CurTok < RawTokens.size() && "Overran eof!");
53 if (!ReturnComment && RawTokens[CurTok].is(tok::comment))
54 ++CurTok;
56 return RawTokens[CurTok++];
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 285 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
287 /// lexer and updates CurTok with its results.
288 static int CurTok;
290 return CurTok = gettok();
299 if (!isascii(CurTok))
303 int TokPrec = BinopPrecedence[CurTok];
323 if (CurTok != '(') // Simple variable ref.
329 if (CurTok != ')') {
335 if (CurTok == ')') break
    [all...]
  /external/clang/lib/Lex/
TokenLexer.cpp 184 const Token &CurTok = Tokens[i];
185 if (i != 0 && !Tokens[i-1].is(tok::hashhash) && CurTok.hasLeadingSpace())
188 if (CurTok.is(tok::hash) || CurTok.is(tok::hashat)) {
193 getExpansionLocForMacroDefLoc(CurTok.getLocation());
198 if (CurTok.is(tok::hash)) // Stringify
231 IdentifierInfo *II = CurTok.getIdentifierInfo();
235 ResultToks.push_back(CurTok);
297 updateLocForMacroArgTokens(CurTok.getLocation(),
341 updateLocForMacroArgTokens(CurTok.getLocation()
    [all...]
PPDirectives.cpp     [all...]

Completed in 608 milliseconds