Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/third-party/benchmark/src/
H A Dcommandlineflags.cc91 const auto kv = StrSplit(kvpair, '='); in ParseKvPairs() local
92 if (kv.size() != 2) { in ParseKvPairs()
98 if (!kvs.emplace(kv[0], kv[1]).second) { in ParseKvPairs()
100 << kv[0] << "\" was repeated.\n"; in ParseKvPairs()
258 const auto kv = StrSplit(kvpair, '='); in ParseKeyValueFlag() local
259 if (kv.size() != 2) return false; in ParseKeyValueFlag()
260 value->emplace(kv[0], kv[1]); in ParseKeyValueFlag()
H A Dstatistics.cc194 for (auto const& kv : counter_stats) { in ComputeStats() local
196 const auto uc_stat = Stat.compute_(kv.second.s); in ComputeStats()
197 auto c = Counter(uc_stat, counter_stats[kv.first].c.flags, in ComputeStats()
198 counter_stats[kv.first].c.oneK); in ComputeStats()
199 data.counters[kv.first] = c; in ComputeStats()
H A Dreporter.cc71 for (const auto &kv : *internal::global_context) { in PrintBasicContext()
72 Out << kv.first << ": " << kv.second << "\n"; in PrintBasicContext()
H A Djson_reporter.cc188 for (const auto& kv : *internal::global_context) { in ReportContext()
190 out << indent << FormatKV(kv.first, kv.second); in ReportContext()
H A Dbenchmark.cc599 for (const auto& kv : FLAGS_benchmark_context) { in ParseCommandLineFlags() local
600 AddCustomContext(kv.first, kv.second); in ParseCommandLineFlags()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DMveEmitter.cpp865 OS << " " << kv.first << " = " << kv.second << ";\n"; in genCode()
1625 for (const auto &OI : kv.second) in EmitBuiltinCG()
1670 for (const auto &OI : kv.second) { in EmitBuiltinCG()
1776 for (const auto &kv : ScalarTypes) { in EmitHeader() local
1974 for (const auto &kv : Checks) { in EmitBuiltinSema() local
1975 for (StringRef Name : kv.second) in EmitBuiltinSema()
1977 OS << " return " << kv.first; in EmitBuiltinSema()
2101 StringRef Name = kv.first; in EmitHeader()
2156 if (kv.second->headerOnly()) in EmitBuiltinDef()
2168 for (const auto &kv : Checks) { in EmitBuiltinSema() local
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/
H A DTaskTimer.cpp12 for (const auto &kv : m_timed_tasks) { in ForEachTimedTask() local
13 callback(kv.first, kv.second); in ForEachTimedTask()
H A DTraceIntelPTMultiCpuDecoder.cpp216 for (const auto &kv : *m_continuous_executions_per_thread) in GetTotalContinuousExecutionsCount()
217 count += kv.second.size(); in GetTotalContinuousExecutionsCount()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncRuntimeRefCountingOpt.cpp103 for (auto &kv : blockUsers) { in optimizeReferenceCounting() local
104 BlockUsersInfo &info = preprocessBlockUsersInfo(kv.second); in optimizeReferenceCounting()
222 for (auto &kv : cancellable) { in runOnOperation() local
223 kv.first->erase(); in runOnOperation()
224 kv.second->erase(); in runOnOperation()
H A DAsyncRuntimeRefCounting.cpp377 for (auto kv : divergentLivenessBlocks) { in addDropRefInDivergentLivenessSuccessor() local
378 Block *block = kv.getFirst(); in addDropRefInDivergentLivenessSuccessor()
379 BlockSet &successors = kv.getSecond(); in addDropRefInDivergentLivenessSuccessor()
/llvm-project-15.0.7/lld/Common/
H A DArgs.cpp67 std::pair<StringRef, StringRef> kv = StringRef(arg->getValue()).split('='); in getZOptionValue() local
68 if (kv.first == key) { in getZOptionValue()
70 if (!to_integer(kv.second, result)) in getZOptionValue()
71 error("invalid " + key + ": " + kv.second); in getZOptionValue()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-translate/
H A DTranslation.cpp113 for (const auto &kv : getTranslationRegistry()) in TranslationParser() local
114 addLiteralOption(kv.first(), &kv.second, kv.first()); in TranslationParser()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A Dmlir-tblgen.cpp47 for (const auto &kv : *generatorRegistry) { in GenNameParser()
48 addLiteralOption(kv.getGenArgument(), &kv, kv.getGenDescription()); in GenNameParser()
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassRegistry.cpp789 for (const auto &kv : *passRegistry) { in initialize()
790 addLiteralOption(kv.second.getPassArgument(), &kv.second, in initialize()
791 kv.second.getPassDescription()); in initialize()
795 for (const auto &kv : *passPipelineRegistry) { in initialize()
796 addLiteralOption(kv.second.getPassArgument(), &kv.second, in initialize()
797 kv.second.getPassDescription()); in initialize()
828 for (auto &kv : map) in printOptionInfo() local
829 orderedEntries.push_back(&kv.second); in printOptionInfo()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DJSONBackend.cpp174 for (auto kv: instance_lists) in run() local
175 instanceof[kv.first] = std::move(kv.second); in run()
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp651 auto *kv = reinterpret_cast<struct kinfo_vmentry *>(bp); in PopulateMemoryRegionCache() local
652 if (kv->kve_structsize == 0) in PopulateMemoryRegionCache()
654 bp += kv->kve_structsize; in PopulateMemoryRegionCache()
658 info.GetRange().SetRangeBase(kv->kve_start); in PopulateMemoryRegionCache()
659 info.GetRange().SetRangeEnd(kv->kve_end); in PopulateMemoryRegionCache()
662 if (kv->kve_protection & VM_PROT_READ) in PopulateMemoryRegionCache()
667 if (kv->kve_protection & VM_PROT_WRITE) in PopulateMemoryRegionCache()
672 if (kv->kve_protection & VM_PROT_EXECUTE) in PopulateMemoryRegionCache()
677 if (kv->kve_path[0]) in PopulateMemoryRegionCache()
678 info.SetName(kv->kve_path); in PopulateMemoryRegionCache()
/llvm-project-15.0.7/lld/ELF/
H A DMapFile.cpp246 for (auto kv : map) { in writeCref() local
247 Symbol *sym = kv.first; in writeCref()
248 SetVector<InputFile *> &files = kv.second; in writeCref()
H A DDriver.cpp435 if (kv.first == "start-stop-visibility") { in getZStartStopVisibility()
436 if (kv.second == "default") in getZStartStopVisibility()
438 else if (kv.second == "internal") in getZStartStopVisibility()
440 else if (kv.second == "hidden") in getZStartStopVisibility()
442 else if (kv.second == "protected") in getZStartStopVisibility()
1269 if (kv.first.empty() || kv.second.empty()) { in readConfigs()
1276 if (!to_integer(kv.second, v)) in readConfigs()
1307 std::pair<StringRef, StringRef> kv = option.second.split('='); in readConfigs() local
1308 if (kv.first.empty() || kv.second.empty()) { in readConfigs()
1313 if (!to_integer(kv.second, v)) in readConfigs()
[all …]
H A DARMErrataFix.cpp345 for (auto &kv : sectionMap) { in init() local
346 std::vector<const Defined *> &mapSyms = kv.second; in init()
H A DAArch64ErrataFix.cpp458 for (auto &kv : sectionMap) { in init() local
459 std::vector<const Defined *> &mapSyms = kv.second; in init()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
H A Dlldbgdbserverutils.py250 for kv in response_packet.split(";"):
251 if len(kv) < 1:
253 (key, val) = kv.split(':')
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp316 this->Map.forEach([&](const typename TypeParam::value_type &kv) { in TYPED_TEST() argument
317 ++visited[visitedIndex[kv.first]]; in TYPED_TEST()
/llvm-project-15.0.7/lld/COFF/
H A DInputFiles.cpp435 for (auto &kv : weakAliases) { in initializeSymbols() local
436 Symbol *sym = kv.first; in initializeSymbols()
437 uint32_t idx = kv.second; in initializeSymbols()
H A DDebugTypes.cpp461 for (auto kv : ctx.precompSourceMappings) { in findObjByName() local
462 StringRef currentFileName = sys::path::filename(kv.second->file->getName(), in findObjByName()
467 return (PrecompSource *)kv.second; in findObjByName()
H A DDLL.cpp151 for (auto &kv : m) { in binImports() local
153 std::vector<DefinedImportData *> &syms = kv.second; in binImports()

12