/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 113 /// PrototypeAST - This class represents the "prototype" for a function, 116 class PrototypeAST { 120 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 128 FunctionAST(PrototypeAST *proto, ExprAST *body) {} 161 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 276 static PrototypeAST *ParsePrototype() { 295 return new PrototypeAST(FnName, ArgNames); 301 PrototypeAST *Proto = ParsePrototype(); 313 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 127 /// PrototypeAST - This class represents the "prototype" for a function, 130 class PrototypeAST { 134 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 142 PrototypeAST *Proto; 145 FunctionAST(PrototypeAST *proto, ExprAST *body) 181 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 297 static PrototypeAST *ParsePrototype() { 316 return new PrototypeAST(FnName, ArgNames); 322 PrototypeAST *Proto = ParsePrototype(); 334 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 144 /// PrototypeAST - This class represents the "prototype" for a function, 147 class PrototypeAST { 152 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 160 PrototypeAST *Proto; 164 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 201 PrototypeAST *ErrorP(const char *Str) { 333 static PrototypeAST *ParsePrototype() { 352 return new PrototypeAST(FnName, ArgNames); 358 PrototypeAST *Proto = ParsePrototype(); 371 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 184 /// PrototypeAST - This class represents the "prototype" for a function, 187 class PrototypeAST { 192 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 200 PrototypeAST *Proto; 204 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 241 PrototypeAST *ErrorP(const char *Str) { 453 static PrototypeAST *ParsePrototype() { 472 return new PrototypeAST(FnName, ArgNames); 478 PrototypeAST *Proto = ParsePrototype(); 491 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 203 /// PrototypeAST - This class represents the "prototype" for a function, 206 class PrototypeAST { 212 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 231 PrototypeAST *Proto; 235 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 272 PrototypeAST *ErrorP(const char *Str) { 502 static PrototypeAST *ParsePrototype() { 560 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 566 PrototypeAST *Proto = ParsePrototype(); 579 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
toy.cpp | 214 /// PrototypeAST - This class represents the "prototype" for a function, 216 struct PrototypeAST { 217 PrototypeAST(std::string Name, std::vector<std::string> Args, 241 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 247 std::unique_ptr<PrototypeAST> Proto; 556 static std::unique_ptr<PrototypeAST> ParsePrototype() { 564 return ErrorU<PrototypeAST>("Expected function name in prototype"); 573 return ErrorU<PrototypeAST>("Expected unary operator"); 582 return ErrorU<PrototypeAST>("Expected binary operator"); 591 return ErrorU<PrototypeAST>("Invalid precedecnce: must be 1..100") [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
toy.cpp | 213 /// PrototypeAST - This class represents the "prototype" for a function, 215 struct PrototypeAST { 216 PrototypeAST(std::string Name, std::vector<std::string> Args, 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 246 std::unique_ptr<PrototypeAST> Proto; 555 static std::unique_ptr<PrototypeAST> ParsePrototype() { 563 return ErrorU<PrototypeAST>("Expected function name in prototype"); 572 return ErrorU<PrototypeAST>("Expected unary operator"); 581 return ErrorU<PrototypeAST>("Expected binary operator"); 590 return ErrorU<PrototypeAST>("Invalid precedecnce: must be 1..100") [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
toy.cpp | 213 /// PrototypeAST - This class represents the "prototype" for a function, 215 struct PrototypeAST { 216 PrototypeAST(std::string Name, std::vector<std::string> Args, 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 246 std::unique_ptr<PrototypeAST> Proto; 555 static std::unique_ptr<PrototypeAST> ParsePrototype() { 563 return ErrorU<PrototypeAST>("Expected function name in prototype"); 572 return ErrorU<PrototypeAST>("Expected unary operator"); 581 return ErrorU<PrototypeAST>("Expected binary operator"); 590 return ErrorU<PrototypeAST>("Invalid precedecnce: must be 1..100") [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
toy.cpp | 213 /// PrototypeAST - This class represents the "prototype" for a function, 215 struct PrototypeAST { 216 PrototypeAST(std::string Name, std::vector<std::string> Args, 240 FunctionAST(std::unique_ptr<PrototypeAST> Proto, 246 std::unique_ptr<PrototypeAST> Proto; 555 static std::unique_ptr<PrototypeAST> ParsePrototype() { 563 return ErrorU<PrototypeAST>("Expected function name in prototype"); 572 return ErrorU<PrototypeAST>("Expected unary operator"); 581 return ErrorU<PrototypeAST>("Expected binary operator"); 590 return ErrorU<PrototypeAST>("Invalid precedecnce: must be 1..100") [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 91 class PrototypeAST; 99 std::map<const PrototypeAST *, DIScope> FnScopeMap; 352 /// PrototypeAST - This class represents the "prototype" for a function, 354 class PrototypeAST { 362 PrototypeAST(SourceLocation Loc, const std::string &name, 386 PrototypeAST *Proto; 390 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 434 PrototypeAST *ErrorP(const char *Str) { 720 static PrototypeAST *ParsePrototype() { 780 return new PrototypeAST(FnLoc, FnName, ArgNames, Kind != 0, BinaryPrecedence) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 222 /// PrototypeAST - This class represents the "prototype" for a function, 224 class PrototypeAST { 230 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 251 PrototypeAST *Proto; 255 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} 292 PrototypeAST *ErrorP(const char *Str) { 573 static PrototypeAST *ParsePrototype() { 631 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 637 PrototypeAST *Proto = ParsePrototype(); 650 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [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/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 238 /// PrototypeAST - This class represents the "prototype" for a function, 240 class PrototypeAST { 246 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 267 PrototypeAST *Proto; 270 FunctionAST(PrototypeAST *proto, ExprAST *body) 305 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 558 static PrototypeAST *ParsePrototype() { 616 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 622 PrototypeAST *Proto = ParsePrototype(); 634 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()) [all...] |