reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/StringMap.h
  378   ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; }
  414     return try_emplace(KV.first, std::move(KV.second));
  421     auto Ret = try_emplace(Key, std::forward<V>(Val));
include/llvm/CodeGen/AccelTable.h
  211   auto Iter = Entries.try_emplace(Name.getString(), Name, Hash).first;
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
  154   std::tie(I, Added) = Pool.try_emplace(S, 0);
lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
  112     Result.try_emplace(Stream, Entry.second);
lib/IR/Metadata.cpp
  455   auto I = Store.try_emplace(Str);
lib/LTO/LTO.cpp
 1283       ModuleToDefinedGVSummaries.try_emplace(Mod.first);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  287       return LinesByFile.try_emplace(Filename, Filename, os).first->second;
tools/clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
  161     bool IsInserted = Cache.try_emplace(Filename, Entry).second;
tools/clang/lib/Basic/SourceManager.cpp
  231   auto IterBool = FilenameIDs.try_emplace(Name, FilenamesByID.size());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 3139   auto &Elem = *InternalVars.try_emplace(RuntimeName, nullptr).first;
 3964   OffloadEntriesDeviceGlobalVar.try_emplace(Name, Order, Flags);
 4002     OffloadEntriesDeviceGlobalVar.try_emplace(
 9690       EmittedNonTargetVariables.try_emplace(VarName, Addr);
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
  561       SplitIds.try_emplace(StringRef(Id.begin(), Id.size()), 0).first->first()};
tools/clang/lib/Parse/ParseOpenMP.cpp
  841   auto Res = UsedCtx.try_emplace(CtxSelectorName, Tok.getLocation());
  926     auto Res = UsedCtxSets.try_emplace(CtxSelectorSetName, Tok.getLocation());
tools/clang/lib/Sema/SemaOpenMP.cpp
  406     Criticals.try_emplace(D->getDirectiveName().getAsString(), D, Hint);
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  324     GenericTaintChecker::CustomPropagations.try_emplace(
  330     GenericTaintChecker::CustomFilters.try_emplace(F.first,
  335     GenericTaintChecker::CustomSinks.try_emplace(S.first, std::move(S.second));
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  121   auto It = Shard.Cache.try_emplace(Key);
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  290       ExistingIncludes.try_emplace(trimInclude(IncludeToAdd.Name)).first;
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  261         auto R = USRToBitcode.try_emplace(Key, std::vector<StringRef>());
tools/clang/tools/extra/clangd/FileDistance.cpp
  168         SchemeSources.try_emplace(U->body(), Source.getValue());
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
  147   auto R = CompilationDatabases.try_emplace(Key);
  222         auto It = DirectoryHasCDB.try_emplace(Path);
tools/clang/tools/extra/clangd/Headers.cpp
  129   auto R = NameToIndex.try_emplace(Name, RealPathNames.size());
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  172           auto I = InsertedHeaders.try_emplace(ToInclude->first);
  422   auto E = FuzzyFindCache.try_emplace(ReqStr, std::move(Syms));
tools/clang/tools/extra/clangd/index/Background.cpp
   70     auto I = URIToPathCache.try_emplace(FileURI);
   94   auto Entry = IG.try_emplace(FileURI).first;
  101     auto I = IG.try_emplace(Include).first;
  242       Files.try_emplace(AbsPath).first->getValue().Digest = IGN.Digest;
  325       auto DigestIt = ShardVersions.try_emplace(Path);
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
   54   auto It = LoadedShards.try_emplace(StartSourceFile);
tools/clang/tools/extra/clangd/index/IndexAction.cpp
   66     auto I = IG.try_emplace(*URI).first;
  100     auto NodeForInclude = IG.try_emplace(*IncludeURI).first->getKey();
  101     auto NodeForIncluding = IG.try_emplace(*IncludingURI);
  113     auto I = IG.try_emplace(*URI);
tools/clang/tools/extra/clangd/index/Serialization.cpp
  432     Chunks.try_emplace(llvm::StringRef(Chunk.ID.data(), Chunk.ID.size()),
  453       auto Entry = Result.Sources->try_emplace(IGN.URI).first;
  459         Include = Result.Sources->try_emplace(Include).first->getKey();
tools/clang/tools/extra/clangd/refactor/Tweak.cpp
   42     assert(Seen.try_emplace(E.getName()).second && "duplicate check id");
  111   E.ApplyEdits.try_emplace(PathAndEdit->first, PathAndEdit->second);
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
  380       E.ApplyEdits.try_emplace(std::move(Pair.first), std::move(Pair.second));
tools/clang/tools/extra/clangd/unittests/QualityTests.cpp
  268   ProxSources.try_emplace(testPath("foo/baz.h"));
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  127         EditedFiles->try_emplace(It.first(), Unwrapped.str());
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
  419   auto R = CallbackIsEnabled.try_emplace(Name, false);
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  609       Substitutions.try_emplace(
tools/dsymutil/MachODebugMapParser.cpp
  578       MainBinarySymbolAddresses.try_emplace(Name, Addr);
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1688     env_vars.try_emplace("OS_ACTIVITY_DT_MODE", "enable");
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  297     std::tie(iter, inserted) = module_name_to_filtered_index.try_emplace(
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
  121       section_map.try_emplace(
tools/lldb/source/Utility/ConstString.cpp
  106       StringPoolEntryType &entry = *map.try_emplace(demangled).first;
tools/lldb/source/Utility/Environment.cpp
   46     try_emplace(first->first(), first->second);
tools/lldb/source/Utility/Log.cpp
  189   auto iter = g_channel_map->try_emplace(name, channel);
tools/llvm-lipo/llvm-lipo.cpp
  341     auto Entry = C.SegmentAlignments.try_emplace(Segalign->getValue(0),
  755     auto Entry = Slices.try_emplace(S.getArchString(), S);
tools/llvm-objcopy/CopyConfig.cpp
  543     if (!Config.SectionsToRename.try_emplace(SR->OriginalName, *SR).second)
  560     if (!Config.SetSectionFlags.try_emplace(SFU->Name, *SFU).second)
unittests/ADT/StringMapTest.cpp
  506   Map.try_emplace("abcd", 42);
unittests/ProfileData/CoverageMappingTest.cpp
  150     Files.try_emplace(Name, Index);
utils/TableGen/GlobalISel/CodeExpansions.h
   27     bool Inserted = Expansions.try_emplace(Name, Expansion).second;