/external/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 113 /// PrototypeAST - This class represents the "prototype" for a function, 116 class PrototypeAST { class in namespace:__anon10099 120 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:__anon10099::PrototypeAST 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("", st [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 127 /// PrototypeAST - This class represents the "prototype" for a function, 130 class PrototypeAST { class in namespace:__anon10100 134 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:__anon10100::PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 144 /// PrototypeAST - This class represents the "prototype" for a function, 147 class PrototypeAST { class in namespace:__anon10101 152 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:__anon10101::PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 184 /// PrototypeAST - This class represents the "prototype" for a function, 187 class PrototypeAST { class in namespace:__anon10102 192 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:__anon10102::PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 203 /// PrototypeAST - This class represents the "prototype" for a function, 206 class PrototypeAST { class in namespace:__anon10103 212 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:__anon10103::PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
H A D | toy.cpp | 214 /// PrototypeAST - This class represents the "prototype" for a function, 216 struct PrototypeAST { struct 217 PrototypeAST(std::string Name, std::vector<std::string> Args, function in struct:PrototypeAST 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>("Invali [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
H A D | toy.cpp | 213 /// PrototypeAST - This class represents the "prototype" for a function, 215 struct PrototypeAST { struct 216 PrototypeAST(std::string Name, std::vector<std::string> Args, function in struct:PrototypeAST 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>("Invali [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
H A D | toy.cpp | 213 /// PrototypeAST - This class represents the "prototype" for a function, 215 struct PrototypeAST { struct 216 PrototypeAST(std::string Name, std::vector<std::string> Args, function in struct:PrototypeAST 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>("Invali [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
H A D | toy.cpp | 213 /// PrototypeAST - This class represents the "prototype" for a function, 215 struct PrototypeAST { struct 216 PrototypeAST(std::string Name, std::vector<std::string> Args, function in struct:PrototypeAST 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>("Invali [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
H A D | 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 { class in namespace:__anon10106 362 PrototypeAST(SourceLocation Loc, const std::string &name, function in class:__anon10106::PrototypeAST 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(FnLo [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 222 /// PrototypeAST - This class represents the "prototype" for a function, 224 class PrototypeAST { class in namespace:__anon10104 230 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:__anon10104::PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 212 /// PrototypeAST - This class represents the "prototype" for a function, 214 class PrototypeAST { class 220 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST 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 *Prot [all...] |
H A D | toy.cpp | 219 /// PrototypeAST - This class represents the "prototype" for a function, 221 class PrototypeAST { class 227 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 196 /// PrototypeAST - This class represents the "prototype" for a function, 198 class PrototypeAST { class 204 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 197 /// PrototypeAST - This class represents the "prototype" for a function, 199 class PrototypeAST { class 205 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST 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 *Prot [all...] |
H A D | toy.cpp | 198 /// PrototypeAST - This class represents the "prototype" for a function, 200 class PrototypeAST { class 206 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST 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 *Prot [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 238 /// PrototypeAST - This class represents the "prototype" for a function, 240 class PrototypeAST { class 246 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST 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 *Prot [all...] |