/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 146 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/ |
D | toy.cpp | 168 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/ |
D | toy.cpp | 173 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/ |
D | toy.cpp | 222 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/ |
D | toy-jit.cpp | 243 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/ |
D | toy.cpp | 240 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/ |
D | toy-jit.cpp | 258 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/ |
D | toy-jit.cpp | 243 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/ |
D | toy-jit.cpp | 258 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/ |
D | toy.cpp | 158 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/ |
D | toy.cpp | 287 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/ |
D | toy.cpp | 299 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/ |
D | toy.cpp | 287 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/ |
D | toy.cpp | 299 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/ |
D | toy.cpp | 287 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/ |
D | toy.cpp | 275 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/ |
D | toy.cpp | 299 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/ |
D | toy.cpp | 284 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/ |
D | toy.cpp | 194 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/ |
D | toy.cpp | 165 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/ |
D | toy.cpp | 267 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/ |
D | toy.cpp | 282 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/ |
D | toy.cpp | 284 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/ |
D | toy.cpp | 287 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/ |
D | toy.cpp | 301 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 …]
|