/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 116 /// PrototypeAST - This class represents the "prototype" for a function, 119 class PrototypeAST { 123 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 130 PrototypeAST *Proto; 133 FunctionAST(PrototypeAST *proto, ExprAST *body) 167 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 283 static PrototypeAST *ParsePrototype() { 302 return new PrototypeAST(FnName, ArgNames); 308 PrototypeAST *Proto = ParsePrototype(); 320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 126 /// PrototypeAST - This class represents the "prototype" for a function, 129 class PrototypeAST { 133 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 141 PrototypeAST *Proto; 144 FunctionAST(PrototypeAST *proto, ExprAST *body) 179 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 295 static PrototypeAST *ParsePrototype() { 314 return new PrototypeAST(FnName, ArgNames); 320 PrototypeAST *Proto = ParsePrototype(); 332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 133 /// PrototypeAST - This class represents the "prototype" for a function, 136 class PrototypeAST { 140 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 148 PrototypeAST *Proto; 151 FunctionAST(PrototypeAST *proto, ExprAST *body) 186 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 302 static PrototypeAST *ParsePrototype() { 321 return new PrototypeAST(FnName, ArgNames); 327 PrototypeAST *Proto = ParsePrototype(); 339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 141 /// PrototypeAST - This class represents the "prototype" for a function, 144 class PrototypeAST { 149 PrototypeAST(const std::string &Name, std::vector<std::string> Args) 155 std::unique_ptr<PrototypeAST> Proto; 159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 196 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 326 static std::unique_ptr<PrototypeAST> ParsePrototype() { 345 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); 364 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr", 372 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 156 /// PrototypeAST - This class represents the "prototype" for a function, 159 class PrototypeAST { 164 PrototypeAST(const std::string &Name, std::vector<std::string> Args) 172 std::unique_ptr<PrototypeAST> Proto; 176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 215 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 345 static std::unique_ptr<PrototypeAST> ParsePrototype() { 364 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); 383 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 391 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 147 /// PrototypeAST - This class represents the "prototype" for a function, 150 class PrototypeAST { 155 PrototypeAST(const std::string &Name, std::vector<std::string> Args) 163 std::unique_ptr<PrototypeAST> Proto; 167 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 206 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 336 static std::unique_ptr<PrototypeAST> ParsePrototype() { 355 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); 374 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 382 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 162 /// PrototypeAST - This class represents the "prototype" for a function, 165 class PrototypeAST { 169 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 177 PrototypeAST *Proto; 180 FunctionAST(PrototypeAST *proto, ExprAST *body) 215 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 403 static PrototypeAST *ParsePrototype() { 422 return new PrototypeAST(FnName, ArgNames); 428 PrototypeAST *Proto = ParsePrototype(); 440 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 177 /// PrototypeAST - This class represents the "prototype" for a function, 180 class PrototypeAST { 186 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 205 PrototypeAST *Proto; 208 FunctionAST(PrototypeAST *proto, ExprAST *body) 243 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 449 static PrototypeAST *ParsePrototype() { 507 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 513 PrototypeAST *Proto = ParsePrototype(); 525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 199 /// PrototypeAST - This class represents the "prototype" for a function, 202 class PrototypeAST { 207 PrototypeAST(const std::string &Name, std::vector<std::string> Args) 215 std::unique_ptr<PrototypeAST> Proto; 219 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 258 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 470 static std::unique_ptr<PrototypeAST> ParsePrototype() { 489 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); 508 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 516 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
KaleidoscopeJIT.h | 38 class PrototypeAST; 43 std::unique_ptr<PrototypeAST> Proto; 47 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 50 const PrototypeAST& getProto() const;
|
toy.cpp | 239 /// PrototypeAST - This class represents the "prototype" for a function, 242 class PrototypeAST { 249 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 299 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 580 static std::unique_ptr<PrototypeAST> ParsePrototype() { 638 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 658 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 666 static std::unique_ptr<PrototypeAST> ParseExtern() { 680 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; 1011 Function *PrototypeAST::codegen() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
KaleidoscopeJIT.h | 40 class PrototypeAST; 45 std::unique_ptr<PrototypeAST> Proto; 49 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 52 const PrototypeAST& getProto() const;
|
toy.cpp | 254 /// PrototypeAST - This class represents the "prototype" for a function, 257 class PrototypeAST { 264 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 314 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 595 static std::unique_ptr<PrototypeAST> ParsePrototype() { 653 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 679 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 688 static std::unique_ptr<PrototypeAST> ParseExtern() { 702 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; 1033 Function *PrototypeAST::codegen() [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 212 /// PrototypeAST - This class represents the "prototype" for a function, 214 class PrototypeAST { 220 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 241 PrototypeAST *Proto; 244 FunctionAST(PrototypeAST *proto, ExprAST *body) 279 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 532 static PrototypeAST *ParsePrototype() { 590 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 596 PrototypeAST *Proto = ParsePrototype(); 608 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
toy.cpp | 219 /// PrototypeAST - This class represents the "prototype" for a function, 221 class PrototypeAST { 227 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 248 PrototypeAST *Proto; 251 FunctionAST(PrototypeAST *proto, ExprAST *body) 286 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 539 static PrototypeAST *ParsePrototype() { 597 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 603 PrototypeAST *Proto = ParsePrototype(); 615 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 196 /// PrototypeAST - This class represents the "prototype" for a function, 198 class PrototypeAST { 204 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 225 PrototypeAST *Proto; 228 FunctionAST(PrototypeAST *proto, ExprAST *body) 263 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 516 static PrototypeAST *ParsePrototype() { 574 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 580 PrototypeAST *Proto = ParsePrototype(); 592 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 197 /// PrototypeAST - This class represents the "prototype" for a function, 199 class PrototypeAST { 205 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 226 PrototypeAST *Proto; 229 FunctionAST(PrototypeAST *proto, ExprAST *body) 264 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 517 static PrototypeAST *ParsePrototype() { 575 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 581 PrototypeAST *Proto = ParsePrototype(); 593 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
toy.cpp | 198 /// PrototypeAST - This class represents the "prototype" for a function, 200 class PrototypeAST { 206 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 227 PrototypeAST *Proto; 230 FunctionAST(PrototypeAST *proto, ExprAST *body) 265 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 518 static PrototypeAST *ParsePrototype() { 576 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 582 PrototypeAST *Proto = ParsePrototype(); 594 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 194 /// PrototypeAST - This class represents the "prototype" for a function, 196 class PrototypeAST { 202 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 223 PrototypeAST *Proto; 226 FunctionAST(PrototypeAST *proto, ExprAST *body) 261 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 514 static PrototypeAST *ParsePrototype() { 572 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 578 PrototypeAST *Proto = ParsePrototype(); 590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
toy.cpp | 238 /// PrototypeAST - This class represents the "prototype" for a function, 241 class PrototypeAST { 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 678 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
toy.cpp | 238 /// PrototypeAST - This class represents the "prototype" for a function, 241 class PrototypeAST { 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 678 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
toy.cpp | 238 /// PrototypeAST - This class represents the "prototype" for a function, 241 class PrototypeAST { 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 678 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 218 /// PrototypeAST - This class represents the "prototype" for a function, 221 class PrototypeAST { 228 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 248 std::unique_ptr<PrototypeAST> Proto; 252 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 291 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 521 static std::unique_ptr<PrototypeAST> ParsePrototype() { 579 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 599 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 607 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 238 /// PrototypeAST - This class represents the "prototype" for a function, 241 class PrototypeAST { 248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 268 std::unique_ptr<PrototypeAST> Proto; 272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 592 static std::unique_ptr<PrototypeAST> ParsePrototype() { 650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 678 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 235 /// PrototypeAST - This class represents the "prototype" for a function, 238 class PrototypeAST { 245 PrototypeAST(const std::string &Name, std::vector<std::string> Args, 265 std::unique_ptr<PrototypeAST> Proto; 269 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 308 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { 589 static std::unique_ptr<PrototypeAST> ParsePrototype() { 647 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, 667 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", 675 static std::unique_ptr<PrototypeAST> ParseExtern() [all...] |