Home
last modified time | relevance | path

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

123

/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 __anon102806430111::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 __anonc62250ab0111::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 __anonaf1b32ad0111::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 __anon3a9ec1ac0111::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 __anon84a477440111::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-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 __anonf920e8450111::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-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-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 __anon2397a3ae0111::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 __anon6d9d59460111::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;
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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h46 class PrototypeAST; variable
51 std::unique_ptr<PrototypeAST> Proto;
55 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST()
59 const PrototypeAST& getProto() const;
Dtoy.cpp250 class PrototypeAST { class
257 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in PrototypeAST
308 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) { in LogErrorP()
589 static std::unique_ptr<PrototypeAST> ParsePrototype() { in ParsePrototype()
647 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
667 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr()
675 static std::unique_ptr<PrototypeAST> ParseExtern() { in ParseExtern()
689 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
1020 Function *PrototypeAST::codegen() { in codegen()
1037 const PrototypeAST& FunctionAST::getProto() const { in getProto()
[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/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/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 …]
/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 __anon981414af0111::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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp233 class PrototypeAST { class
240 PrototypeAST(const std::string &Name, std::vector<std::string> Args, in PrototypeAST() function in __anone219ca470111::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 llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
614 auto Proto = llvm::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 …]

123