Home
last modified time | relevance | path

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

123

/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp136 class PrototypeAST { class
141 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anonf11300d80111::PrototypeAST
149 std::unique_ptr<PrototypeAST> Proto;
153 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
191 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
321 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
340 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
359 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
367 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
/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 __anonab6338a00111::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 __anon945c1aa20111::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 __anon1fdfa9a10111::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-7.0/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp158 class PrototypeAST { class
163 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon658f71d90111::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 llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
385 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
393 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
466 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-7.0/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp168 class PrototypeAST { class
173 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anonda0be2da0111::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 llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
395 auto Proto = llvm::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 …]
/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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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 …]
/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 …]
/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 __anon08d88ba30111::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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp213 class PrototypeAST { class
218 PrototypeAST(const std::string &Name, std::vector<std::string> Args) in PrototypeAST() function in __anon4e8853db0111::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 llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
522 auto Proto = llvm::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 …]
/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;
/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/swiftshader/third_party/llvm-7.0/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp267 class PrototypeAST { class
274 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in PrototypeAST
325 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
606 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
664 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
690 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
699 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
713 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
1044 Function *PrototypeAST::codegen() { in codegen()
1061 const PrototypeAST& FunctionAST::getProto() const { in getProto()
[all …]

123