Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/
Dtoy.cpp119 class PrototypeAST { class
123 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST
130 PrototypeAST *Proto;
133 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST()
167 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP()
283 static PrototypeAST *ParsePrototype() { in ParsePrototype()
302 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
308 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
327 static PrototypeAST *ParseExtern() { in ParseExtern()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
Dtoy.cpp129 class PrototypeAST { class
133 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST
141 PrototypeAST *Proto;
144 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST()
179 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP()
295 static PrototypeAST *ParsePrototype() { in ParsePrototype()
314 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
320 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
339 static PrototypeAST *ParseExtern() { in ParseExtern()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
Dtoy.cpp136 class PrototypeAST { class
140 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST
148 PrototypeAST *Proto;
151 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST()
186 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP()
302 static PrototypeAST *ParsePrototype() { in ParsePrototype()
321 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
327 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
346 static PrototypeAST *ParseExtern() { in ParseExtern()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp144 class PrototypeAST { class
149 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anondd17c0dd0111::PrototypeAST
155 std::unique_ptr<PrototypeAST> Proto;
159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
196 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
326 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
345 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
364 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
372 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp159 class PrototypeAST { class
164 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anonc610a2df0111::PrototypeAST
172 std::unique_ptr<PrototypeAST> Proto;
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
215 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
345 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
364 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
383 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
391 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
406 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp150 class PrototypeAST { class
155 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon519431de0111::PrototypeAST
163 std::unique_ptr<PrototypeAST> Proto;
167 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
206 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
336 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
355 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
374 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
382 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
455 Function *PrototypeAST::codegen() { in codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp165 class PrototypeAST { class
169 PrototypeAST(const std::string &name, const std::vector<std::string> &args) in PrototypeAST() function in PrototypeAST
177 PrototypeAST *Proto;
180 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST()
215 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP()
403 static PrototypeAST *ParsePrototype() { in ParsePrototype()
422 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
428 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
440 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
447 static PrototypeAST *ParseExtern() { in ParseExtern()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
Dtoy.cpp180 class PrototypeAST { class
186 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST
205 PrototypeAST *Proto;
208 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST()
243 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP()
449 static PrototypeAST *ParsePrototype() { in ParsePrototype()
507 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
513 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
532 static PrototypeAST *ParseExtern() { in ParseExtern()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp214 class PrototypeAST { class
220 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST
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()
590 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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()
[all …]
Dtoy.cpp221 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/MCJIT/lazy/
Dtoy-jit.cpp199 class PrototypeAST { class
205 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST
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()
575 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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()
[all …]
Dtoy.cpp200 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/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp196 class PrototypeAST { class
202 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST
223 PrototypeAST *Proto;
226 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST()
261 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } in ErrorP()
514 static PrototypeAST *ParsePrototype() { in ParsePrototype()
572 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
578 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition()
590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr()
597 static PrototypeAST *ParseExtern() { in ParseExtern()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp202 class PrototypeAST { class
207 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon3a8d13e00111::PrototypeAST
215 std::unique_ptr<PrototypeAST> Proto;
219 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
258 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
470 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
489 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
508 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
516 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
531 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h38 class PrototypeAST; variable
43 std::unique_ptr<PrototypeAST> Proto;
47 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
50 const PrototypeAST& getProto() const;
Dtoy.cpp242 class PrototypeAST { class
249 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in PrototypeAST
299 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
580 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
638 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
658 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
666 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
680 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
1011 Function *PrototypeAST::codegen() { in codegen()
1028 const PrototypeAST& FunctionAST::getProto() const { in getProto()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp198 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/BuildingAJIT/Chapter5/
Dtoy.cpp257 class PrototypeAST { class
264 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in PrototypeAST
314 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
595 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
653 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
679 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
688 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
702 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
1033 Function *PrototypeAST::codegen() { in codegen()
1050 const PrototypeAST& FunctionAST::getProto() const { in getProto()
[all …]
DKaleidoscopeJIT.h40 class PrototypeAST; variable
45 std::unique_ptr<PrototypeAST> Proto;
49 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
52 const PrototypeAST& getProto() const;
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp221 class PrototypeAST { class
228 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anonaf0984e10111::PrototypeAST
248 std::unique_ptr<PrototypeAST> Proto;
252 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
291 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
521 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
579 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
599 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
607 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
622 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp241 class PrototypeAST { class
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anon2d3c53c10111::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
692 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp241 class PrototypeAST { class
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anon163535c30111::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
692 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp241 class PrototypeAST { class
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anona1b8c4c20111::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
692 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp240 class PrototypeAST { class
246 PrototypeAST(const std::string &name, const std::vector<std::string> &args, in PrototypeAST() function in PrototypeAST
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()
616 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); 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()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp241 class PrototypeAST { class
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anon2385f5e20111::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
592 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
678 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
693 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
[all …]

12