/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 299 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/ |
D | Parser.h | 163 const NamedValueMap *NamedValues, 188 const NamedValueMap *NamedValues, 212 const NamedValueMap *NamedValues); 228 const NamedValueMap *NamedValues, 245 const NamedValueMap *const NamedValues; variable
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 627 static std::map<std::string, AllocaInst*> NamedValues; variable 647 Value *V = NamedValues[Name]; in Codegen() 683 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 834 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 835 NamedValues[VarName] = Alloca; in Codegen() 879 NamedValues[VarName] = OldVal; in Codegen() 881 NamedValues.erase(VarName); in Codegen() 916 OldBindings.push_back(NamedValues[VarName]); in Codegen() 919 NamedValues[VarName] = Alloca; in Codegen() 928 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
D | toy.cpp | 998 static std::map<std::string, AllocaInst*> NamedValues; variable 1018 Value *V = NamedValues[Name]; in Codegen() 1050 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 1198 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 1199 NamedValues[VarName] = Alloca; in Codegen() 1243 NamedValues[VarName] = OldVal; in Codegen() 1245 NamedValues.erase(VarName); in Codegen() 1280 OldBindings.push_back(NamedValues[VarName]); in Codegen() 1283 NamedValues[VarName] = Alloca; in Codegen() 1292 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 668 static std::map<std::string, AllocaInst *> NamedValues; variable 692 Value *V = NamedValues[Name]; in Codegen() 725 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 884 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 885 NamedValues[VarName] = Alloca; in Codegen() 931 NamedValues[VarName] = OldVal; in Codegen() 933 NamedValues.erase(VarName); in Codegen() 968 OldBindings.push_back(NamedValues[VarName]); in Codegen() 971 NamedValues[VarName] = Alloca; in Codegen() 981 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 612 static std::map<std::string, AllocaInst*> NamedValues; variable 632 Value *V = NamedValues[Name]; in Codegen() 665 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 816 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 817 NamedValues[VarName] = Alloca; in Codegen() 861 NamedValues[VarName] = OldVal; in Codegen() 863 NamedValues.erase(VarName); in Codegen() 898 OldBindings.push_back(NamedValues[VarName]); in Codegen() 901 NamedValues[VarName] = Alloca; in Codegen() 910 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
D | toy.cpp | 896 static std::map<std::string, AllocaInst*> NamedValues; variable 916 Value *V = NamedValues[Name]; in Codegen() 948 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 1096 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 1097 NamedValues[VarName] = Alloca; in Codegen() 1141 NamedValues[VarName] = OldVal; in Codegen() 1143 NamedValues.erase(VarName); in Codegen() 1178 OldBindings.push_back(NamedValues[VarName]); in Codegen() 1181 NamedValues[VarName] = Alloca; in Codegen() 1190 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | ParserTest.cpp | 193 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/Chapter5/ |
D | toy.cpp | 509 static std::map<std::string, Value *> NamedValues; variable 523 Value *V = NamedValues[Name]; in Codegen() 666 Value *OldVal = NamedValues[VarName]; in Codegen() 667 NamedValues[VarName] = Variable; in Codegen() 713 NamedValues[VarName] = OldVal; in Codegen() 715 NamedValues.erase(VarName); in Codegen() 758 NamedValues[Args[Idx]] = AI; in Codegen() 765 NamedValues.clear(); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 856 static std::map<std::string, AllocaInst*> NamedValues; variable 876 Value *V = NamedValues[Name]; in Codegen() 908 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 1056 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 1057 NamedValues[VarName] = Alloca; in Codegen() 1101 NamedValues[VarName] = OldVal; in Codegen() 1103 NamedValues.erase(VarName); in Codegen() 1138 OldBindings.push_back(NamedValues[VarName]); in Codegen() 1141 NamedValues[VarName] = Alloca; in Codegen() 1150 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 597 static std::map<std::string, Value *> NamedValues; variable 611 Value *V = NamedValues[Name]; in Codegen() 774 Value *OldVal = NamedValues[VarName]; in Codegen() 775 NamedValues[VarName] = Variable; in Codegen() 821 NamedValues[VarName] = OldVal; in Codegen() 823 NamedValues.erase(VarName); in Codegen() 866 NamedValues[Args[Idx]] = AI; in Codegen() 873 NamedValues.clear(); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 858 static std::map<std::string, AllocaInst *> NamedValues; variable 883 Value *V = NamedValues[Name]; in Codegen() 920 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 1085 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 1086 NamedValues[VarName] = Alloca; in Codegen() 1132 NamedValues[VarName] = OldVal; in Codegen() 1134 NamedValues.erase(VarName); in Codegen() 1169 OldBindings.push_back(NamedValues[VarName]); in Codegen() 1172 NamedValues[VarName] = Alloca; in Codegen() 1184 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1070 static std::map<std::string, AllocaInst*> NamedValues; variable 1090 Value *V = NamedValues[Name]; in Codegen() 1124 Value *Variable = NamedValues[LHSE->getName()]; in Codegen() 1276 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 1277 NamedValues[VarName] = Alloca; in Codegen() 1321 NamedValues[VarName] = OldVal; in Codegen() 1323 NamedValues.erase(VarName); in Codegen() 1358 OldBindings.push_back(NamedValues[VarName]); in Codegen() 1361 NamedValues[VarName] = Alloca; in Codegen() 1370 NamedValues[VarNames[i].first] = OldBindings[i]; in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 729 std::map<std::string, AllocaInst*> NamedValues; member in IRGenContext 760 Value *V = C.NamedValues[Name]; in IRGen() 791 if (auto Variable = C.NamedValues[LHSVar.Name]) { in IRGen() 941 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen() 942 C.NamedValues[VarName] = Alloca; in IRGen() 986 C.NamedValues[VarName] = OldVal; in IRGen() 988 C.NamedValues.erase(VarName); in IRGen() 1022 OldBindings.push_back(C.NamedValues[VarName]); in IRGen() 1025 C.NamedValues[VarName] = Alloca; in IRGen() 1034 C.NamedValues[VarBindings[i].first] = OldBindings[i]; in IRGen() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 729 std::map<std::string, AllocaInst*> NamedValues; member in IRGenContext 760 Value *V = C.NamedValues[Name]; in IRGen() 791 if (auto Variable = C.NamedValues[LHSVar.Name]) { in IRGen() 941 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen() 942 C.NamedValues[VarName] = Alloca; in IRGen() 986 C.NamedValues[VarName] = OldVal; in IRGen() 988 C.NamedValues.erase(VarName); in IRGen() 1022 OldBindings.push_back(C.NamedValues[VarName]); in IRGen() 1025 C.NamedValues[VarName] = Alloca; in IRGen() 1034 C.NamedValues[VarBindings[i].first] = OldBindings[i]; in IRGen() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 729 std::map<std::string, AllocaInst*> NamedValues; member in IRGenContext 760 Value *V = C.NamedValues[Name]; in IRGen() 791 if (auto Variable = C.NamedValues[LHSVar.Name]) { in IRGen() 941 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen() 942 C.NamedValues[VarName] = Alloca; in IRGen() 986 C.NamedValues[VarName] = OldVal; in IRGen() 988 C.NamedValues.erase(VarName); in IRGen() 1022 OldBindings.push_back(C.NamedValues[VarName]); in IRGen() 1025 C.NamedValues[VarName] = Alloca; in IRGen() 1034 C.NamedValues[VarBindings[i].first] = OldBindings[i]; in IRGen() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 352 static std::map<std::string, Value*> NamedValues; variable 362 Value *V = NamedValues[Name]; in Codegen() 439 NamedValues[Args[Idx]] = AI; in Codegen() 446 NamedValues.clear(); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 730 std::map<std::string, AllocaInst*> NamedValues; member in IRGenContext 761 Value *V = C.NamedValues[Name]; in IRGen() 792 if (auto Variable = C.NamedValues[LHSVar.Name]) { in IRGen() 942 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen() 943 C.NamedValues[VarName] = Alloca; in IRGen() 987 C.NamedValues[VarName] = OldVal; in IRGen() 989 C.NamedValues.erase(VarName); in IRGen() 1023 OldBindings.push_back(C.NamedValues[VarName]); in IRGen() 1026 C.NamedValues[VarName] = Alloca; in IRGen() 1035 C.NamedValues[VarBindings[i].first] = OldBindings[i]; in IRGen() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 624 static std::map<std::string, Value *> NamedValues; variable 637 Value *V = NamedValues[Name]; in Codegen() 723 NamedValues[Args[Idx]] = AI; in Codegen() 730 NamedValues.clear(); in Codegen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl7.rst | 307 the '``NamedValues``' map. This map currently keeps track of the LLVM 310 ``NamedValues`` holds the *memory location* of the variable in question. 322 NamedValues map so that it maps to AllocaInst\* instead of Value\*. Once 328 static std::map<std::string, AllocaInst*> NamedValues; 360 Value *V = NamedValues[Name]; 420 NamedValues[Args[Idx]] = Alloca; 594 Value *Variable = NamedValues[LHSE->getName()]; 803 OldBindings.push_back(NamedValues[VarName]); 806 NamedValues[VarName] = Alloca; 826 NamedValues[VarNames[i].first] = OldBindings[i];
|
D | LangImpl3.rst | 79 static std::map<std::string, Value*> NamedValues; 92 The ``NamedValues`` map keeps track of which values are defined in the 129 Value *V = NamedValues[Name]; 136 values that can be in the ``NamedValues`` map are function arguments. 352 NamedValues[Args[Idx]] = AI; 359 and registering the arguments in the ``NamedValues`` map for future use 368 NamedValues.clear(); 376 clear out the ``NamedValues`` map to make sure that there isn't anything
|
D | LangImpl5.rst | 621 Value *OldVal = NamedValues[VarName]; 622 NamedValues[VarName] = Variable; 708 NamedValues[VarName] = OldVal; 710 NamedValues.erase(VarName);
|
D | LangImpl6.rst | 267 NamedValues.clear();
|