/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 153 class FunctionAST { class 158 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anonfacb3f6c0111::FunctionAST 348 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 355 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 360 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 365 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 154 class FunctionAST { class 159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon6f47b06d0111::FunctionAST 351 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 358 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 363 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 368 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 465 Function *FunctionAST::codegen() { in codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 160 class FunctionAST { class 165 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anone3c4216e0111::FunctionAST 357 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 364 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 369 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 374 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 489 Function *FunctionAST::codegen() { in codegen()
|
/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/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/Chapter5/ |
D | toy.cpp | 202 class FunctionAST { class 207 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon5840926f0111::FunctionAST 481 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 488 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 493 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 498 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 763 Function *FunctionAST::codegen() { in codegen()
|
/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() 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() 1095 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1136 const FunctionAST &F) { in IRGen() 1183 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() 1251 ModuleHandleT irGenStub(std::unique_ptr<FunctionAST> FnAST) { in irGenStub() [all …]
|
/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() argument 617 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 624 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 629 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 634 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1094 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1135 const FunctionAST &F) { in IRGen() 1176 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() 1241 std::map<std::string, std::unique_ptr<FunctionAST>> FunctionDefs;
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 235 class FunctionAST { class 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anonccbd03700111::FunctionAST 572 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 579 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 584 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 589 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 874 Function *FunctionAST::codegen() { in codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 254 class FunctionAST { class 259 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon413974710111::FunctionAST 642 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 649 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 654 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 659 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1032 Function *FunctionAST::codegen() { in codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 239 struct FunctionAST { struct 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function 617 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 624 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 629 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 634 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1094 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1135 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() argument 617 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 624 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(Body)); in ParseDefinition() 629 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 634 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1094 Function *FunctionAST::IRGen(IRGenContext &C) const { in IRGen() 1135 const FunctionAST &F) { in IRGen()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 385 class FunctionAST { class 390 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anonb5b5e5720211::FunctionAST 786 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition() 793 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition() 798 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr() 804 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr() 1227 Function *FunctionAST::codegen() { in codegen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl2.rst | 124 /// FunctionAST - This class represents a function definition itself. 125 class FunctionAST { 130 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 601 static std::unique_ptr<FunctionAST> ParseDefinition() { 607 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); 630 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { 634 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
|
D | LangImpl4.rst | 165 ``FunctionAST::codegen()``), but before it is returned to the client: 431 Function *FunctionAST::codegen() { 447 call to ``TheModule->getFunction()``. In ``FunctionAST::codegen()`` we need to
|
D | LangImpl3.rst | 320 Function *FunctionAST::codegen() { 400 This code does have a bug, though: If the ``FunctionAST::codegen()`` method
|
D | LangImpl8.rst | 423 ``FunctionAST::CodeGen`` we add a couple of lines:
|
D | LangImpl6.rst | 279 Function *FunctionAST::codegen() {
|
D | LangImpl7.rst | 429 for the argument. This method gets invoked by ``FunctionAST::codegen()``
|