| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter2/ |
| H A D | toy.cpp | 135 class PrototypeAST { class 140 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anone55a916e0111::PrototypeAST 148 std::unique_ptr<PrototypeAST> Proto; 152 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 190 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 320 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 339 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 358 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 366 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter3/ |
| H A D | toy.cpp | 158 class PrototypeAST { class 163 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon59d7026f0111::PrototypeAST 172 std::unique_ptr<PrototypeAST> Proto; 176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 217 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 347 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 366 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 385 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 393 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 466 Function *PrototypeAST::codegen() { in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter4/ |
| H A D | toy.cpp | 168 class PrototypeAST { class 173 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anonce5373700111::PrototypeAST 182 std::unique_ptr<PrototypeAST> Proto; 186 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 227 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 357 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 376 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 395 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 403 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 418 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy-jit.cpp | 214 class PrototypeAST { class 241 PrototypeAST *Proto; 244 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 279 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 532 static PrototypeAST *ParsePrototype() { in ParsePrototype() 596 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 608 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 615 static PrototypeAST *ParseExtern() { in ParseExtern() 931 Function *PrototypeAST::Codegen() { in Codegen() 967 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas() [all …]
|
| H A D | toy.cpp | 221 class PrototypeAST { class 248 PrototypeAST *Proto; 251 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 286 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 539 static PrototypeAST *ParsePrototype() { in ParsePrototype() 603 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 615 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 622 static PrototypeAST *ParseExtern() { in ParseExtern() 1295 Function *PrototypeAST::Codegen() { in Codegen() 1338 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas() [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | toy-jit.cpp | 199 class PrototypeAST { class 226 PrototypeAST *Proto; 229 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 264 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 517 static PrototypeAST *ParsePrototype() { in ParsePrototype() 581 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 593 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 600 static PrototypeAST *ParseExtern() { in ParseExtern() 913 Function *PrototypeAST::Codegen() { in Codegen() 949 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas() [all …]
|
| H A D | toy.cpp | 200 class PrototypeAST { class 227 PrototypeAST *Proto; 230 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 265 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 518 static PrototypeAST *ParsePrototype() { in ParsePrototype() 582 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 594 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 601 static PrototypeAST *ParseExtern() { in ParseExtern() 1193 Function *PrototypeAST::Codegen() { in Codegen() 1236 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas() [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch1/include/toy/ |
| H A D | Parser.h | 397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 426 return parseError<PrototypeAST>( in parsePrototype() 431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|
| H A D | AST.h | 201 class PrototypeAST { 207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 218 std::unique_ptr<PrototypeAST> proto; 222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 225 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/ |
| H A D | Parser.h | 397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 426 return parseError<PrototypeAST>( in parsePrototype() 431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|
| H A D | AST.h | 201 class PrototypeAST { 207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 218 std::unique_ptr<PrototypeAST> proto; 222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 225 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/ |
| H A D | Parser.h | 397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 426 return parseError<PrototypeAST>( in parsePrototype() 431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|
| H A D | AST.h | 201 class PrototypeAST { 207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 218 std::unique_ptr<PrototypeAST> proto; 222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 225 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/ |
| H A D | Parser.h | 397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 426 return parseError<PrototypeAST>( in parsePrototype() 431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|
| H A D | AST.h | 201 class PrototypeAST { 207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 218 std::unique_ptr<PrototypeAST> proto; 222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 225 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/ |
| H A D | Parser.h | 397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 426 return parseError<PrototypeAST>( in parsePrototype() 431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|
| H A D | AST.h | 201 class PrototypeAST { 207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 218 std::unique_ptr<PrototypeAST> proto; 222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 225 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/ |
| H A D | Parser.h | 397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 426 return parseError<PrototypeAST>( in parsePrototype() 431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|
| H A D | AST.h | 201 class PrototypeAST { 207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 218 std::unique_ptr<PrototypeAST> proto; 222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 225 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/ |
| H A D | toy.cpp | 213 class PrototypeAST { class 218 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon42cfe4710111::PrototypeAST 227 std::unique_ptr<PrototypeAST> Proto; 231 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 272 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 484 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 503 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 522 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 530 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 545 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/ |
| H A D | toy.cpp | 198 class PrototypeAST { class 225 PrototypeAST *Proto; 228 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 263 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 516 static PrototypeAST *ParsePrototype() { in ParsePrototype() 580 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 592 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 599 static PrototypeAST *ParseExtern() { in ParseExtern() 1153 Function *PrototypeAST::Codegen() { in Codegen() 1196 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas() [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/ |
| H A D | toy.cpp | 233 class PrototypeAST { class 240 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anonb74c55720111::PrototypeAST 261 std::unique_ptr<PrototypeAST> Proto; 265 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 306 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 536 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 594 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 614 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 622 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 637 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 240 class PrototypeAST { class 267 PrototypeAST *Proto; 270 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 305 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 558 static PrototypeAST *ParsePrototype() { in ParsePrototype() 622 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 634 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 641 static PrototypeAST *ParseExtern() { in ParseExtern() 1373 Function *PrototypeAST::Codegen() { in Codegen() 1416 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas() [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/ |
| H A D | AST.h | 221 class PrototypeAST { 227 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function 255 std::unique_ptr<PrototypeAST> proto; 259 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST() 263 PrototypeAST *getProto() { return proto.get(); } in getProto()
|
| H A D | Parser.h | 535 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype() 539 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype() 543 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype() 549 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype() 581 return parseError<PrototypeAST>( in parsePrototype() 586 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype() 590 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
|