Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp338 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 DClangTidyOptions.cpp62 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 Ddevice.h243 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 DBadSignalToKillThreadCheck.cpp32 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 DStringMap.h257 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 DDeprecatedHeadersCheck.cpp140 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 DEnvironment.h80 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 DCodeGenMapTable.cpp232 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 DJSONCompilationDatabase.cpp362 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 DRedundantExpressionCheck.cpp1272 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()