Home
last modified time | relevance | path

Searched refs:FunctionAST (Results 1 – 25 of 54) sorted by relevance

123

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h42 class FunctionAST {
47 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function
60 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
132 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST()
151 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST)); in addFunctionAST()
Dtoy.cpp643 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
650 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
655 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
660 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1028 const PrototypeAST& FunctionAST::getProto() const { in getProto()
1032 const std::string& FunctionAST::getName() const { in getName()
1036 Function *FunctionAST::codegen() { in codegen()
1094 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix) { in irgenAndTakeOwnership()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h50 class FunctionAST {
55 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function
69 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
136 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST()
139 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST)); in addFunctionAST()
Dtoy.cpp652 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
659 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
664 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
669 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1037 const PrototypeAST& FunctionAST::getProto() const { in getProto()
1041 const std::string& FunctionAST::getName() const { in getName()
1045 Function *FunctionAST::codegen() { in codegen()
1103 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix) { in irgenAndTakeOwnership()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp148 class FunctionAST { class
153 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon102806430111::FunctionAST
344 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
351 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
356 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
361 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h44 class FunctionAST {
49 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function
62 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
160 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST()
179 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST)); in addFunctionAST()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h52 class FunctionAST {
57 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function
71 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
149 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST()
152 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST)); in addFunctionAST()
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp154 class FunctionAST { class
159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anonc62250ab0111::FunctionAST
349 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
356 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
361 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
366 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp162 class FunctionAST { class
167 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon3a9ec1ac0111::FunctionAST
359 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
366 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
371 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
376 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
472 Function *FunctionAST::codegen() { in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp171 class FunctionAST { class
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon84a477440111::FunctionAST
370 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
377 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
382 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
387 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
483 Function *FunctionAST::codegen() { in codegen()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp171 class FunctionAST { class
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anonaf1b32ad0111::FunctionAST
368 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
375 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
380 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
385 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
499 Function *FunctionAST::codegen() { in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp181 class FunctionAST { class
186 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anonf920e8450111::FunctionAST
380 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
387 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
392 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
397 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
511 Function *FunctionAST::codegen() { in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp225 class FunctionAST { class
229 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
579 static FunctionAST *ParseDefinition() { in ParseDefinition()
585 return new FunctionAST(Proto, E); in ParseDefinition()
590 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
594 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
963 Function *FunctionAST::Codegen() { in Codegen()
1009 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1040 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
Dtoy.cpp226 class FunctionAST { class
230 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
580 static FunctionAST *ParseDefinition() { in ParseDefinition()
586 return new FunctionAST(Proto, E); in ParseDefinition()
591 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
595 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1250 Function *FunctionAST::Codegen() { in Codegen()
1291 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1323 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp225 class FunctionAST { class
229 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
579 static FunctionAST *ParseDefinition() { in ParseDefinition()
585 return new FunctionAST(Proto, E); in ParseDefinition()
590 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
594 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
963 Function *FunctionAST::Codegen() { in Codegen()
1009 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1038 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
Dtoy.cpp226 class FunctionAST { class
230 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
580 static FunctionAST *ParseDefinition() { in ParseDefinition()
586 return new FunctionAST(Proto, E); in ParseDefinition()
591 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
595 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1250 Function *FunctionAST::Codegen() { in Codegen()
1291 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1321 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp240 class FunctionAST { class
244 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
594 static FunctionAST *ParseDefinition() { in ParseDefinition()
600 return new FunctionAST(Proto, E); in ParseDefinition()
605 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
609 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
981 Function *FunctionAST::Codegen() { in Codegen()
1027 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1056 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
Dtoy.cpp247 class FunctionAST { class
251 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
287 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
601 static FunctionAST *ParseDefinition() { in ParseDefinition()
607 return new FunctionAST(Proto, E); in ParseDefinition()
612 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
616 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1352 Function *FunctionAST::Codegen() { in Codegen()
1393 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1425 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp240 class FunctionAST { class
244 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
594 static FunctionAST *ParseDefinition() { in ParseDefinition()
600 return new FunctionAST(Proto, E); in ParseDefinition()
605 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
609 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
981 Function *FunctionAST::Codegen() { in Codegen()
1027 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1056 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
Dtoy.cpp247 class FunctionAST { class
251 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
287 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
601 static FunctionAST *ParseDefinition() { in ParseDefinition()
607 return new FunctionAST(Proto, E); in ParseDefinition()
612 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
616 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1352 Function *FunctionAST::Codegen() { in Codegen()
1393 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1423 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp214 class FunctionAST { class
219 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon2397a3ae0111::FunctionAST
493 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
500 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
505 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
510 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
771 Function *FunctionAST::codegen() { in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp226 class FunctionAST { class
231 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() function in __anon6d9d59460111::FunctionAST
507 static std::unique_ptr<FunctionAST> ParseDefinition() { in ParseDefinition()
514 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
519 static std::unique_ptr<FunctionAST> ParseTopLevelExpr() { in ParseTopLevelExpr()
524 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
785 Function *FunctionAST::codegen() { in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp224 class FunctionAST { class
228 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
578 static FunctionAST *ParseDefinition() { in ParseDefinition()
584 return new FunctionAST(Proto, E); in ParseDefinition()
589 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
593 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1210 Function *FunctionAST::Codegen() { in Codegen()
1251 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1282 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp224 class FunctionAST { class
228 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
578 static FunctionAST *ParseDefinition() { in ParseDefinition()
584 return new FunctionAST(Proto, E); in ParseDefinition()
589 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
593 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1210 Function *FunctionAST::Codegen() { in Codegen()
1251 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1280 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp266 class FunctionAST { class
270 FunctionAST(PrototypeAST *proto, ExprAST *body) in FunctionAST() function in FunctionAST
306 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } in ErrorF()
620 static FunctionAST *ParseDefinition() { in ParseDefinition()
626 return new FunctionAST(Proto, E); in ParseDefinition()
631 static FunctionAST *ParseTopLevelExpr() { in ParseTopLevelExpr()
635 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1430 Function *FunctionAST::Codegen() { in Codegen()
1471 if (FunctionAST *F = ParseDefinition()) { in HandleDefinition()
1502 if (FunctionAST *F = ParseTopLevelExpr()) { in HandleTopLevelExpression()

123