| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 338 StringRef KeyValue; in parseRewriteFunctionDescriptor() local 352 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor() 353 if (KeyValue.equals("source")) { in parseRewriteFunctionDescriptor() 361 } else if (KeyValue.equals("target")) { in parseRewriteFunctionDescriptor() 365 } else if (KeyValue.equals("naked")) { in parseRewriteFunctionDescriptor() 407 StringRef KeyValue; in parseRewriteGlobalVariableDescriptor() local 421 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor() 422 if (KeyValue.equals("source")) { in parseRewriteGlobalVariableDescriptor() 470 StringRef KeyValue; in parseRewriteGlobalAliasDescriptor() local 484 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalAliasDescriptor() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyOptions.cpp | 62 static void mapping(IO &IO, ClangTidyOptions::StringPair &KeyValue) { in mapping() 63 IO.mapRequired("key", KeyValue.first); in mapping() 64 IO.mapRequired("value", KeyValue.second); in mapping() 72 for (const auto &KeyValue : OptionMap) in NOptionMap() local 73 Options.emplace_back(std::string(KeyValue.getKey()), KeyValue.getValue().Value); in NOptionMap() 77 for (const auto &KeyValue : Options) in denormalize() local 78 Map[KeyValue.first] = ClangTidyOptions::ClangTidyValue(KeyValue.second); in denormalize() 191 for (const auto &KeyValue : Other.CheckOptions) { in mergeWith() local 193 KeyValue.getKey(), in mergeWith() 194 ClangTidyValue(KeyValue.getValue().Value, in mergeWith() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/include/ |
| H A D | device.h | 243 uintptr_t KeyValue; member 245 HostDataToTargetMapKeyTy(void *Key) : KeyValue(uintptr_t(Key)) {} in HostDataToTargetMapKeyTy() 247 : KeyValue(HDTT->HstPtrBegin), HDTT(HDTT) {} in HostDataToTargetMapKeyTy() 252 return LHS.KeyValue < RHS; 256 return LHS < RHS.KeyValue; 260 return LHS.KeyValue < RHS.KeyValue;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | BadSignalToKillThreadCheck.cpp | 32 const auto IsSigterm = [](const auto &KeyValue) -> bool { in check() argument 33 return KeyValue.first->getName() == "SIGTERM" && in check() 34 KeyValue.first->hasMacroDefinition(); in check()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringMap.h | 257 for (const auto &KeyValue : *this) { 258 auto FindInRHS = RHS.find(KeyValue.getKey()); 263 if (!(KeyValue.getValue() == FindInRHS->getValue())) 275 bool insert(MapEntryTy *KeyValue) { in insert() argument 276 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert() 283 Bucket = KeyValue; in insert() 368 void remove(MapEntryTy *KeyValue) { RemoveKey(KeyValue); } in remove() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | DeprecatedHeadersCheck.cpp | 140 for (const auto &KeyValue : in IncludeModernizePPCallbacks() local 160 CStyledHeaderToCxx.insert(KeyValue); in IncludeModernizePPCallbacks() 164 for (const auto &KeyValue : in IncludeModernizePPCallbacks() local 171 CStyledHeaderToCxx.insert(KeyValue); in IncludeModernizePPCallbacks()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Environment.h | 80 static std::string compose(const value_type &KeyValue) { in compose() argument 81 return (KeyValue.first() + "=" + KeyValue.second).str(); in compose()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenMapTable.cpp | 232 std::vector<Init*> KeyValue; in buildRowInstrMap() local 241 KeyValue.push_back(CurInstrVal); in buildRowInstrMap() 250 RowInstrMap[KeyValue].push_back(CurInstr); in buildRowInstrMap() 304 std::vector<Init*> KeyValue; in getInstrForColumn() local 309 KeyValue.push_back(KeyInstrVal); in getInstrForColumn() 316 const std::vector<Record*> &RelatedInstrVec = RowInstrMap[KeyValue]; in getInstrForColumn() 337 for (Init *Value : KeyValue) { in getInstrForColumn()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | JSONCompilationDatabase.cpp | 362 StringRef KeyValue = KeyString->getValue(KeyStorage); in parse() local 370 if (KeyValue == "arguments") { in parse() 389 if (KeyValue == "directory") { in parse() 391 } else if (KeyValue == "command") { in parse() 394 } else if (KeyValue == "file") { in parse() 396 } else if (KeyValue == "output") { in parse()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 1272 for (const auto &KeyValue : Result.Nodes.getMap()) { in check() local 1273 if (StringRef(KeyValue.first).startswith("duplicate")) in check() 1274 Diag << KeyValue.second.getSourceRange(); in check()
|