Searched refs:PrototypeAST (Results 1 - 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp116 /// PrototypeAST - This class represents the "prototype" for a function,
119 class PrototypeAST { class
123 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:PrototypeAST
130 PrototypeAST *Proto;
133 FunctionAST(PrototypeAST *proto, ExprAST *body)
167 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
283 static PrototypeAST *ParsePrototype() {
302 return new PrototypeAST(FnName, ArgNames);
308 PrototypeAST *Proto = ParsePrototype();
320 PrototypeAST *Prot
[all...]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp126 /// PrototypeAST - This class represents the "prototype" for a function,
129 class PrototypeAST { class
133 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:PrototypeAST
141 PrototypeAST *Proto;
144 FunctionAST(PrototypeAST *proto, ExprAST *body)
179 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
295 static PrototypeAST *ParsePrototype() {
314 return new PrototypeAST(FnName, ArgNames);
320 PrototypeAST *Proto = ParsePrototype();
332 PrototypeAST *Prot
[all...]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp133 /// PrototypeAST - This class represents the "prototype" for a function,
136 class PrototypeAST { class
140 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:PrototypeAST
148 PrototypeAST *Proto;
151 FunctionAST(PrototypeAST *proto, ExprAST *body)
186 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
302 static PrototypeAST *ParsePrototype() {
321 return new PrototypeAST(FnName, ArgNames);
327 PrototypeAST *Proto = ParsePrototype();
339 PrototypeAST *Prot
[all...]
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp141 /// PrototypeAST - This class represents the "prototype" for a function,
144 class PrototypeAST { class in namespace:__anon13556
149 PrototypeAST(const std::string &Name, std::vector<std::string> Args) function in class:__anon13556::PrototypeAST
155 std::unique_ptr<PrototypeAST> Proto;
159 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
196 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
326 static std::unique_ptr<PrototypeAST> ParsePrototype() {
345 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
364 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr",
372 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp156 /// PrototypeAST - This class represents the "prototype" for a function,
159 class PrototypeAST { class in namespace:__anon13558
164 PrototypeAST(const std::string &Name, std::vector<std::string> Args) function in class:__anon13558::PrototypeAST
172 std::unique_ptr<PrototypeAST> Proto;
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
215 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
345 static std::unique_ptr<PrototypeAST> ParsePrototype() {
364 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
383 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
391 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp147 /// PrototypeAST - This class represents the "prototype" for a function,
150 class PrototypeAST { class in namespace:__anon13557
155 PrototypeAST(const std::string &Name, std::vector<std::string> Args) function in class:__anon13557::PrototypeAST
163 std::unique_ptr<PrototypeAST> Proto;
167 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
206 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
336 static std::unique_ptr<PrototypeAST> ParsePrototype() {
355 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
374 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
382 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp162 /// PrototypeAST - This class represents the "prototype" for a function,
165 class PrototypeAST { class
169 PrototypeAST(const std::string &name, const std::vector<std::string> &args) function in class:PrototypeAST
177 PrototypeAST *Proto;
180 FunctionAST(PrototypeAST *proto, ExprAST *body)
215 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
403 static PrototypeAST *ParsePrototype() {
422 return new PrototypeAST(FnName, ArgNames);
428 PrototypeAST *Proto = ParsePrototype();
440 PrototypeAST *Prot
[all...]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp177 /// PrototypeAST - This class represents the "prototype" for a function,
180 class PrototypeAST { class
186 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
205 PrototypeAST *Proto;
208 FunctionAST(PrototypeAST *proto, ExprAST *body)
243 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
449 static PrototypeAST *ParsePrototype() {
507 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
513 PrototypeAST *Proto = ParsePrototype();
525 PrototypeAST *Prot
[all...]
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp199 /// PrototypeAST - This class represents the "prototype" for a function,
202 class PrototypeAST { class in namespace:__anon13559
207 PrototypeAST(const std::string &Name, std::vector<std::string> Args) function in class:__anon13559::PrototypeAST
215 std::unique_ptr<PrototypeAST> Proto;
219 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
258 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
470 static std::unique_ptr<PrototypeAST> ParsePrototype() {
489 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames));
508 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
516 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h38 class PrototypeAST;
43 std::unique_ptr<PrototypeAST> Proto;
47 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
50 const PrototypeAST& getProto() const;
H A Dtoy.cpp239 /// PrototypeAST - This class represents the "prototype" for a function,
242 class PrototypeAST { class
249 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:PrototypeAST
299 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
580 static std::unique_ptr<PrototypeAST> ParsePrototype() {
638 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
658 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
666 static std::unique_ptr<PrototypeAST> ParseExtern() {
680 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
1011 Function *PrototypeAST
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
H A DKaleidoscopeJIT.h40 class PrototypeAST;
45 std::unique_ptr<PrototypeAST> Proto;
49 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
52 const PrototypeAST& getProto() const;
H A Dtoy.cpp254 /// PrototypeAST - This class represents the "prototype" for a function,
257 class PrototypeAST { class
264 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:PrototypeAST
314 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
595 static std::unique_ptr<PrototypeAST> ParsePrototype() {
653 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
679 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
688 static std::unique_ptr<PrototypeAST> ParseExtern() {
702 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos;
1033 Function *PrototypeAST
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp212 /// PrototypeAST - This class represents the "prototype" for a function,
214 class PrototypeAST { class
220 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
241 PrototypeAST *Proto;
244 FunctionAST(PrototypeAST *proto, ExprAST *body)
279 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
532 static PrototypeAST *ParsePrototype() {
590 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
596 PrototypeAST *Proto = ParsePrototype();
608 PrototypeAST *Prot
[all...]
H A Dtoy.cpp219 /// PrototypeAST - This class represents the "prototype" for a function,
221 class PrototypeAST { class
227 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
248 PrototypeAST *Proto;
251 FunctionAST(PrototypeAST *proto, ExprAST *body)
286 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
539 static PrototypeAST *ParsePrototype() {
597 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
603 PrototypeAST *Proto = ParsePrototype();
615 PrototypeAST *Prot
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp196 /// PrototypeAST - This class represents the "prototype" for a function,
198 class PrototypeAST { class
204 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
225 PrototypeAST *Proto;
228 FunctionAST(PrototypeAST *proto, ExprAST *body)
263 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
516 static PrototypeAST *ParsePrototype() {
574 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
580 PrototypeAST *Proto = ParsePrototype();
592 PrototypeAST *Prot
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp197 /// PrototypeAST - This class represents the "prototype" for a function,
199 class PrototypeAST { class
205 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
226 PrototypeAST *Proto;
229 FunctionAST(PrototypeAST *proto, ExprAST *body)
264 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
517 static PrototypeAST *ParsePrototype() {
575 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
581 PrototypeAST *Proto = ParsePrototype();
593 PrototypeAST *Prot
[all...]
H A Dtoy.cpp198 /// PrototypeAST - This class represents the "prototype" for a function,
200 class PrototypeAST { class
206 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
227 PrototypeAST *Proto;
230 FunctionAST(PrototypeAST *proto, ExprAST *body)
265 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
518 static PrototypeAST *ParsePrototype() {
576 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
582 PrototypeAST *Proto = ParsePrototype();
594 PrototypeAST *Prot
[all...]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp194 /// PrototypeAST - This class represents the "prototype" for a function,
196 class PrototypeAST { class
202 PrototypeAST(const std::string &name, const std::vector<std::string> &args, function in class:PrototypeAST
223 PrototypeAST *Proto;
226 FunctionAST(PrototypeAST *proto, ExprAST *body)
261 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
514 static PrototypeAST *ParsePrototype() {
572 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
578 PrototypeAST *Proto = ParsePrototype();
590 PrototypeAST *Prot
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp238 /// PrototypeAST - This class represents the "prototype" for a function,
241 class PrototypeAST { class in namespace:__anon13553
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:__anon13553::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
592 static std::unique_ptr<PrototypeAST> ParsePrototype() {
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
678 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp238 /// PrototypeAST - This class represents the "prototype" for a function,
241 class PrototypeAST { class in namespace:__anon13554
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:__anon13554::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
592 static std::unique_ptr<PrototypeAST> ParsePrototype() {
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
678 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp238 /// PrototypeAST - This class represents the "prototype" for a function,
241 class PrototypeAST { class in namespace:__anon13555
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:__anon13555::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
592 static std::unique_ptr<PrototypeAST> ParsePrototype() {
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
678 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp218 /// PrototypeAST - This class represents the "prototype" for a function,
221 class PrototypeAST { class in namespace:__anon13560
228 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:__anon13560::PrototypeAST
248 std::unique_ptr<PrototypeAST> Proto;
252 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
291 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
521 static std::unique_ptr<PrototypeAST> ParsePrototype() {
579 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
599 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
607 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp238 /// PrototypeAST - This class represents the "prototype" for a function,
241 class PrototypeAST { class in namespace:__anon13561
248 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:__anon13561::PrototypeAST
268 std::unique_ptr<PrototypeAST> Proto;
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
311 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
592 static std::unique_ptr<PrototypeAST> ParsePrototype() {
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
670 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
678 static std::unique_ptr<PrototypeAST> ParseExter
[all...]
/external/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp235 /// PrototypeAST - This class represents the "prototype" for a function,
238 class PrototypeAST { class in namespace:__anon13562
245 PrototypeAST(const std::string &Name, std::vector<std::string> Args, function in class:__anon13562::PrototypeAST
265 std::unique_ptr<PrototypeAST> Proto;
269 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
308 std::unique_ptr<PrototypeAST> LogErrorP(const char *Str) {
589 static std::unique_ptr<PrototypeAST> ParsePrototype() {
647 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0,
667 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr",
675 static std::unique_ptr<PrototypeAST> ParseExter
[all...]

Completed in 271 milliseconds

12