Home
last modified time | relevance | path

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

12345

/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp168 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
201 getNextToken(); // consume the number in ParseNumberExpr()
207 getNextToken(); // eat (. in ParseParenExpr()
214 getNextToken(); // eat ). in ParseParenExpr()
224 getNextToken(); // eat identifier. in ParseIdentifierExpr()
230 getNextToken(); // eat ( in ParseIdentifierExpr()
244 getNextToken(); in ParseIdentifierExpr()
249 getNextToken(); in ParseIdentifierExpr()
286 getNextToken(); // eat binop in ParseBinOpRHS()
326 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/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 …]
/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-7.0/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 …]
/external/swiftshader/third_party/llvm-7.0/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 …]
/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 …]
/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/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp299 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
333 getNextToken(); // consume the number in ParseNumberExpr()
339 getNextToken(); // eat (. in ParseParenExpr()
346 getNextToken(); // eat ). in ParseParenExpr()
356 getNextToken(); // eat identifier. in ParseIdentifierExpr()
362 getNextToken(); // eat ( in ParseIdentifierExpr()
376 getNextToken(); in ParseIdentifierExpr()
381 getNextToken(); in ParseIdentifierExpr()
388 getNextToken(); // eat the if. in ParseIfExpr()
397 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-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp299 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
333 getNextToken(); // consume the number in ParseNumberExpr()
339 getNextToken(); // eat (. in ParseParenExpr()
346 getNextToken(); // eat ). in ParseParenExpr()
356 getNextToken(); // eat identifier. in ParseIdentifierExpr()
362 getNextToken(); // eat ( in ParseIdentifierExpr()
376 getNextToken(); in ParseIdentifierExpr()
381 getNextToken(); in ParseIdentifierExpr()
388 getNextToken(); // eat the if. in ParseIfExpr()
397 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/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp299 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
333 getNextToken(); // consume the number in ParseNumberExpr()
339 getNextToken(); // eat (. in ParseParenExpr()
346 getNextToken(); // eat ). in ParseParenExpr()
356 getNextToken(); // eat identifier. in ParseIdentifierExpr()
362 getNextToken(); // eat ( in ParseIdentifierExpr()
376 getNextToken(); in ParseIdentifierExpr()
381 getNextToken(); in ParseIdentifierExpr()
388 getNextToken(); // eat the if. in ParseIfExpr()
397 getNextToken(); // eat the then in ParseIfExpr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
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/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp282 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
316 getNextToken(); // consume the number in ParseNumberExpr()
322 getNextToken(); // eat (. in ParseParenExpr()
329 getNextToken(); // eat ). in ParseParenExpr()
339 getNextToken(); // eat identifier. in ParseIdentifierExpr()
345 getNextToken(); // eat ( in ParseIdentifierExpr()
359 getNextToken(); in ParseIdentifierExpr()
364 getNextToken(); in ParseIdentifierExpr()
371 getNextToken(); // eat the if. in ParseIfExpr()
380 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/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp301 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
335 getNextToken(); // consume the number in ParseNumberExpr()
341 getNextToken(); // eat (. in ParseParenExpr()
348 getNextToken(); // eat ). in ParseParenExpr()
358 getNextToken(); // eat identifier. in ParseIdentifierExpr()
364 getNextToken(); // eat ( in ParseIdentifierExpr()
378 getNextToken(); in ParseIdentifierExpr()
383 getNextToken(); in ParseIdentifierExpr()
390 getNextToken(); // eat the if. in ParseIfExpr()
399 getNextToken(); // eat the then in ParseIfExpr()
[all …]

12345