Home
last modified time | relevance | path

Searched refs:getNextToken (Results 1 – 25 of 85) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/
Dtoy.cpp146 static int getNextToken() { in getNextToken() function
178 getNextToken(); // eat identifier. in ParseIdentifierExpr()
184 getNextToken(); // eat ( in ParseIdentifierExpr()
196 getNextToken(); in ParseIdentifierExpr()
201 getNextToken(); in ParseIdentifierExpr()
209 getNextToken(); // consume the number in ParseNumberExpr()
215 getNextToken(); // eat (. in ParseParenExpr()
221 getNextToken(); // eat ). in ParseParenExpr()
252 getNextToken(); // eat binop in ParseBinOpRHS()
288 getNextToken(); in ParsePrototype()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp173 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
206 getNextToken(); // consume the number in ParseNumberExpr()
212 getNextToken(); // eat (. in ParseParenExpr()
219 getNextToken(); // eat ). in ParseParenExpr()
229 getNextToken(); // eat identifier. in ParseIdentifierExpr()
235 getNextToken(); // eat ( in ParseIdentifierExpr()
249 getNextToken(); in ParseIdentifierExpr()
254 getNextToken(); in ParseIdentifierExpr()
291 getNextToken(); // eat binop in ParseBinOpRHS()
331 getNextToken(); in ParsePrototype()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
Dtoy.cpp222 static int getNextToken() { in getNextToken() function
254 getNextToken(); // eat identifier. in ParseIdentifierExpr()
260 getNextToken(); // eat ( in ParseIdentifierExpr()
272 getNextToken(); in ParseIdentifierExpr()
277 getNextToken(); in ParseIdentifierExpr()
285 getNextToken(); // consume the number in ParseNumberExpr()
291 getNextToken(); // eat (. in ParseParenExpr()
297 getNextToken(); // eat ). in ParseParenExpr()
303 getNextToken(); // eat the if. in ParseIfExpr()
311 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp258 static int getNextToken() { in getNextToken() function
290 getNextToken(); // eat identifier. in ParseIdentifierExpr()
296 getNextToken(); // eat ( in ParseIdentifierExpr()
308 getNextToken(); in ParseIdentifierExpr()
313 getNextToken(); in ParseIdentifierExpr()
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
333 getNextToken(); // eat ). in ParseParenExpr()
339 getNextToken(); // eat the if. in ParseIfExpr()
347 getNextToken(); // eat the then in ParseIfExpr()
[all …]
Dtoy.cpp265 static int getNextToken() { in getNextToken() function
297 getNextToken(); // eat identifier. in ParseIdentifierExpr()
303 getNextToken(); // eat ( in ParseIdentifierExpr()
315 getNextToken(); in ParseIdentifierExpr()
320 getNextToken(); in ParseIdentifierExpr()
328 getNextToken(); // consume the number in ParseNumberExpr()
334 getNextToken(); // eat (. in ParseParenExpr()
340 getNextToken(); // eat ). in ParseParenExpr()
346 getNextToken(); // eat the if. in ParseIfExpr()
354 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp243 static int getNextToken() { in getNextToken() function
275 getNextToken(); // eat identifier. in ParseIdentifierExpr()
281 getNextToken(); // eat ( in ParseIdentifierExpr()
293 getNextToken(); in ParseIdentifierExpr()
298 getNextToken(); in ParseIdentifierExpr()
306 getNextToken(); // consume the number in ParseNumberExpr()
312 getNextToken(); // eat (. in ParseParenExpr()
318 getNextToken(); // eat ). in ParseParenExpr()
324 getNextToken(); // eat the if. in ParseIfExpr()
332 getNextToken(); // eat the then in ParseIfExpr()
[all …]
Dtoy.cpp244 static int getNextToken() { in getNextToken() function
276 getNextToken(); // eat identifier. in ParseIdentifierExpr()
282 getNextToken(); // eat ( in ParseIdentifierExpr()
294 getNextToken(); in ParseIdentifierExpr()
299 getNextToken(); in ParseIdentifierExpr()
307 getNextToken(); // consume the number in ParseNumberExpr()
313 getNextToken(); // eat (. in ParseParenExpr()
319 getNextToken(); // eat ). in ParseParenExpr()
325 getNextToken(); // eat the if. in ParseIfExpr()
333 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp240 static int getNextToken() { in getNextToken() function
272 getNextToken(); // eat identifier. in ParseIdentifierExpr()
278 getNextToken(); // eat ( in ParseIdentifierExpr()
290 getNextToken(); in ParseIdentifierExpr()
295 getNextToken(); in ParseIdentifierExpr()
303 getNextToken(); // consume the number in ParseNumberExpr()
309 getNextToken(); // eat (. in ParseParenExpr()
315 getNextToken(); // eat ). in ParseParenExpr()
321 getNextToken(); // eat the if. in ParseIfExpr()
329 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
Dtoy.cpp158 static int getNextToken() { in getNextToken() function
190 getNextToken(); // eat identifier. in ParseIdentifierExpr()
196 getNextToken(); // eat ( in ParseIdentifierExpr()
208 getNextToken(); in ParseIdentifierExpr()
213 getNextToken(); in ParseIdentifierExpr()
221 getNextToken(); // consume the number in ParseNumberExpr()
227 getNextToken(); // eat (. in ParseParenExpr()
233 getNextToken(); // eat ). in ParseParenExpr()
264 getNextToken(); // eat binop in ParseBinOpRHS()
300 getNextToken(); in ParsePrototype()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp275 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
309 getNextToken(); // consume the number in ParseNumberExpr()
315 getNextToken(); // eat (. in ParseParenExpr()
322 getNextToken(); // eat ). in ParseParenExpr()
332 getNextToken(); // eat identifier. in ParseIdentifierExpr()
338 getNextToken(); // eat ( in ParseIdentifierExpr()
352 getNextToken(); in ParseIdentifierExpr()
357 getNextToken(); in ParseIdentifierExpr()
364 getNextToken(); // eat the if. in ParseIfExpr()
373 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp287 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
334 getNextToken(); // eat ). in ParseParenExpr()
344 getNextToken(); // eat identifier. in ParseIdentifierExpr()
350 getNextToken(); // eat ( in ParseIdentifierExpr()
364 getNextToken(); in ParseIdentifierExpr()
369 getNextToken(); in ParseIdentifierExpr()
376 getNextToken(); // eat the if. in ParseIfExpr()
385 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp287 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
334 getNextToken(); // eat ). in ParseParenExpr()
344 getNextToken(); // eat identifier. in ParseIdentifierExpr()
350 getNextToken(); // eat ( in ParseIdentifierExpr()
364 getNextToken(); in ParseIdentifierExpr()
369 getNextToken(); in ParseIdentifierExpr()
376 getNextToken(); // eat the if. in ParseIfExpr()
385 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp287 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
334 getNextToken(); // eat ). in ParseParenExpr()
344 getNextToken(); // eat identifier. in ParseIdentifierExpr()
350 getNextToken(); // eat ( in ParseIdentifierExpr()
364 getNextToken(); in ParseIdentifierExpr()
369 getNextToken(); in ParseIdentifierExpr()
376 getNextToken(); // eat the if. in ParseIfExpr()
385 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp194 static int getNextToken() { in getNextToken() function
226 getNextToken(); // eat identifier. in ParseIdentifierExpr()
232 getNextToken(); // eat ( in ParseIdentifierExpr()
244 getNextToken(); in ParseIdentifierExpr()
249 getNextToken(); in ParseIdentifierExpr()
257 getNextToken(); // consume the number in ParseNumberExpr()
263 getNextToken(); // eat (. in ParseParenExpr()
269 getNextToken(); // eat ). in ParseParenExpr()
275 getNextToken(); // eat the if. in ParseIfExpr()
283 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
Dtoy.cpp165 static int getNextToken() { in getNextToken() function
197 getNextToken(); // eat identifier. in ParseIdentifierExpr()
203 getNextToken(); // eat ( in ParseIdentifierExpr()
215 getNextToken(); in ParseIdentifierExpr()
220 getNextToken(); in ParseIdentifierExpr()
228 getNextToken(); // consume the number in ParseNumberExpr()
234 getNextToken(); // eat (. in ParseParenExpr()
240 getNextToken(); // eat ). in ParseParenExpr()
271 getNextToken(); // eat binop in ParseBinOpRHS()
307 getNextToken(); in ParsePrototype()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp267 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
301 getNextToken(); // consume the number in ParseNumberExpr()
307 getNextToken(); // eat (. in ParseParenExpr()
314 getNextToken(); // eat ). in ParseParenExpr()
324 getNextToken(); // eat identifier. in ParseIdentifierExpr()
330 getNextToken(); // eat ( in ParseIdentifierExpr()
344 getNextToken(); in ParseIdentifierExpr()
349 getNextToken(); in ParseIdentifierExpr()
356 getNextToken(); // eat the if. in ParseIfExpr()
365 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp290 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
324 getNextToken(); // consume the number in ParseNumberExpr()
330 getNextToken(); // eat (. in ParseParenExpr()
337 getNextToken(); // eat ). in ParseParenExpr()
347 getNextToken(); // eat identifier. in ParseIdentifierExpr()
353 getNextToken(); // eat ( in ParseIdentifierExpr()
367 getNextToken(); in ParseIdentifierExpr()
372 getNextToken(); in ParseIdentifierExpr()
379 getNextToken(); // eat the if. in ParseIfExpr()
388 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp287 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
334 getNextToken(); // eat ). in ParseParenExpr()
344 getNextToken(); // eat identifier. in ParseIdentifierExpr()
350 getNextToken(); // eat ( in ParseIdentifierExpr()
364 getNextToken(); in ParseIdentifierExpr()
369 getNextToken(); in ParseIdentifierExpr()
376 getNextToken(); // eat the if. in ParseIfExpr()
385 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp284 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
318 getNextToken(); // consume the number in ParseNumberExpr()
324 getNextToken(); // eat (. in ParseParenExpr()
331 getNextToken(); // eat ). in ParseParenExpr()
341 getNextToken(); // eat identifier. in ParseIdentifierExpr()
347 getNextToken(); // eat ( in ParseIdentifierExpr()
361 getNextToken(); in ParseIdentifierExpr()
366 getNextToken(); in ParseIdentifierExpr()
373 getNextToken(); // eat the if. in ParseIfExpr()
382 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp234 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
268 getNextToken(); // consume the number in ParseNumberExpr()
274 getNextToken(); // eat (. in ParseParenExpr()
281 getNextToken(); // eat ). in ParseParenExpr()
291 getNextToken(); // eat identifier. in ParseIdentifierExpr()
297 getNextToken(); // eat ( in ParseIdentifierExpr()
311 getNextToken(); in ParseIdentifierExpr()
316 getNextToken(); in ParseIdentifierExpr()
323 getNextToken(); // eat the if. in ParseIfExpr()
332 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp182 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
216 getNextToken(); // consume the number in ParseNumberExpr()
222 getNextToken(); // eat (. in ParseParenExpr()
229 getNextToken(); // eat ). in ParseParenExpr()
239 getNextToken(); // eat identifier. in ParseIdentifierExpr()
245 getNextToken(); // eat ( in ParseIdentifierExpr()
259 getNextToken(); in ParseIdentifierExpr()
264 getNextToken(); in ParseIdentifierExpr()
301 getNextToken(); // eat binop in ParseBinOpRHS()
341 getNextToken(); in ParsePrototype()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp242 static int getNextToken() { in getNextToken() function
274 getNextToken(); // eat identifier. in ParseIdentifierExpr()
280 getNextToken(); // eat ( in ParseIdentifierExpr()
292 getNextToken(); in ParseIdentifierExpr()
297 getNextToken(); in ParseIdentifierExpr()
305 getNextToken(); // consume the number in ParseNumberExpr()
311 getNextToken(); // eat (. in ParseParenExpr()
317 getNextToken(); // eat ). in ParseParenExpr()
323 getNextToken(); // eat the if. in ParseIfExpr()
331 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp191 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
225 getNextToken(); // consume the number in ParseNumberExpr()
231 getNextToken(); // eat (. in ParseParenExpr()
238 getNextToken(); // eat ). in ParseParenExpr()
248 getNextToken(); // eat identifier. in ParseIdentifierExpr()
254 getNextToken(); // eat ( in ParseIdentifierExpr()
268 getNextToken(); in ParseIdentifierExpr()
273 getNextToken(); in ParseIdentifierExpr()
310 getNextToken(); // eat binop in ParseBinOpRHS()
350 getNextToken(); in ParsePrototype()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp412 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
446 getNextToken(); // consume the number in ParseNumberExpr()
452 getNextToken(); // eat (. in ParseParenExpr()
459 getNextToken(); // eat ). in ParseParenExpr()
471 getNextToken(); // eat identifier. in ParseIdentifierExpr()
477 getNextToken(); // eat ( in ParseIdentifierExpr()
491 getNextToken(); in ParseIdentifierExpr()
496 getNextToken(); in ParseIdentifierExpr()
505 getNextToken(); // eat the if. in ParseIfExpr()
514 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp284 static int getNextToken() { in getNextToken() function
316 getNextToken(); // eat identifier. in ParseIdentifierExpr()
322 getNextToken(); // eat ( in ParseIdentifierExpr()
334 getNextToken(); in ParseIdentifierExpr()
339 getNextToken(); in ParseIdentifierExpr()
347 getNextToken(); // consume the number in ParseNumberExpr()
353 getNextToken(); // eat (. in ParseParenExpr()
359 getNextToken(); // eat ). in ParseParenExpr()
365 getNextToken(); // eat the if. in ParseIfExpr()
373 getNextToken(); // eat the then in ParseIfExpr()
[all …]

1234