Home
last modified time | relevance | path

Searched refs:VarNames (Results 1 – 10 of 10) sorted by relevance

/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp187 std::vector<std::pair<std::string, ExprAST*> > VarNames; member in VarExprAST
192 : VarNames(varnames), Body(body) {} in VarExprAST()
395 std::vector<std::pair<std::string, ExprAST*> > VarNames; in ParseVarExpr() local
414 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
432 return new VarExprAST(VarNames, Body); in ParseVarExpr()
876 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
877 const std::string &VarName = VarNames[i].first; in Codegen()
878 ExprAST *Init = VarNames[i].second; in Codegen()
909 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
910 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
Dtoy.cpp188 std::vector<std::pair<std::string, ExprAST*> > VarNames; member in VarExprAST
193 : VarNames(varnames), Body(body) {} in VarExprAST()
396 std::vector<std::pair<std::string, ExprAST*> > VarNames; in ParseVarExpr() local
415 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
433 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1156 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
1157 const std::string &VarName = VarNames[i].first; in Codegen()
1158 ExprAST *Init = VarNames[i].second; in Codegen()
1189 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
1190 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp211 std::vector<std::pair<std::string, ExprAST *> > VarNames; member in __anonceded7450111::VarExprAST
217 : VarNames(varnames), Body(body) {} in VarExprAST()
438 std::vector<std::pair<std::string, ExprAST *> > VarNames; in ParseVarExpr() local
458 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
478 return new VarExprAST(VarNames, Body); in ParseVarExpr()
945 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
946 const std::string &VarName = VarNames[i].first; in Codegen()
947 ExprAST *Init = VarNames[i].second; in Codegen()
980 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
981 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp202 std::vector<std::pair<std::string, ExprAST*> > VarNames; member in VarExprAST
207 : VarNames(varnames), Body(body) {} in VarExprAST()
410 std::vector<std::pair<std::string, ExprAST*> > VarNames; in ParseVarExpr() local
429 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
447 return new VarExprAST(VarNames, Body); in ParseVarExpr()
894 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
895 const std::string &VarName = VarNames[i].first; in Codegen()
896 ExprAST *Init = VarNames[i].second; in Codegen()
927 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
928 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
Dtoy.cpp209 std::vector<std::pair<std::string, ExprAST*> > VarNames; member in VarExprAST
214 : VarNames(varnames), Body(body) {} in VarExprAST()
417 std::vector<std::pair<std::string, ExprAST*> > VarNames; in ParseVarExpr() local
436 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
454 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1258 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
1259 const std::string &VarName = VarNames[i].first; in Codegen()
1260 ExprAST *Init = VarNames[i].second; in Codegen()
1291 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
1292 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp334 std::vector<std::pair<std::string, ExprAST *> > VarNames; member in __anon435b48460211::VarExprAST
340 : VarNames(varnames), Body(body) {} in VarExprAST()
344 for (const auto &NamedVar : VarNames) in dump()
584 std::vector<std::pair<std::string, ExprAST *> > VarNames; in ParseVarExpr() local
604 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
624 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1146 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
1147 const std::string &VarName = VarNames[i].first; in Codegen()
1148 ExprAST *Init = VarNames[i].second; in Codegen()
1183 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp186 std::vector<std::pair<std::string, ExprAST*> > VarNames; member in VarExprAST
191 : VarNames(varnames), Body(body) {} in VarExprAST()
394 std::vector<std::pair<std::string, ExprAST*> > VarNames; in ParseVarExpr() local
413 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
431 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1116 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
1117 const std::string &VarName = VarNames[i].first; in Codegen()
1118 ExprAST *Init = VarNames[i].second; in Codegen()
1149 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
1150 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp228 std::vector<std::pair<std::string, ExprAST*> > VarNames; member in VarExprAST
233 : VarNames(varnames), Body(body) {} in VarExprAST()
436 std::vector<std::pair<std::string, ExprAST*> > VarNames; in ParseVarExpr() local
455 VarNames.push_back(std::make_pair(Name, Init)); in ParseVarExpr()
473 return new VarExprAST(VarNames, Body); in ParseVarExpr()
1336 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) { in Codegen()
1337 const std::string &VarName = VarNames[i].first; in Codegen()
1338 ExprAST *Init = VarNames[i].second; in Codegen()
1369 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) in Codegen()
1370 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
/external/llvm/docs/tutorial/
DLangImpl7.rst666 std::vector<std::pair<std::string, ExprAST*> > VarNames;
671 : VarNames(varnames), Body(body) {}
678 information in the VarNames vector. Also, var/in has a body, this body
714 std::vector<std::pair<std::string, ExprAST*> > VarNames;
721 into the local ``VarNames`` vector.
738 VarNames.push_back(std::make_pair(Name, Init));
761 return new VarExprAST(VarNames, Body);
775 for (unsigned i = 0, e = VarNames.size(); i != e; ++i) {
776 const std::string &VarName = VarNames[i].first;
777 ExprAST *Init = VarNames[i].second;
[all …]
DOCamlLangImpl7.rst694 information in the VarNames vector. Also, var/in has a body, this body