/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 139 /// FunctionAST - This class represents a function definition itself. 140 class FunctionAST { 144 FunctionAST(PrototypeAST *proto, ExprAST *body) 180 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 318 static FunctionAST *ParseDefinition() { 324 return new FunctionAST(Proto, E); 329 static FunctionAST *ParseTopLevelExpr() { 333 return new FunctionAST(Proto, E); 443 Function *FunctionAST::Codegen() { 474 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 124 /// FunctionAST - This class represents a function definition itself. 125 class FunctionAST { 127 FunctionAST(PrototypeAST *proto, ExprAST *body) {} 160 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 298 static FunctionAST *ParseDefinition() { 304 return new FunctionAST(Proto, E); 309 static FunctionAST *ParseTopLevelExpr() { 313 return new FunctionAST(Proto, E);
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 146 /// FunctionAST - This class represents a function definition itself. 147 class FunctionAST { 151 FunctionAST(PrototypeAST *proto, ExprAST *body) 187 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 325 static FunctionAST *ParseDefinition() { 331 return new FunctionAST(Proto, E); 336 static FunctionAST *ParseTopLevelExpr() { 340 return new FunctionAST(Proto, E); 451 Function *FunctionAST::Codegen() { 487 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 175 /// FunctionAST - This class represents a function definition itself. 176 class FunctionAST { 180 FunctionAST(PrototypeAST *proto, ExprAST *body) 216 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 426 static FunctionAST *ParseDefinition() { 432 return new FunctionAST(Proto, E); 437 static FunctionAST *ParseTopLevelExpr() { 441 return new FunctionAST(Proto, E); 696 Function *FunctionAST::Codegen() { 732 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 203 /// FunctionAST - This class represents a function definition itself. 204 class FunctionAST { 208 FunctionAST(PrototypeAST *proto, ExprAST *body) 244 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 511 static FunctionAST *ParseDefinition() { 517 return new FunctionAST(Proto, E); 522 static FunctionAST *ParseTopLevelExpr() { 526 return new FunctionAST(Proto, E); 800 Function *FunctionAST::Codegen() { 843 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 221 /// FunctionAST - This class represents a function definition itself. 222 class FunctionAST { 226 FunctionAST(PrototypeAST *proto, ExprAST *body) 262 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 576 static FunctionAST *ParseDefinition() { 582 return new FunctionAST(Proto, E); 587 static FunctionAST *ParseTopLevelExpr() { 591 return new FunctionAST(Proto, E); 960 Function *FunctionAST::Codegen() { 1006 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 239 /// FunctionAST - This class represents a function definition itself. 240 class FunctionAST { 244 FunctionAST(PrototypeAST *proto, ExprAST *body) 280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 594 static FunctionAST *ParseDefinition() { 600 return new FunctionAST(Proto, E); 605 static FunctionAST *ParseTopLevelExpr() { 609 return new FunctionAST(Proto, E); 985 Function *FunctionAST::Codegen() { 1031 if (FunctionAST *F = ParseDefinition()) [all...] |
toy.cpp | 245 /// FunctionAST - This class represents a function definition itself. 246 class FunctionAST { 250 FunctionAST(PrototypeAST *proto, ExprAST *body) 286 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 600 static FunctionAST *ParseDefinition() { 606 return new FunctionAST(Proto, E); 611 static FunctionAST *ParseTopLevelExpr() { 615 return new FunctionAST(Proto, E); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 222 /// FunctionAST - This class represents a function definition itself. 223 class FunctionAST { 227 FunctionAST(PrototypeAST *proto, ExprAST *body) 263 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 577 static FunctionAST *ParseDefinition() { 583 return new FunctionAST(Proto, E); 588 static FunctionAST *ParseTopLevelExpr() { 592 return new FunctionAST(Proto, E); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 224 /// FunctionAST - This class represents a function definition itself. 225 class FunctionAST { 229 FunctionAST(PrototypeAST *proto, ExprAST *body) 265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 579 static FunctionAST *ParseDefinition() { 585 return new FunctionAST(Proto, E); 590 static FunctionAST *ParseTopLevelExpr() { 594 return new FunctionAST(Proto, E); 967 Function *FunctionAST::Codegen() { 1013 if (FunctionAST *F = ParseDefinition()) [all...] |
toy.cpp | 224 /// FunctionAST - This class represents a function definition itself. 225 class FunctionAST { 229 FunctionAST(PrototypeAST *proto, ExprAST *body) 265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 579 static FunctionAST *ParseDefinition() { 585 return new FunctionAST(Proto, E); 590 static FunctionAST *ParseTopLevelExpr() { 594 return new FunctionAST(Proto, E); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 269 /// FunctionAST - This class represents a function definition itself. 270 class FunctionAST { 274 FunctionAST(PrototypeAST *proto, ExprAST *body) 310 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 624 static FunctionAST *ParseDefinition() { 630 return new FunctionAST(Proto, E); 635 static FunctionAST *ParseTopLevelExpr() { 639 return new FunctionAST(Proto, E); [all...] |