/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 140 /// FunctionAST - This class represents a function definition itself. 141 class FunctionAST { class in namespace:__anon10095 145 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:__anon10095::FunctionAST 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 * [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 125 /// FunctionAST - This class represents a function definition itself. 126 class FunctionAST { class in namespace:__anon10094 128 FunctionAST(PrototypeAST *proto, ExprAST *body) {} function in class:__anon10094::FunctionAST 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/ |
H A D | toy.cpp | 158 /// FunctionAST - This class represents a function definition itself. 159 class FunctionAST { class in namespace:__anon10096 164 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} function in class:__anon10096::FunctionAST 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 * [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 198 /// FunctionAST - This class represents a function definition itself. 199 class FunctionAST { class in namespace:__anon10097 204 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} function in class:__anon10097::FunctionAST 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 * [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 229 /// FunctionAST - This class represents a function definition itself. 230 class FunctionAST { class in namespace:__anon10098 235 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} function in class:__anon10098::FunctionAST 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 * [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 249 /// FunctionAST - This class represents a function definition itself. 250 class FunctionAST { class in namespace:__anon10099 255 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} function in class:__anon10099::FunctionAST 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 * [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
H A D | toy.cpp | 384 /// FunctionAST - This class represents a function definition itself. 385 class FunctionAST { class in namespace:__anon10101 390 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} function in class:__anon10101::FunctionAST 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); 1269 Function *FunctionAST [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 239 /// FunctionAST - This class represents a function definition itself. 240 class FunctionAST { class 244 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST 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 * [all...] |
H A D | toy.cpp | 246 /// FunctionAST - This class represents a function definition itself. 247 class FunctionAST { class 251 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST 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); 1356 Function *FunctionAST::Codegen() { 1397 if (FunctionAST * [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 223 /// FunctionAST - This class represents a function definition itself. 224 class FunctionAST { class 228 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST 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); 1214 Function *FunctionAST::Codegen() { 1255 if (FunctionAST * [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 224 /// FunctionAST - This class represents a function definition itself. 225 class FunctionAST { class 229 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST 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 * [all...] |
H A D | toy.cpp | 225 /// FunctionAST - This class represents a function definition itself. 226 class FunctionAST { class 230 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST 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); 1254 Function *FunctionAST::Codegen() { 1295 if (FunctionAST * [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
H A D | toy.cpp | 239 /// FunctionAST - This class represents a function definition itself. 240 struct FunctionAST { struct 241 FunctionAST(std::unique_ptr<PrototypeAST> Proto, function in struct:FunctionAST 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)); 1097 Function *FunctionAST::IRGen(IRGenContext &C) const { 1138 const FunctionAST &F) { 1187 void addFunctionAST(std::unique_ptr<FunctionAST> FnAS [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 265 /// FunctionAST - This class represents a function definition itself. 266 class FunctionAST { class 270 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST 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); 1434 Function *FunctionAST::Codegen() { 1475 if (FunctionAST * [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
H A D | toy.cpp | 238 /// FunctionAST - This class represents a function definition itself. 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, function in struct:FunctionAST 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)); 1096 Function *FunctionAST::IRGen(IRGenContext &C) const { 1137 const FunctionAST &F) { 1178 void addFunctionAST(std::unique_ptr<FunctionAST> FnAS [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
H A D | toy.cpp | 238 /// FunctionAST - This class represents a function definition itself. 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, function in struct:FunctionAST 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)); 1096 Function *FunctionAST::IRGen(IRGenContext &C) const { 1137 const FunctionAST &F) {
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
H A D | toy.cpp | 238 /// FunctionAST - This class represents a function definition itself. 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, function in struct:FunctionAST 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)); 1096 Function *FunctionAST::IRGen(IRGenContext &C) const { 1137 const FunctionAST &F) {
|