HomeSort by relevance Sort by last modified time
    Searched refs:FunctionAST (Results 1 - 25 of 27) sorted by null

1 2

  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
toy.cpp 139 /// FunctionAST - This class represents a function definition itself.
140 class FunctionAST {
144 FunctionAST(PrototypeAST *proto, ExprAST *body)
180 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
318 static FunctionAST *ParseDefinition() {
324 return new FunctionAST(Proto, E);
329 static FunctionAST *ParseTopLevelExpr() {
333 return new FunctionAST(Proto, E);
443 Function *FunctionAST::Codegen() {
474 if (FunctionAST *F = ParseDefinition())
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/
toy.cpp 128 /// FunctionAST - This class represents a function definition itself.
129 class FunctionAST {
133 FunctionAST(PrototypeAST *proto, ExprAST *body)
168 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
306 static FunctionAST *ParseDefinition() {
312 return new FunctionAST(Proto, E);
317 static FunctionAST *ParseTopLevelExpr() {
321 return new FunctionAST(Proto, E);
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
toy.cpp 146 /// FunctionAST - This class represents a function definition itself.
147 class FunctionAST {
151 FunctionAST(PrototypeAST *proto, ExprAST *body)
187 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
325 static FunctionAST *ParseDefinition() {
331 return new FunctionAST(Proto, E);
336 static FunctionAST *ParseTopLevelExpr() {
340 return new FunctionAST(Proto, E);
451 Function *FunctionAST::Codegen() {
487 if (FunctionAST *F = ParseDefinition())
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
KaleidoscopeJIT.h 41 /// FunctionAST - This class represents a function definition itself.
42 class FunctionAST {
47 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
60 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
132 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) {
151 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST));
toy.cpp 643 static std::unique_ptr<FunctionAST> ParseDefinition() {
650 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
655 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
660 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1028 const PrototypeAST& FunctionAST::getProto() const {
1032 const std::string& FunctionAST::getName() const {
1036 Function *FunctionAST::codegen() {
1094 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix) {
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
KaleidoscopeJIT.h 43 /// FunctionAST - This class represents a function definition itself.
44 class FunctionAST {
49 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
62 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
160 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) {
179 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST));
toy.cpp 658 static std::unique_ptr<FunctionAST> ParseDefinition() {
665 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
670 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
681 return llvm::make_unique<FunctionAST>(std::move(Proto),
1050 const PrototypeAST& FunctionAST::getProto() const {
1054 const std::string& FunctionAST::getName() const {
1058 Function *FunctionAST::codegen() {
1116 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix) {
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter2/
toy.cpp 153 /// FunctionAST - This class represents a function definition itself.
154 class FunctionAST {
159 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
349 static std::unique_ptr<FunctionAST> ParseDefinition() {
356 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E));
361 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
366 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E));
  /external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 161 /// FunctionAST - This class represents a function definition itself.
162 class FunctionAST {
167 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
359 static std::unique_ptr<FunctionAST> ParseDefinition() {
366 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
371 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
376 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
472 Function *FunctionAST::codegen() {
  /external/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp 170 /// FunctionAST - This class represents a function definition itself.
171 class FunctionAST {
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
368 static std::unique_ptr<FunctionAST> ParseDefinition() {
375 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
380 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
385 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
499 Function *FunctionAST::codegen() {
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
toy.cpp 175 /// FunctionAST - This class represents a function definition itself.
176 class FunctionAST {
180 FunctionAST(PrototypeAST *proto, ExprAST *body)
216 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
426 static FunctionAST *ParseDefinition() {
432 return new FunctionAST(Proto, E);
437 static FunctionAST *ParseTopLevelExpr() {
441 return new FunctionAST(Proto, E);
696 Function *FunctionAST::Codegen() {
732 if (FunctionAST *F = ParseDefinition())
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
toy.cpp 203 /// FunctionAST - This class represents a function definition itself.
204 class FunctionAST {
208 FunctionAST(PrototypeAST *proto, ExprAST *body)
244 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
511 static FunctionAST *ParseDefinition() {
517 return new FunctionAST(Proto, E);
522 static FunctionAST *ParseTopLevelExpr() {
526 return new FunctionAST(Proto, E);
800 Function *FunctionAST::Codegen() {
843 if (FunctionAST *F = ParseDefinition())
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 213 /// FunctionAST - This class represents a function definition itself.
214 class FunctionAST {
219 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
493 static std::unique_ptr<FunctionAST> ParseDefinition() {
500 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
505 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
510 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
771 Function *FunctionAST::codegen() {
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 239 /// FunctionAST - This class represents a function definition itself.
240 class FunctionAST {
244 FunctionAST(PrototypeAST *proto, ExprAST *body)
280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
594 static FunctionAST *ParseDefinition() {
600 return new FunctionAST(Proto, E);
605 static FunctionAST *ParseTopLevelExpr() {
609 return new FunctionAST(Proto, E);
981 Function *FunctionAST::Codegen() {
1027 if (FunctionAST *F = ParseDefinition())
    [all...]
toy.cpp 246 /// FunctionAST - This class represents a function definition itself.
247 class FunctionAST {
251 FunctionAST(PrototypeAST *proto, ExprAST *body)
287 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
601 static FunctionAST *ParseDefinition() {
607 return new FunctionAST(Proto, E);
612 static FunctionAST *ParseTopLevelExpr() {
616 return new FunctionAST(Proto, E);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/initial/
toy.cpp 223 /// FunctionAST - This class represents a function definition itself.
224 class FunctionAST {
228 FunctionAST(PrototypeAST *proto, ExprAST *body)
264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
578 static FunctionAST *ParseDefinition() {
584 return new FunctionAST(Proto, E);
589 static FunctionAST *ParseTopLevelExpr() {
593 return new FunctionAST(Proto, E);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 224 /// FunctionAST - This class represents a function definition itself.
225 class FunctionAST {
229 FunctionAST(PrototypeAST *proto, ExprAST *body)
265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
579 static FunctionAST *ParseDefinition() {
585 return new FunctionAST(Proto, E);
590 static FunctionAST *ParseTopLevelExpr() {
594 return new FunctionAST(Proto, E);
963 Function *FunctionAST::Codegen() {
1009 if (FunctionAST *F = ParseDefinition())
    [all...]
toy.cpp 225 /// FunctionAST - This class represents a function definition itself.
226 class FunctionAST {
230 FunctionAST(PrototypeAST *proto, ExprAST *body)
266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
580 static FunctionAST *ParseDefinition() {
586 return new FunctionAST(Proto, E);
591 static FunctionAST *ParseTopLevelExpr() {
595 return new FunctionAST(Proto, E);
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
toy.cpp 221 /// FunctionAST - This class represents a function definition itself.
222 class FunctionAST {
226 FunctionAST(PrototypeAST *proto, ExprAST *body)
262 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
576 static FunctionAST *ParseDefinition() {
582 return new FunctionAST(Proto, E);
587 static FunctionAST *ParseTopLevelExpr() {
591 return new FunctionAST(Proto, E);
960 Function *FunctionAST::Codegen() {
1006 if (FunctionAST *F = ParseDefinition())
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 265 /// FunctionAST - This class represents a function definition itself.
266 class FunctionAST {
270 FunctionAST(PrototypeAST *proto, ExprAST *body)
306 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
620 static FunctionAST *ParseDefinition() {
626 return new FunctionAST(Proto, E);
631 static FunctionAST *ParseTopLevelExpr() {
635 return new FunctionAST(Proto, E);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp 266 /// FunctionAST - This class represents a function definition itself.
267 class FunctionAST {
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
655 static std::unique_ptr<FunctionAST> ParseDefinition() {
662 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
667 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
672 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1039 Function *FunctionAST::codegen() {
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp 266 /// FunctionAST - This class represents a function definition itself.
267 class FunctionAST {
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
655 static std::unique_ptr<FunctionAST> ParseDefinition() {
662 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
667 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
672 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1039 Function *FunctionAST::codegen() {
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp 266 /// FunctionAST - This class represents a function definition itself.
267 class FunctionAST {
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
655 static std::unique_ptr<FunctionAST> ParseDefinition() {
662 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
667 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
672 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1039 Function *FunctionAST::codegen() {
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 246 /// FunctionAST - This class represents a function definition itself.
247 class FunctionAST {
252 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
584 static std::unique_ptr<FunctionAST> ParseDefinition() {
591 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
596 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
601 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
882 Function *FunctionAST::codegen() {
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 266 /// FunctionAST - This class represents a function definition itself.
267 class FunctionAST {
272 FunctionAST(std::unique_ptr<PrototypeAST> Proto,
655 static std::unique_ptr<FunctionAST> ParseDefinition() {
662 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
667 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() {
672 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E));
1040 Function *FunctionAST::codegen() {
    [all...]

Completed in 382 milliseconds

1 2