| /llvm-project-15.0.7/lldb/tools/lldb-vscode/ |
| H A D | JSONUtils.cpp | 35 obj.try_emplace(key, str.str()); in EmplaceSafeString() 166 response.try_emplace("seq", (int64_t)0); in FillResponse() 170 response.try_emplace("success", true); in FillResponse() 316 object.try_emplace("id", bp.GetID()); in CreateBreakpoint() 344 object.try_emplace("line", line); in CreateBreakpoint() 484 event.try_emplace("seq", 0); in CreateEventObject() 485 event.try_emplace("type", "event"); in CreateEventObject() 756 object.try_emplace("id", frame_id); in CreateStackFrame() 779 object.try_emplace("line", line); in CreateStackFrame() 1075 object.try_emplace("id", varID); in CreateVariable() [all …]
|
| H A D | lldb-vscode.cpp | 174 event.try_emplace("body", std::move(body)); in SendProcessExitedEvent() 181 body.try_emplace("reason", "exited"); in SendThreadExitedEvent() 182 body.try_emplace("threadId", (int64_t)tid); in SendThreadExitedEvent() 183 event.try_emplace("body", std::move(body)); in SendThreadExitedEvent() 353 body.try_emplace("isLocalProcess", true); in SendProcessEvent() 366 body.try_emplace("startMethod", startMethod); in SendProcessEvent() 367 event.try_emplace("body", std::move(body)); in SendProcessEvent() 919 body.try_emplace("breakMode", "always"); in request_exceptionInfo() 1481 body.try_emplace("supportsStepBack", false); in request_initialize() 1536 body.try_emplace("supportsLogPoints", true); in request_initialize() [all …]
|
| H A D | ProgressEvent.cpp | 109 body.try_emplace("progressId", progress_id_str); in ToJSON() 113 body.try_emplace("cancellable", false); in ToJSON() 120 body.try_emplace("percentage", *m_percentage); in ToJSON() 122 event.try_emplace("body", std::move(body)); in ToJSON()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Statistics.cpp | 27 obj.try_emplace(key, str); in EmplaceSafeString() 29 obj.try_emplace(key, llvm::json::fixUTF8(str)); in EmplaceSafeString() 53 module.try_emplace("identifier", identifier); in ToJSON() 58 module.try_emplace("debugInfoParseTime", debug_parse_time); in ToJSON() 59 module.try_emplace("debugInfoIndexTime", debug_index_time); in ToJSON() 61 module.try_emplace("debugInfoIndexLoadedFromCache", in ToJSON() 63 module.try_emplace("debugInfoIndexSavedToCache", in ToJSON() 68 module.try_emplace("symbolFilePath", symfile_path); in ToJSON() 109 target_metrics_json.try_emplace("targetCreateTime", in ToJSON() 131 target_metrics_json.try_emplace("signals", in ToJSON() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | PipelinePrinter.cpp | 39 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() 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() 108 JO.try_emplace("SimulationParameters", getJSONSimulationParameters()); in printReport() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/ |
| H A D | try.emplace.pass.cpp | 81 r = m.try_emplace(i, std::move(mv1)); in main() 88 r = m.try_emplace(-1, std::move(mv1)); in main() 96 r = m.try_emplace(5, std::move(mv2)); in main() 104 r = m.try_emplace(117, std::move(mv2)); in main() 123 r = m.try_emplace(std::move(mvkey1), std::move(mv1)); in main() 131 r = m.try_emplace(std::move(mvkey2), std::move(mv1)); in main() 145 m.try_emplace ( i, Moveable(i, (double) i)); in main() 152 r = m.try_emplace(it, i, std::move(mv1)); in main() 159 r = m.try_emplace(it, 3, std::move(mv1)); in main() 177 r = m.try_emplace(it, std::move(mvkey1), std::move(mv1)); in main() [all …]
|
| H A D | try_emplace_hint.addressof.compile.pass.cpp | 34 m.try_emplace(m.cend(), k); in test() 38 m.try_emplace(m.cend(), std::move(k)); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.modifiers/ |
| H A D | try.emplace.pass.cpp | 73 r = m.try_emplace(i, std::move(mv1)); in main() 80 r = m.try_emplace(-1, std::move(mv1)); in main() 88 r = m.try_emplace(5, std::move(mv2)); in main() 96 r = m.try_emplace(117, std::move(mv2)); in main() 115 r = m.try_emplace(std::move(mvkey1), std::move(mv1)); in main() 123 r = m.try_emplace(std::move(mvkey2), std::move(mv1)); in main() 137 m.try_emplace ( i, Moveable(i, (double) i)); in main() 144 r = m.try_emplace(it, i, std::move(mv1)); in main() 151 r = m.try_emplace(it, 3, std::move(mv1)); in main() 169 r = m.try_emplace(it, std::move(mvkey1), std::move(mv1)); in main() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | TraceIntelPTGDBRemotePackets.cpp | 66 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FileDistance.cpp | 85 auto R = Cache.try_emplace(Hash, Cost); in FileDistance() 110 Cache.try_emplace(Child, Unreachable).first->getSecond(); in FileDistance() 144 Cache.try_emplace(Hash, Cost); in distance() 151 auto R = Cache.try_emplace(llvm::hash_value(URI), FileDistance::Unreachable); in distance() 169 SchemeSources.try_emplace(U->body(), Source.getValue()); in forScheme()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Inclusions/ |
| H A D | StandardLibrary.cpp | 39 auto R = NamespaceSymbols->try_emplace(NS, nullptr); in initialize() 46 return HeaderIDs->try_emplace(Header, HeaderIDs->size()).first->second; in initialize() 58 NSSymbols.try_emplace(Name, SymIndex); in initialize() 122 NamespaceCache.try_emplace(D, Result); in namespaceSymbols()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowAnalysisContext.cpp | 64 auto Res = NullPointerVals.try_emplace(CanonicalPointeeType, nullptr); in getOrCreateNullPointerValue() 86 auto Res = ConjunctionVals.try_emplace(makeCanonicalBoolValuePair(LHS, RHS), in getOrCreateConjunction() 99 auto Res = DisjunctionVals.try_emplace(makeCanonicalBoolValuePair(LHS, RHS), in getOrCreateDisjunction() 108 auto Res = NegationVals.try_emplace(&Val, nullptr); in getOrCreateNegation() 119 auto Res = ImplicationVals.try_emplace(std::make_pair(&LHS, &RHS), nullptr); in getOrCreateImplication() 131 auto Res = BiconditionalVals.try_emplace(makeCanonicalBoolValuePair(LHS, RHS), in getOrCreateIff() 145 auto Res = FlowConditionConstraints.try_emplace(&Token, &Constraint); in addFlowConditionConstraint()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | FileIndex.cpp | 111 auto Entry = IG.try_emplace(URI).first; in getSubGraph() 118 auto I = IG.try_emplace(Include).first; in getSubGraph() 134 auto It = Shards.try_emplace(S.CanonicalDeclaration.FileURI); in FileShardedIndex() 140 auto It = Shards.try_emplace(S.Definition.FileURI); in FileShardedIndex() 149 const auto It = Shards.try_emplace(R.Location.FileURI); in FileShardedIndex() 176 auto ShardIt = Shards.try_emplace(It.first()); in FileShardedIndex() 306 auto I = Merged.try_emplace(Sym.ID, Sym); in buildIndex() 356 AllRefs.try_emplace( in buildIndex()
|
| H A D | IndexAction.cpp | 65 auto I = IG.try_emplace(*URI).first; in FileChanged() 100 auto NodeForInclude = IG.try_emplace(*IncludeURI).first->getKey(); in InclusionDirective() 101 auto NodeForIncluding = IG.try_emplace(*IncludingURI); in InclusionDirective() 113 auto I = IG.try_emplace(*URI); in FileSkipped()
|
| H A D | SymbolCollector.cpp | 230 auto R = CacheFEToURI.try_emplace(FE); in toURI() 252 auto R = CacheFIDToInclude.try_emplace(FID); in getIncludeHeader() 262 auto R = CachePathToURI.try_emplace(Path); in toURIInternal() 323 auto Res = CacheFrameworkToUmbrellaHeaderSpelling.try_emplace(Framework); in getFrameworkUmbrellaSpelling() 366 auto Res = CachePathToFrameworkSpelling.try_emplace(FE->getName()); in getFrameworkHeaderIncludeSpelling() 544 D = CanonicalDecls.try_emplace(D, ASTNode.OrigD).first->second; in handleDeclOccurrence() 967 auto I = FilesToIndexCache.try_emplace(FID); in shouldIndexFile() 990 auto It = DeclToIDCache.try_emplace(D, SymbolID{}); in getSymbolIDCached() 999 auto It = MacroToIDCache.try_emplace(MI, SymbolID{}); in getSymbolIDCached()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GISelWorkList.h | 66 if (!WorklistMap.try_emplace(Worklist[i], i).second) in finalize() 78 if (WorklistMap.try_emplace(I, Worklist.size()).second) in insert()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | scope.h | 157 std::pair<iterator, bool> try_emplace( 159 return try_emplace(name, attrs, UnknownDetails()); 163 common::IfNoLvalue<std::pair<iterator, bool>, D> try_emplace( in try_emplace() function 165 return try_emplace(name, Attrs(), std::move(details)); in try_emplace() 169 common::IfNoLvalue<std::pair<iterator, bool>, D> try_emplace( in try_emplace() function
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | LRTableBuild.cpp | 39 Shifts.try_emplace(shiftIndex(E.first.first, E.first.second, NumStates), in build() 42 Gotos.try_emplace(gotoIndex(E.first.first, E.first.second, NumStates), in build() 96 Build.Transition.try_emplace({T.Src, T.Label}, T.Dst); in buildSLR()
|
| /llvm-project-15.0.7/mlir/include/mlir/Target/LLVMIR/ |
| H A D | ModuleTranslation.h | 58 auto result = functionMapping.try_emplace(name, func); in mapFunction() 91 auto result = blockMapping.try_emplace(mlir, llvm); in mapBlock() 104 auto result = branchMapping.try_emplace(mlir, llvm); in mapBranch() 137 auto result = loopOptionsMetadataMapping.try_emplace(options, metadata); in mapLoopOptionsMetadata()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.cpp | 122 FuncAliasMap.try_emplace(Aliases[i], Aliases.front()); in getBBClusterInfo() 126 FI = ProgramBBClusterInfo.try_emplace(Aliases.front()).first; in getBBClusterInfo()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | GenericCycleImpl.h | 160 BlockMapTopLevel.try_emplace(Block, C); 215 Info.BlockMap.try_emplace(HeaderCandidate, NewCycle.get()); in run() 267 Info.BlockMap.try_emplace(Block, NewCycle.get()); in run() 271 Info.BlockMapTopLevel.try_emplace(Block, NewCycle.get()); in run() 320 bool Added = BlockDFSInfo.try_emplace(Block, ++Counter).second; in dfs()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Transform/IR/ |
| H A D | TransformDialect.h | 153 pdlMatchConstraintFns.try_emplace(name, in registerPDLMatchConstraintFn() 158 pdlMatchConstraintFns.try_emplace( in registerPDLMatchConstraintFn()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | Breakpoint.cpp | 1126 bp.try_emplace("id", GetID()); in GetStatistics() 1127 bp.try_emplace("resolveTime", m_resolve_time.get().count()); in GetStatistics() 1128 bp.try_emplace("numLocations", (int64_t)GetNumLocations()); in GetStatistics() 1129 bp.try_emplace("numResolvedLocations", (int64_t)GetNumResolvedLocations()); in GetStatistics() 1130 bp.try_emplace("internal", IsInternal()); in GetStatistics() 1132 bp.try_emplace("kindDescription", m_kind_description); in GetStatistics() 1144 bp.try_emplace("details", std::move(*expected_value)); in GetStatistics() 1148 details.try_emplace("error", details_error); in GetStatistics() 1149 bp.try_emplace("details", std::move(details)); in GetStatistics()
|
| /llvm-project-15.0.7/clang/lib/IndexSerialization/ |
| H A D | SerializablePathCollection.cpp | 57 UniqueFiles.try_emplace(&FE, FileIdx); in tryStoreFilePath() 89 UniqueDirs.try_emplace(OrigDir, Result); in tryStoreDirPath()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Tweak.cpp | 43 assert(Seen.try_emplace(E.getName()).second && "duplicate check id"); in validateRegistry() 121 E.ApplyEdits.try_emplace(PathAndEdit->first, PathAndEdit->second); in mainFileEdit()
|