Home
last modified time | relevance | path

Searched refs:VarExprAST (Results 1 – 13 of 13) sorted by relevance

/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp200 struct VarExprAST : public ExprAST { struct
204 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST() argument
424 static std::unique_ptr<VarExprAST> ParseVarExpr() { in ParseVarExpr()
427 VarExprAST::BindingList VarBindings; in ParseVarExpr()
431 return ErrorU<VarExprAST>("expected identifier after var"); in ParseVarExpr()
447 VarBindings.push_back(VarExprAST::Binding(Name, std::move(Init))); in ParseVarExpr()
454 return ErrorU<VarExprAST>("expected identifier list after var"); in ParseVarExpr()
459 return ErrorU<VarExprAST>("expected 'in' keyword after 'var'"); in ParseVarExpr()
466 return llvm::make_unique<VarExprAST>(std::move(VarBindings), std::move(Body)); in ParseVarExpr()
995 Value *VarExprAST::IRGen(IRGenContext &C) const { in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp200 struct VarExprAST : public ExprAST { struct
204 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST() function
424 static std::unique_ptr<VarExprAST> ParseVarExpr() { in ParseVarExpr()
427 VarExprAST::BindingList VarBindings; in ParseVarExpr()
431 return ErrorU<VarExprAST>("expected identifier after var"); in ParseVarExpr()
447 VarBindings.push_back(VarExprAST::Binding(Name, std::move(Init))); in ParseVarExpr()
454 return ErrorU<VarExprAST>("expected identifier list after var"); in ParseVarExpr()
459 return ErrorU<VarExprAST>("expected 'in' keyword after 'var'"); in ParseVarExpr()
466 return llvm::make_unique<VarExprAST>(std::move(VarBindings), std::move(Body)); in ParseVarExpr()
995 Value *VarExprAST::IRGen(IRGenContext &C) const { in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp200 struct VarExprAST : public ExprAST { struct
204 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST() argument
424 static std::unique_ptr<VarExprAST> ParseVarExpr() { in ParseVarExpr()
427 VarExprAST::BindingList VarBindings; in ParseVarExpr()
431 return ErrorU<VarExprAST>("expected identifier after var"); in ParseVarExpr()
447 VarBindings.push_back(VarExprAST::Binding(Name, std::move(Init))); in ParseVarExpr()
454 return ErrorU<VarExprAST>("expected identifier list after var"); in ParseVarExpr()
459 return ErrorU<VarExprAST>("expected 'in' keyword after 'var'"); in ParseVarExpr()
466 return llvm::make_unique<VarExprAST>(std::move(VarBindings), std::move(Body)); in ParseVarExpr()
995 Value *VarExprAST::IRGen(IRGenContext &C) const { in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp201 struct VarExprAST : public ExprAST { struct
205 VarExprAST(BindingList VarBindings, std::unique_ptr<ExprAST> Body) in VarExprAST() argument
425 static std::unique_ptr<VarExprAST> ParseVarExpr() { in ParseVarExpr()
428 VarExprAST::BindingList VarBindings; in ParseVarExpr()
432 return ErrorU<VarExprAST>("expected identifier after var"); in ParseVarExpr()
448 VarBindings.push_back(VarExprAST::Binding(Name, std::move(Init))); in ParseVarExpr()
455 return ErrorU<VarExprAST>("expected identifier list after var"); in ParseVarExpr()
460 return ErrorU<VarExprAST>("expected 'in' keyword after 'var'"); in ParseVarExpr()
467 return llvm::make_unique<VarExprAST>(std::move(VarBindings), std::move(Body)); in ParseVarExpr()
996 Value *VarExprAST::IRGen(IRGenContext &C) const { in IRGen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp201 class VarExprAST : public ExprAST { class
205 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, in VarExprAST() function in VarExprAST
447 return new VarExprAST(VarNames, Body); in ParseVarExpr()
888 Value *VarExprAST::Codegen() { in Codegen()
Dtoy.cpp208 class VarExprAST : public ExprAST { class
212 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, in VarExprAST() function in VarExprAST
454 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1252 Value *VarExprAST::Codegen() { in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp210 class VarExprAST : public ExprAST { class
215 VarExprAST(const std::vector<std::pair<std::string, ExprAST *> > &varnames, in VarExprAST() function in __anonf1d16da50111::VarExprAST
478 return new VarExprAST(VarNames, Body); in ParseVarExpr()
939 Value *VarExprAST::Codegen() { in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp186 class VarExprAST : public ExprAST { class
190 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, in VarExprAST() function in VarExprAST
432 return new VarExprAST(VarNames, Body); in ParseVarExpr()
870 Value *VarExprAST::Codegen() { in Codegen()
Dtoy.cpp187 class VarExprAST : public ExprAST { class
191 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, in VarExprAST() function in VarExprAST
433 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1150 Value *VarExprAST::Codegen() { in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp185 class VarExprAST : public ExprAST { class
189 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, in VarExprAST() function in VarExprAST
431 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1110 Value *VarExprAST::Codegen() { in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp333 class VarExprAST : public ExprAST { class
338 VarExprAST(const std::vector<std::pair<std::string, ExprAST *> > &varnames, in VarExprAST() function in __anon664ddea60211::VarExprAST
624 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1140 Value *VarExprAST::Codegen() { in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp227 class VarExprAST : public ExprAST { class
231 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, in VarExprAST() function in VarExprAST
473 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1330 Value *VarExprAST::Codegen() { in Codegen()
/external/llvm/docs/tutorial/
DLangImpl7.rst664 /// VarExprAST - Expression class for var/in
665 class VarExprAST : public ExprAST {
669 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames,
761 return new VarExprAST(VarNames, Body);
769 Value *VarExprAST::Codegen() {