Home
last modified time | relevance | path

Searched refs:NamedValues (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp299 NamedValues ? NamedValues->lookup(NameToken.Text) in parseIdentifierPrefixImpl()
450 if (!NamedValues) return std::vector<MatcherCompletion>(); in getNamedValueCompletions()
452 for (const auto &Entry : *NamedValues) { in getNamedValueCompletions()
525 const NamedValueMap *NamedValues, Diagnostics *Error) in Parser() argument
527 NamedValues(NamedValues), Error(Error) {} in Parser()
558 const NamedValueMap *NamedValues, in parseExpression() argument
561 if (!Parser(&Tokenizer, S, NamedValues, Error).parseExpressionImpl(Value)) in parseExpression()
573 const NamedValueMap *NamedValues) { in completeExpression() argument
576 Parser P(&Tokenizer, S, NamedValues, &Error); in completeExpression()
593 const NamedValueMap *NamedValues, in parseMatcherExpression() argument
[all …]
/external/clang/include/clang/ASTMatchers/Dynamic/
DParser.h163 const NamedValueMap *NamedValues,
188 const NamedValueMap *NamedValues,
212 const NamedValueMap *NamedValues);
228 const NamedValueMap *NamedValues,
245 const NamedValueMap *const NamedValues; variable
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp608 static std::map<std::string, AllocaInst*> NamedValues; variable
629 Value *V = NamedValues[Name]; in Codegen()
659 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
806 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
807 NamedValues[VarName] = Alloca; in Codegen()
851 NamedValues[VarName] = OldVal; in Codegen()
853 NamedValues.erase(VarName); in Codegen()
888 OldBindings.push_back(NamedValues[VarName]); in Codegen()
891 NamedValues[VarName] = Alloca; in Codegen()
900 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp628 static std::map<std::string, AllocaInst*> NamedValues; variable
647 Value *V = NamedValues[Name]; in Codegen()
683 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
831 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
832 NamedValues[VarName] = Alloca; in Codegen()
876 NamedValues[VarName] = OldVal; in Codegen()
878 NamedValues.erase(VarName); in Codegen()
913 OldBindings.push_back(NamedValues[VarName]); in Codegen()
916 NamedValues[VarName] = Alloca; in Codegen()
925 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
Dtoy.cpp999 static std::map<std::string, AllocaInst*> NamedValues; variable
1018 Value *V = NamedValues[Name]; in Codegen()
1050 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
1195 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1196 NamedValues[VarName] = Alloca; in Codegen()
1240 NamedValues[VarName] = OldVal; in Codegen()
1242 NamedValues.erase(VarName); in Codegen()
1277 OldBindings.push_back(NamedValues[VarName]); in Codegen()
1280 NamedValues[VarName] = Alloca; in Codegen()
1289 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp613 static std::map<std::string, AllocaInst*> NamedValues; variable
632 Value *V = NamedValues[Name]; in Codegen()
665 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
813 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
814 NamedValues[VarName] = Alloca; in Codegen()
858 NamedValues[VarName] = OldVal; in Codegen()
860 NamedValues.erase(VarName); in Codegen()
895 OldBindings.push_back(NamedValues[VarName]); in Codegen()
898 NamedValues[VarName] = Alloca; in Codegen()
907 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
Dtoy.cpp897 static std::map<std::string, AllocaInst*> NamedValues; variable
916 Value *V = NamedValues[Name]; in Codegen()
948 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
1093 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1094 NamedValues[VarName] = Alloca; in Codegen()
1138 NamedValues[VarName] = OldVal; in Codegen()
1140 NamedValues.erase(VarName); in Codegen()
1175 OldBindings.push_back(NamedValues[VarName]); in Codegen()
1178 NamedValues[VarName] = Alloca; in Codegen()
1187 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
/external/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp193 auto NamedValues = getTestNamedValues(); in TEST() local
197 nullptr, &NamedValues, &Error)); in TEST()
295 auto NamedValues = getTestNamedValues(); in TEST() local
298 Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST()
305 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST()
310 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp690 static std::map<std::string, AllocaInst *> NamedValues; variable
729 Value *V = NamedValues[Name]; in codegen()
765 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
919 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
920 NamedValues[VarName] = Alloca; in codegen()
966 NamedValues[VarName] = OldVal; in codegen()
968 NamedValues.erase(VarName); in codegen()
1003 OldBindings.push_back(NamedValues[VarName]); in codegen()
1006 NamedValues[VarName] = Alloca; in codegen()
1016 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp690 static std::map<std::string, AllocaInst *> NamedValues; variable
729 Value *V = NamedValues[Name]; in codegen()
765 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
919 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
920 NamedValues[VarName] = Alloca; in codegen()
966 NamedValues[VarName] = OldVal; in codegen()
968 NamedValues.erase(VarName); in codegen()
1003 OldBindings.push_back(NamedValues[VarName]); in codegen()
1006 NamedValues[VarName] = Alloca; in codegen()
1016 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp690 static std::map<std::string, AllocaInst *> NamedValues; variable
729 Value *V = NamedValues[Name]; in codegen()
765 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
919 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
920 NamedValues[VarName] = Alloca; in codegen()
966 NamedValues[VarName] = OldVal; in codegen()
968 NamedValues.erase(VarName); in codegen()
1003 OldBindings.push_back(NamedValues[VarName]); in codegen()
1006 NamedValues[VarName] = Alloca; in codegen()
1016 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp678 static std::map<std::string, AllocaInst *> NamedValues; variable
718 Value *V = NamedValues[Name]; in codegen()
754 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
908 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
909 NamedValues[VarName] = Alloca; in codegen()
955 NamedValues[VarName] = OldVal; in codegen()
957 NamedValues.erase(VarName); in codegen()
992 OldBindings.push_back(NamedValues[VarName]); in codegen()
995 NamedValues[VarName] = Alloca; in codegen()
1005 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp700 static std::map<std::string, AllocaInst *> NamedValues; variable
740 Value *V = NamedValues[Name]; in codegen()
776 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
930 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
931 NamedValues[VarName] = Alloca; in codegen()
977 NamedValues[VarName] = OldVal; in codegen()
979 NamedValues.erase(VarName); in codegen()
1014 OldBindings.push_back(NamedValues[VarName]); in codegen()
1017 NamedValues[VarName] = Alloca; in codegen()
1027 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp687 static std::map<std::string, AllocaInst *> NamedValues; variable
725 Value *V = NamedValues[Name]; in codegen()
761 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
915 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
916 NamedValues[VarName] = Alloca; in codegen()
962 NamedValues[VarName] = OldVal; in codegen()
964 NamedValues.erase(VarName); in codegen()
999 OldBindings.push_back(NamedValues[VarName]); in codegen()
1002 NamedValues[VarName] = Alloca; in codegen()
1012 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp690 static std::map<std::string, AllocaInst *> NamedValues; variable
730 Value *V = NamedValues[Name]; in codegen()
766 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
920 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
921 NamedValues[VarName] = Alloca; in codegen()
967 NamedValues[VarName] = OldVal; in codegen()
969 NamedValues.erase(VarName); in codegen()
1004 OldBindings.push_back(NamedValues[VarName]); in codegen()
1007 NamedValues[VarName] = Alloca; in codegen()
1017 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp458 static std::map<std::string, Value*> NamedValues; variable
469 Value *V = NamedValues[Name]; in Codegen()
600 Value *OldVal = NamedValues[VarName]; in Codegen()
601 NamedValues[VarName] = Variable; in Codegen()
645 NamedValues[VarName] = OldVal; in Codegen()
647 NamedValues.erase(VarName); in Codegen()
690 NamedValues[Args[Idx]] = AI; in Codegen()
697 NamedValues.clear(); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp857 static std::map<std::string, AllocaInst*> NamedValues; variable
876 Value *V = NamedValues[Name]; in Codegen()
908 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
1053 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1054 NamedValues[VarName] = Alloca; in Codegen()
1098 NamedValues[VarName] = OldVal; in Codegen()
1100 NamedValues.erase(VarName); in Codegen()
1135 OldBindings.push_back(NamedValues[VarName]); in Codegen()
1138 NamedValues[VarName] = Alloca; in Codegen()
1147 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
Dtoy.cpp543 static std::map<std::string, Value*> NamedValues; variable
554 Value *V = NamedValues[Name]; in Codegen()
704 Value *OldVal = NamedValues[VarName]; in Codegen()
705 NamedValues[VarName] = Variable; in Codegen()
749 NamedValues[VarName] = OldVal; in Codegen()
751 NamedValues.erase(VarName); in Codegen()
794 NamedValues[Args[Idx]] = AI; in Codegen()
801 NamedValues.clear(); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp528 static std::map<std::string, Value *> NamedValues; variable
559 Value *V = NamedValues[Name]; in codegen()
699 Value *OldVal = NamedValues[VarName]; in codegen()
700 NamedValues[VarName] = Variable; in codegen()
746 NamedValues[VarName] = OldVal; in codegen()
748 NamedValues.erase(VarName); in codegen()
785 NamedValues.clear(); in codegen()
787 NamedValues[Arg.getName()] = &Arg; in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1071 static std::map<std::string, AllocaInst*> NamedValues; variable
1090 Value *V = NamedValues[Name]; in Codegen()
1124 Value *Variable = NamedValues[LHSE->getName()]; in Codegen()
1273 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1274 NamedValues[VarName] = Alloca; in Codegen()
1318 NamedValues[VarName] = OldVal; in Codegen()
1320 NamedValues.erase(VarName); in Codegen()
1355 OldBindings.push_back(NamedValues[VarName]); in Codegen()
1358 NamedValues[VarName] = Alloca; in Codegen()
1367 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp860 static std::map<std::string, AllocaInst *> NamedValues; variable
901 Value *V = NamedValues[Name]; in codegen()
941 Value *Variable = NamedValues[LHSE->getName()]; in codegen()
1101 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
1102 NamedValues[VarName] = Alloca; in codegen()
1148 NamedValues[VarName] = OldVal; in codegen()
1150 NamedValues.erase(VarName); in codegen()
1185 OldBindings.push_back(NamedValues[VarName]); in codegen()
1188 NamedValues[VarName] = Alloca; in codegen()
1200 NamedValues[VarNames[i].first] = OldBindings[i]; in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp619 static std::map<std::string, Value *> NamedValues; variable
650 Value *V = NamedValues[Name]; in codegen()
810 Value *OldVal = NamedValues[VarName]; in codegen()
811 NamedValues[VarName] = Variable; in codegen()
857 NamedValues[VarName] = OldVal; in codegen()
859 NamedValues.erase(VarName); in codegen()
900 NamedValues.clear(); in codegen()
902 NamedValues[Arg.getName()] = &Arg; in codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
Dtoy.cpp350 static std::map<std::string, Value*> NamedValues; variable
360 Value *V = NamedValues[Name]; in Codegen()
437 NamedValues[Args[Idx]] = AI; in Codegen()
444 NamedValues.clear(); in Codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
Dtoy.cpp357 static std::map<std::string, Value*> NamedValues; variable
368 Value *V = NamedValues[Name]; in Codegen()
445 NamedValues[Args[Idx]] = AI; in Codegen()
452 NamedValues.clear(); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp394 static std::map<std::string, Value *> NamedValues; variable
407 Value *V = NamedValues[Name]; in codegen()
487 NamedValues.clear(); in codegen()
489 NamedValues[Arg.getName()] = &Arg; in codegen()

12