/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 116 class PrototypeAST { class 120 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in __anon9e01c5f70111::PrototypeAST 128 FunctionAST(PrototypeAST *proto, ExprAST *body) {} in FunctionAST() 161 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 276 static PrototypeAST *ParsePrototype() { in ParsePrototype() 295 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 301 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 313 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 320 static PrototypeAST *ParseExtern() { in ParseExtern()
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 130 class PrototypeAST { class 134 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in __anon127e36f80111::PrototypeAST 142 PrototypeAST *Proto; 145 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 181 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 297 static PrototypeAST *ParsePrototype() { in ParsePrototype() 316 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 322 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 334 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 341 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 137 class PrototypeAST { class 141 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in __anon86faa7f90111::PrototypeAST 149 PrototypeAST *Proto; 152 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 188 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 304 static PrototypeAST *ParsePrototype() { in ParsePrototype() 323 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 329 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 341 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 348 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 166 class PrototypeAST { class 170 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in __anonfb7718fa0111::PrototypeAST 178 PrototypeAST *Proto; 181 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 217 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 405 static PrototypeAST *ParsePrototype() { in ParsePrototype() 424 return new PrototypeAST(FnName, ArgNames); in ParsePrototype() 430 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 442 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 449 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 181 class PrototypeAST { class 187 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in __anon6ff389fb0111::PrototypeAST 206 PrototypeAST *Proto; 209 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 245 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 451 static PrototypeAST *ParsePrototype() { in ParsePrototype() 509 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 515 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 527 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 534 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.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 …]
|
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/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 215 class PrototypeAST { class 221 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 242 PrototypeAST *Proto; 245 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 280 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 533 static PrototypeAST *ParsePrototype() { in ParsePrototype() 591 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 597 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 609 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 616 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/Chapter7/ |
D | toy.cpp | 197 class PrototypeAST { class 203 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in __anone46ffafc0111::PrototypeAST 224 PrototypeAST *Proto; 227 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/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/MCJIT/complete/ |
D | toy.cpp | 245 class PrototypeAST { class 251 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST 272 PrototypeAST *Proto; 275 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() 310 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP() 563 static PrototypeAST *ParsePrototype() { in ParsePrototype() 621 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 627 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() 639 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() 646 static PrototypeAST *ParseExtern() { in ParseExtern() [all …]
|
/external/llvm/docs/tutorial/ |
D | LangImpl2.rst | 106 /// PrototypeAST - This class represents the "prototype" for a function, 109 class PrototypeAST { 113 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 119 PrototypeAST *Proto; 122 FunctionAST(PrototypeAST *proto, ExprAST *body) 171 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } 544 static PrototypeAST *ParsePrototype() { 564 return new PrototypeAST(FnName, ArgNames); 575 PrototypeAST *Proto = ParsePrototype(); 590 static PrototypeAST *ParseExtern() { [all …]
|
D | LangImpl6.rst | 121 ``PrototypeAST`` AST node. To represent our new user-defined operators 122 as prototypes, we have to extend the ``PrototypeAST`` AST node like 127 /// PrototypeAST - This class represents the "prototype" for a function, 129 class PrototypeAST { 135 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 164 static PrototypeAST *ParsePrototype() { 213 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 381 static PrototypeAST *ParsePrototype() {
|
D | LangImpl3.rst | 252 Function *PrototypeAST::Codegen() { 435 This code does have a bug, though. Since the ``PrototypeAST::Codegen``
|
D | LangImpl7.rst | 410 void PrototypeAST::CreateArgumentAllocas(Function *F) {
|