/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 119 class PrototypeAST { class 123 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST 130 PrototypeAST *Proto; 133 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 167 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 283 static PrototypeAST *ParsePrototype() { in ParsePrototype() 302 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 308 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 327 static PrototypeAST *ParseExtern() { in ParseExtern()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 129 class PrototypeAST { class 133 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST 141 PrototypeAST *Proto; 144 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 179 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 295 static PrototypeAST *ParsePrototype() { in ParsePrototype() 314 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 320 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 339 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 136 class PrototypeAST { class 140 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST 148 PrototypeAST *Proto; 151 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 186 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 302 static PrototypeAST *ParsePrototype() { in ParsePrototype() 321 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 327 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 346 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 144 class PrototypeAST { class 149 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anondd17c0dd0111::PrototypeAST 155 std::unique_ptr<PrototypeAST> Proto; 159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 196 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 326 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 345 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 364 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 372 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 159 class PrototypeAST { class 164 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anonc610a2df0111::PrototypeAST 172 std::unique_ptr<PrototypeAST> Proto; 176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 215 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 345 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 364 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 383 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 391 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 406 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 150 class PrototypeAST { class 155 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon519431de0111::PrototypeAST 163 std::unique_ptr<PrototypeAST> Proto; 167 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 206 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 336 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 355 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 374 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 382 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 455 Function *PrototypeAST::codegen() { in codegen()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 165 class PrototypeAST { class 169 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST 177 PrototypeAST *Proto; 180 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 215 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 403 static PrototypeAST *ParsePrototype() { in ParsePrototype() 422 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 428 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 440 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 447 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 180 class PrototypeAST { class 186 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 205 PrototypeAST *Proto; 208 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 243 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 449 static PrototypeAST *ParsePrototype() { in ParsePrototype() 507 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 513 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 532 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 214 class PrototypeAST { class 220 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 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() 590 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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() [all …]
|
D | toy.cpp | 221 class PrototypeAST { class 227 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 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() 597 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 199 class PrototypeAST { class 205 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 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() 575 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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() [all …]
|
D | toy.cpp | 200 class PrototypeAST { class 206 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 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() 576 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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() [all …]
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 196 class PrototypeAST { class 202 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 223 PrototypeAST *Proto; 226 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 261 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 514 static PrototypeAST *ParsePrototype() { in ParsePrototype() 572 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 578 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 597 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 202 class PrototypeAST { class 207 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon3a8d13e00111::PrototypeAST 215 std::unique_ptr<PrototypeAST> Proto; 219 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 258 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 470 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 489 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype() 508 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 516 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 531 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 38 class PrototypeAST; variable 43 std::unique_ptr<PrototypeAST> Proto; 47 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 50 const PrototypeAST& getProto() const;
|
D | toy.cpp | 242 class PrototypeAST { class 249 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in PrototypeAST 299 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 580 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 638 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 658 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 666 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 680 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; 1011 Function *PrototypeAST::codegen() { in codegen() 1028 const PrototypeAST& FunctionAST::getProto() const { in getProto() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 198 class PrototypeAST { class 204 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 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() 574 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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() [all …]
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | toy.cpp | 257 class PrototypeAST { class 264 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in PrototypeAST 314 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 595 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 653 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 679 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 688 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 702 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; 1033 Function *PrototypeAST::codegen() { in codegen() 1050 const PrototypeAST& FunctionAST::getProto() const { in getProto() [all …]
|
D | KaleidoscopeJIT.h | 40 class PrototypeAST; variable 45 std::unique_ptr<PrototypeAST> Proto; 49 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 52 const PrototypeAST& getProto() const;
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 221 class PrototypeAST { class 228 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anonaf0984e10111::PrototypeAST 248 std::unique_ptr<PrototypeAST> Proto; 252 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 291 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 521 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 579 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 599 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 607 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 622 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
D | toy.cpp | 241 class PrototypeAST { class 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anon2d3c53c10111::PrototypeAST 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 692 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
D | toy.cpp | 241 class PrototypeAST { class 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anon163535c30111::PrototypeAST 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 692 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
D | toy.cpp | 241 class PrototypeAST { class 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anona1b8c4c20111::PrototypeAST 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 692 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 240 class PrototypeAST { class 246 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 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() 616 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 241 class PrototypeAST { class 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anon2385f5e20111::PrototypeAST 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP() 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype() 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype() 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() 678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern() 693 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; [all …]
|