/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 140 /// FunctionAST - This class represents a function definition itself. 141 class FunctionAST { 145 FunctionAST(PrototypeAST *proto, ExprAST *body) 182 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 320 static FunctionAST *ParseDefinition() { 326 return new FunctionAST(Proto, E); 331 static FunctionAST *ParseTopLevelExpr() { 335 return new FunctionAST(Proto, E); 445 Function *FunctionAST::Codegen() { 476 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 125 /// FunctionAST - This class represents a function definition itself. 126 class FunctionAST { 128 FunctionAST(PrototypeAST *proto, ExprAST *body) {} 299 static FunctionAST *ParseDefinition() { 305 return new FunctionAST(Proto, E); 310 static FunctionAST *ParseTopLevelExpr() { 314 return new FunctionAST(Proto, E);
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 158 /// FunctionAST - This class represents a function definition itself. 159 class FunctionAST { 164 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 205 FunctionAST *ErrorF(const char *Str) { 356 static FunctionAST *ParseDefinition() { 363 return new FunctionAST(Proto, E); 368 static FunctionAST *ParseTopLevelExpr() { 372 return new FunctionAST(Proto, E); 729 Function *FunctionAST::Codegen() { 760 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 198 /// FunctionAST - This class represents a function definition itself. 199 class FunctionAST { 204 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 245 FunctionAST *ErrorF(const char *Str) { 476 static FunctionAST *ParseDefinition() { 483 return new FunctionAST(Proto, E); 488 static FunctionAST *ParseTopLevelExpr() { 492 return new FunctionAST(Proto, E); 764 Function *FunctionAST::Codegen() { 800 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 229 /// FunctionAST - This class represents a function definition itself. 230 class FunctionAST { 235 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 276 FunctionAST *ErrorF(const char *Str) { 564 static FunctionAST *ParseDefinition() { 571 return new FunctionAST(Proto, E); 576 static FunctionAST *ParseTopLevelExpr() { 580 return new FunctionAST(Proto, E); 872 Function *FunctionAST::Codegen() { 915 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 249 /// FunctionAST - This class represents a function definition itself. 250 class FunctionAST { 255 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 296 FunctionAST *ErrorF(const char *Str) { 635 static FunctionAST *ParseDefinition() { 642 return new FunctionAST(Proto, E); 647 static FunctionAST *ParseTopLevelExpr() { 651 return new FunctionAST(Proto, E); 1042 Function *FunctionAST::Codegen() { 1088 if (FunctionAST *F = ParseDefinition()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 384 /// FunctionAST - This class represents a function definition itself. 385 class FunctionAST { 390 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 393 indent(out, ind) << "FunctionAST\n"; 438 FunctionAST *ErrorF(const char *Str) { 784 static FunctionAST *ParseDefinition() { 791 return new FunctionAST(Proto, E); 796 static FunctionAST *ParseTopLevelExpr() { 802 return new FunctionAST(Proto, E); [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 | 246 /// FunctionAST - This class represents a function definition itself. 247 class FunctionAST { 251 FunctionAST(PrototypeAST *proto, ExprAST *body) 287 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 601 static FunctionAST *ParseDefinition() { 607 return new FunctionAST(Proto, E); 612 static FunctionAST *ParseTopLevelExpr() { 616 return new FunctionAST(Proto, E); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 223 /// FunctionAST - This class represents a function definition itself. 224 class FunctionAST { 228 FunctionAST(PrototypeAST *proto, ExprAST *body) 264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 578 static FunctionAST *ParseDefinition() { 584 return new FunctionAST(Proto, E); 589 static FunctionAST *ParseTopLevelExpr() { 593 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 | 225 /// FunctionAST - This class represents a function definition itself. 226 class FunctionAST { 230 FunctionAST(PrototypeAST *proto, ExprAST *body) 266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 580 static FunctionAST *ParseDefinition() { 586 return new FunctionAST(Proto, E); 591 static FunctionAST *ParseTopLevelExpr() { 595 return new FunctionAST(Proto, E); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
toy.cpp | 239 /// FunctionAST - This class represents a function definition itself. 240 struct FunctionAST { 241 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 619 static std::unique_ptr<FunctionAST> ParseDefinition() { 626 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); 631 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { 636 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 265 /// FunctionAST - This class represents a function definition itself. 266 class FunctionAST { 270 FunctionAST(PrototypeAST *proto, ExprAST *body) 306 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 620 static FunctionAST *ParseDefinition() { 626 return new FunctionAST(Proto, E); 631 static FunctionAST *ParseTopLevelExpr() { 635 return new FunctionAST(Proto, E); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
toy.cpp | 238 /// FunctionAST - This class represents a function definition itself. 239 struct FunctionAST { 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 618 static std::unique_ptr<FunctionAST> ParseDefinition() { 625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { 635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
toy.cpp | 238 /// FunctionAST - This class represents a function definition itself. 239 struct FunctionAST { 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 618 static std::unique_ptr<FunctionAST> ParseDefinition() { 625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { 635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
toy.cpp | 238 /// FunctionAST - This class represents a function definition itself. 239 struct FunctionAST { 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 618 static std::unique_ptr<FunctionAST> ParseDefinition() { 625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { 635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); [all...] |