Home
last modified time | relevance | path

Searched refs:PrototypeAST (Results 1 – 25 of 50) sorted by relevance

12

/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp135 class PrototypeAST { class
140 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anone55a916e0111::PrototypeAST
148 std::unique_ptr<PrototypeAST> Proto;
152 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
190 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
320 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
339 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
358 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
366 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp158 class PrototypeAST { class
163 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon59d7026f0111::PrototypeAST
172 std::unique_ptr<PrototypeAST> Proto;
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
217 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
347 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
366 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
385 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
393 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
466 Function *PrototypeAST::codegen() { in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp168 class PrototypeAST { class
173 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anonce5373700111::PrototypeAST
182 std::unique_ptr<PrototypeAST> Proto;
186 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
227 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
357 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
376 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
395 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
403 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
418 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp214 class PrototypeAST { class
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()
596 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
608 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
615 static PrototypeAST *ParseExtern() { in ParseExtern()
931 Function *PrototypeAST::Codegen() { in Codegen()
967 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas()
[all …]
H A Dtoy.cpp221 class PrototypeAST { class
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()
603 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
615 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
622 static PrototypeAST *ParseExtern() { in ParseExtern()
1295 Function *PrototypeAST::Codegen() { in Codegen()
1338 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp199 class PrototypeAST { class
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()
581 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
593 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
600 static PrototypeAST *ParseExtern() { in ParseExtern()
913 Function *PrototypeAST::Codegen() { in Codegen()
949 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas()
[all …]
H A Dtoy.cpp200 class PrototypeAST { class
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()
582 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
594 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
601 static PrototypeAST *ParseExtern() { in ParseExtern()
1193 Function *PrototypeAST::Codegen() { in Codegen()
1236 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch1/include/toy/
H A DParser.h397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
H A DAST.h201 class PrototypeAST {
207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
218 std::unique_ptr<PrototypeAST> proto;
222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
225 PrototypeAST *getProto() { return proto.get(); } in getProto()
/llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/
H A DParser.h397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
H A DAST.h201 class PrototypeAST {
207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
218 std::unique_ptr<PrototypeAST> proto;
222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
225 PrototypeAST *getProto() { return proto.get(); } in getProto()
/llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/
H A DParser.h397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
H A DAST.h201 class PrototypeAST {
207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
218 std::unique_ptr<PrototypeAST> proto;
222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
225 PrototypeAST *getProto() { return proto.get(); } in getProto()
/llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/
H A DParser.h397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
H A DAST.h201 class PrototypeAST {
207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
218 std::unique_ptr<PrototypeAST> proto;
222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
225 PrototypeAST *getProto() { return proto.get(); } in getProto()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/
H A DParser.h397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
H A DAST.h201 class PrototypeAST {
207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
218 std::unique_ptr<PrototypeAST> proto;
222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
225 PrototypeAST *getProto() { return proto.get(); } in getProto()
/llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/
H A DParser.h397 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
401 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
405 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
411 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
426 return parseError<PrototypeAST>( in parsePrototype()
431 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
435 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()
H A DAST.h201 class PrototypeAST {
207 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
218 std::unique_ptr<PrototypeAST> proto;
222 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
225 PrototypeAST *getProto() { return proto.get(); } in getProto()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp213 class PrototypeAST { class
218 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon42cfe4710111::PrototypeAST
227 std::unique_ptr<PrototypeAST> Proto;
231 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
272 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
484 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
503 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
522 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
530 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
545 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp198 class PrototypeAST { class
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()
580 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
592 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
599 static PrototypeAST *ParseExtern() { in ParseExtern()
1153 Function *PrototypeAST::Codegen() { in Codegen()
1196 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp233 class PrototypeAST { class
240 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anonb74c55720111::PrototypeAST
261 std::unique_ptr<PrototypeAST> Proto;
265 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
306 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
536 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
594 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
614 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
622 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
637 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp240 class PrototypeAST { class
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()
622 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
634 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
641 static PrototypeAST *ParseExtern() { in ParseExtern()
1373 Function *PrototypeAST::Codegen() { in Codegen()
1416 void PrototypeAST::CreateArgumentAllocas(Function *F) { in CreateArgumentAllocas()
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A DAST.h221 class PrototypeAST {
227 PrototypeAST(Location location, const std::string &name, in PrototypeAST() function
255 std::unique_ptr<PrototypeAST> proto;
259 FunctionAST(std::unique_ptr<PrototypeAST> proto, in FunctionAST()
263 PrototypeAST *getProto() { return proto.get(); } in getProto()
H A DParser.h535 std::unique_ptr<PrototypeAST> parsePrototype() { in parsePrototype()
539 return parseError<PrototypeAST>("def", "in prototype"); in parsePrototype()
543 return parseError<PrototypeAST>("function name", "in prototype"); in parsePrototype()
549 return parseError<PrototypeAST>("(", "in prototype"); in parsePrototype()
581 return parseError<PrototypeAST>( in parsePrototype()
586 return parseError<PrototypeAST>(")", "to end function prototype"); in parsePrototype()
590 return std::make_unique<PrototypeAST>(std::move(loc), fnName, in parsePrototype()

12