Home
last modified time | relevance | path

Searched refs:try_emplace (Results 1 – 25 of 185) sorted by relevance

12345678

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStatistics.cpp30 obj.try_emplace(key, str); in EmplaceSafeString()
32 obj.try_emplace(key, llvm::json::fixUTF8(str)); in EmplaceSafeString()
56 module.try_emplace("identifier", identifier); in ToJSON()
57 module.try_emplace("symbolTableParseTime", symtab_parse_time); in ToJSON()
58 module.try_emplace("symbolTableIndexTime", symtab_index_time); in ToJSON()
59 module.try_emplace("symbolTableLoadedFromCache", symtab_loaded_from_cache); in ToJSON()
60 module.try_emplace("symbolTableSavedToCache", symtab_saved_to_cache); in ToJSON()
61 module.try_emplace("debugInfoParseTime", debug_parse_time); in ToJSON()
62 module.try_emplace("debugInfoIndexTime", debug_index_time); in ToJSON()
63 module.try_emplace("debugInfoByteSize", (int64_t)debug_info_size); in ToJSON()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp39 JO.try_emplace("Name", RegionName); in getJSONReportRegion()
42 JO.try_emplace(V->getNameAsString().str(), V->toJSON()); in getJSONReportRegion()
57 SimParameters.try_emplace("-register-file-size", PO.RegisterFileSize); in getJSONSimulationParameters()
60 SimParameters.try_emplace("-noalias", PO.AssumeNoAlias); in getJSONSimulationParameters()
63 SimParameters.try_emplace("-decoder-throughput", PO.DecodersThroughput); in getJSONSimulationParameters()
66 SimParameters.try_emplace("-micro-op-queue-size", PO.MicroOpQueueSize); in getJSONSimulationParameters()
69 SimParameters.try_emplace("-dispatch", PO.DispatchWidth); in getJSONSimulationParameters()
72 SimParameters.try_emplace("-lqueue", PO.LoadQueueSize); in getJSONSimulationParameters()
75 SimParameters.try_emplace("-squeue", PO.StoreQueueSize); in getJSONSimulationParameters()
107 JO.try_emplace("TargetInfo", getJSONTargetInfo()); in printReport()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTraceIntelPTGDBRemotePackets.cpp66 obj.try_emplace("iptTraceSize", packet.ipt_trace_size); in toJSON()
67 obj.try_emplace("processBufferSizeLimit", packet.process_buffer_size_limit); in toJSON()
68 obj.try_emplace("psbPeriod", packet.psb_period); in toJSON()
69 obj.try_emplace("enableTsc", packet.enable_tsc); in toJSON()
70 obj.try_emplace("perCpuTracing", packet.per_cpu_tracing); in toJSON()
71 obj.try_emplace("disableCgroupTracing", packet.disable_cgroup_filtering); in toJSON()
H A DUserIDResolver.cpp22 auto iter_bool = cache.try_emplace(id, std::nullopt); in Get()
H A DEnvironment.cpp46 try_emplace(first->first(), first->second); in insert()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp183 FuncAliasMap.try_emplace(Values[i], Values.front()); in ReadV1Profile()
187 auto R = ProgramPathAndClusterInfo.try_emplace(Values.front()); in ReadV1Profile()
329 FuncAliasMap.try_emplace(Aliases[i], Aliases.front()); in ReadV0Profile()
333 auto R = ProgramPathAndClusterInfo.try_emplace(Aliases.front()); in ReadV0Profile()
408 BBSPR.FunctionNameToDIFilename.try_emplace(F.getName(), DIFilename) in doInitialization()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h175 BlockMapTopLevel.try_emplace(Block, C);
208 BlockMap.try_emplace(Block, Cycle); in addBlockToCycle()
217 BlockMapTopLevel.try_emplace(Block, Cycle); in addBlockToCycle()
247 Info.BlockMap.try_emplace(HeaderCandidate, NewCycle.get()); in run()
299 Info.BlockMap.try_emplace(Block, NewCycle.get()); in run()
303 Info.BlockMapTopLevel.try_emplace(Block, NewCycle.get()); in run()
352 bool Added = BlockDFSInfo.try_emplace(Block, ++Counter).second; in dfs()
H A DDenseMap.h221 return try_emplace(KV.first, KV.second); in insert()
228 return try_emplace(std::move(KV.first), std::move(KV.second)); in insert()
235 std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) { in try_emplace() function
260 std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&... Args) { in try_emplace() function
317 auto Ret = try_emplace(Key, std::forward<V>(Val)); in insert_or_assign()
325 auto Ret = try_emplace(std::move(Key), std::forward<V>(Val)); in insert_or_assign()
335 return try_emplace(Key).first->second; in getOrInsertDefault()
342 return try_emplace(Key).first->second; in getOrInsertDefault()
H A DStringSet.h39 return Base::try_emplace(key); in insert()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelWorkList.h66 if (!WorklistMap.try_emplace(Worklist[i], i).second) in finalize()
78 if (WorklistMap.try_emplace(I, Worklist.size()).second) in insert()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpoint.cpp1111 bp.try_emplace("id", GetID()); in GetStatistics()
1112 bp.try_emplace("resolveTime", m_resolve_time.get().count()); in GetStatistics()
1113 bp.try_emplace("numLocations", (int64_t)GetNumLocations()); in GetStatistics()
1114 bp.try_emplace("numResolvedLocations", (int64_t)GetNumResolvedLocations()); in GetStatistics()
1115 bp.try_emplace("hitCount", (int64_t)GetHitCount()); in GetStatistics()
1116 bp.try_emplace("internal", IsInternal()); in GetStatistics()
1118 bp.try_emplace("kindDescription", m_kind_description); in GetStatistics()
1130 bp.try_emplace("details", std::move(*expected_value)); in GetStatistics()
1134 details.try_emplace("error", details_error); in GetStatistics()
1135 bp.try_emplace("details", std::move(details)); in GetStatistics()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStandardLibrary.cpp98 auto R = Mapping->NamespaceSymbols->try_emplace(NS, nullptr); in initialize()
105 return Mapping->HeaderIDs->try_emplace(Header, Mapping->HeaderIDs->size()) in initialize()
137 NSSymbols.try_emplace(QName.drop_front(NSLen), SymIndex); in initialize()
272 NamespaceCache.try_emplace(D, Result); in namespaceSymbols()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRewritePartialRegUses.cpp167 const auto [I, Inserted] = SubRegs.try_emplace({Offset, Size}, 0); in getSubReg()
190 SuperRegMasks.try_emplace({RC, SubRegIdx}, nullptr); in getSuperRegClassMask()
205 AllocatableAndAlignedRegClassMasks.try_emplace(AlignNumBits); in getAllocatableAndAlignedRegClassMask()
430 const auto [I, Inserted] = SubRegs.try_emplace(SubReg); in rewriteReg()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DMergingTypeTableBuilder.cpp92 auto Result = HashedRecords.try_emplace(WeakHash, nextTypeIndex()); in insertRecordAs()
133 auto Result = HashedRecords.try_emplace(WeakHash, Index.toArrayIndex()); in replaceType()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_lzw.h37 if (prefix_to_code.try_emplace({kNoPrefix, *it}, 0).second) in LzwEncode()
65 auto ins = prefix_to_code.try_emplace({match, *it}, prefix_to_code.size()); in LzwEncode()
H A Dsanitizer_dense_map.h124 return try_emplace(KV.first, KV.second); in insert()
131 return try_emplace(__sanitizer::move(KV.first), in insert()
139 detail::DenseMapPair<value_type *, bool> try_emplace(KeyT &&Key, in try_emplace() function
155 detail::DenseMapPair<value_type *, bool> try_emplace(const KeyT &Key, in try_emplace() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h183 Types.try_emplace(MI, InstType::NotDetermined); in startVisit()
184 WaitingQueues.try_emplace(MI); in startVisit()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp155 JO.try_emplace("RThroughput", IIVD.RThroughput.value_or(0.0)); in toJSON()
171 JO.try_emplace("Instruction", (unsigned)I.index()); in toJSON()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokenBufferTokenManager.cpp19 auto It = ExtraTokens.try_emplace(FID, tokenize(FID, SM, LangOpts)); in lexBuffer()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComparisonCategories.cpp120 return &Data.try_emplace((char)Kind, Ctx, RD, Kind).first->second; in lookupInfo()
154 return &Data.try_emplace((char)Kind, Ctx, RD, Kind).first->second; in lookupInfoForType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTaskTimer.cpp28 it = m_thread_timers.try_emplace(tid, ScopedTaskTimer{}).first; in ForThread()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCodeExpansions.h29 Expansions.try_emplace(Name, Expansion); in declare()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPassInstrumentation.cpp22 ClassToPassName.try_emplace(ClassName, PassName.str()); in addClassToPassName()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp64 ExpansionRanges.try_emplace(MacroNameBegin, ExpansionEnd); in MacroExpands()
228 ExpandedTokens.try_emplace(CurrExpansionLoc, std::move(TokenAsString)); in onTokenLexed()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DSymbolSet.cpp17 auto Result = Symbols.try_emplace(SymbolsMapKey{Kind, Name}, nullptr); in addGlobalImpl()

12345678