/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 141 class FunctionAST { class 145 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in __anon1fdfa9a10111::FunctionAST 182 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 320 static FunctionAST *ParseDefinition() { in ParseDefinition() 326 return new FunctionAST(Proto, E); in ParseDefinition() 331 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 335 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 445 Function *FunctionAST::Codegen() { in Codegen() 476 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 501 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 126 class FunctionAST { class 128 FunctionAST(PrototypeAST *proto, ExprAST *body) {} in FunctionAST() function in __anonab6338a00111::FunctionAST 299 static FunctionAST *ParseDefinition() { in ParseDefinition() 305 return new FunctionAST(Proto, E); in ParseDefinition() 310 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 314 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 159 class FunctionAST { class 164 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST() function in __anon945c1aa20111::FunctionAST 205 FunctionAST *ErrorF(const char *Str) { in ErrorF() 356 static FunctionAST *ParseDefinition() { in ParseDefinition() 363 return new FunctionAST(Proto, E); in ParseDefinition() 368 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 372 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 729 Function *FunctionAST::Codegen() { in Codegen() 760 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 785 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 199 class FunctionAST { class 204 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST() function in __anon08d88ba30111::FunctionAST 245 FunctionAST *ErrorF(const char *Str) { in ErrorF() 476 static FunctionAST *ParseDefinition() { in ParseDefinition() 483 return new FunctionAST(Proto, E); in ParseDefinition() 488 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 492 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 764 Function *FunctionAST::Codegen() { in Codegen() 800 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 825 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 230 class FunctionAST { class 235 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST() function in __anon7d54fca40111::FunctionAST 276 FunctionAST *ErrorF(const char *Str) { in ErrorF() 564 static FunctionAST *ParseDefinition() { in ParseDefinition() 571 return new FunctionAST(Proto, E); in ParseDefinition() 576 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 580 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 872 Function *FunctionAST::Codegen() { in Codegen() 915 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 940 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 240 class FunctionAST { class 244 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST 280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 594 static FunctionAST *ParseDefinition() { in ParseDefinition() 600 return new FunctionAST(Proto, E); in ParseDefinition() 605 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 609 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 985 Function *FunctionAST::Codegen() { in Codegen() 1031 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1060 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
D | toy.cpp | 247 class FunctionAST { class 251 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST 287 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 601 static FunctionAST *ParseDefinition() { in ParseDefinition() 607 return new FunctionAST(Proto, E); in ParseDefinition() 612 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 616 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 1356 Function *FunctionAST::Codegen() { in Codegen() 1397 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1427 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 250 class FunctionAST { class 255 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST() function in __anonf1d16da50111::FunctionAST 296 FunctionAST *ErrorF(const char *Str) { in ErrorF() 635 static FunctionAST *ParseDefinition() { in ParseDefinition() 642 return new FunctionAST(Proto, E); in ParseDefinition() 647 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 651 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 1042 Function *FunctionAST::Codegen() { in Codegen() 1088 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1113 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 225 class FunctionAST { class 229 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST 265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 579 static FunctionAST *ParseDefinition() { in ParseDefinition() 585 return new FunctionAST(Proto, E); in ParseDefinition() 590 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 594 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 967 Function *FunctionAST::Codegen() { in Codegen() 1013 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1042 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
D | toy.cpp | 226 class FunctionAST { class 230 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST 266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 580 static FunctionAST *ParseDefinition() { in ParseDefinition() 586 return new FunctionAST(Proto, E); in ParseDefinition() 591 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 595 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 1254 Function *FunctionAST::Codegen() { in Codegen() 1295 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1325 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 224 class FunctionAST { class 228 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST 264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 578 static FunctionAST *ParseDefinition() { in ParseDefinition() 584 return new FunctionAST(Proto, E); in ParseDefinition() 589 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 593 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 1214 Function *FunctionAST::Codegen() { in Codegen() 1255 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1284 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 240 struct FunctionAST { struct 241 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument 619 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 626 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 631 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 636 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1097 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1138 const FunctionAST &F) { in IRGen() 1187 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() 1255 ModuleHandleT irGenStub(std::unique_ptr<FunctionAST> FnAST) { in irGenStub() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 385 class FunctionAST { class 390 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST() function in __anon664ddea60211::FunctionAST 438 FunctionAST *ErrorF(const char *Str) { in ErrorF() 784 static FunctionAST *ParseDefinition() { in ParseDefinition() 791 return new FunctionAST(Proto, E); in ParseDefinition() 796 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 802 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 1269 Function *FunctionAST::Codegen() { in Codegen() 1333 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1356 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 266 class FunctionAST { class 270 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST 306 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF() 620 static FunctionAST *ParseDefinition() { in ParseDefinition() 626 return new FunctionAST(Proto, E); in ParseDefinition() 631 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr() 635 return new FunctionAST(Proto, E); in ParseTopLevelExpr() 1434 Function *FunctionAST::Codegen() { in Codegen() 1475 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition() 1504 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function 618 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1096 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1137 const FunctionAST &F) { in IRGen() 1178 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() 1244 std::map<std::string, std::unique_ptr<FunctionAST>> FunctionDefs;
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument 618 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1096 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1137 const FunctionAST &F) { in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function 618 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 625 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 635 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1096 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1137 const FunctionAST &F) { in IRGen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl2.rst | 117 /// FunctionAST - This class represents a function definition itself. 118 class FunctionAST { 122 FunctionAST(PrototypeAST *proto, ExprAST *body) 172 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } 573 static FunctionAST *ParseDefinition() { 579 return new FunctionAST(Proto, E); 602 static FunctionAST *ParseTopLevelExpr() { 606 return new FunctionAST(Proto, E);
|
D | LangImpl8.rst | 111 if (FunctionAST *F = ParseTopLevelExpr()) { 420 ``FunctionAST::CodeGen`` we add a couple of lines:
|
D | LangImpl4.rst | 169 ``FunctionAST::Codegen``), but before it is returned to the client: 263 if (FunctionAST *F = ParseTopLevelExpr()) {
|
D | LangImpl6.rst | 266 Function *FunctionAST::Codegen() {
|
D | LangImpl3.rst | 367 Function *FunctionAST::Codegen() {
|
D | LangImpl7.rst | 426 for the argument. This method gets invoked by ``FunctionAST::Codegen``
|