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

References

include/llvm/ADT/StringSet.h
   34         insert(X);
   52       return insert(MapEntry.getKey());
include/llvm/CodeGen/MachineRegisterInfo.h
  436       VRegNames.insert(Name);
include/llvm/LTO/legacy/LTOCodeGenerator.h
  116   void addMustPreserveSymbol(StringRef Sym) { MustPreserveSymbols.insert(Sym); }
include/llvm/ProfileData/InstrProf.h
  470     auto Ins = NameTab.insert(FuncName);
include/llvm/Support/FileCollector.h
   49   bool markAsSeen(StringRef Path) { return Seen.insert(Path).second; }
lib/LTO/LTOCodeGenerator.cpp
  154     AsmUndefinedRefs.insert(undefs[i]);
lib/LTO/LTOModule.cpp
  285     auto Iter = _defines.insert(className).first;
  458   auto Iter = _defines.insert(Name).first;
  477   auto IterBool = _defines.insert(name);
lib/LTO/ThinLTOCodeGenerator.cpp
  532   PreservedSymbols.insert(Name);
  539   PreservedSymbols.insert(Name);
lib/LTO/UpdateCompilerUsed.cpp
   68         Libcalls.insert(TLI.getName(F));
   84             Libcalls.insert(Name);
lib/Linker/LinkModules.cpp
  403     Internalize.insert(GV.getName());
  417       Internalize.insert(GV2->getName());
  547       Internalize.insert(GV->getName());
lib/Object/WasmObjectFile.cpp
  619         !SymbolNames.insert(Info.Name).second)
  637     if (Name.empty() || !ComdatSet.insert(Name).second)
lib/ObjectYAML/ELFEmitter.cpp
  210       DocSections.insert(D->Name);
lib/Option/OptTable.cpp
  143         PrefixesUnion.insert(*P);
lib/ProfileData/Coverage/CoverageMappingWriter.cpp
   33     assert(NameSet.insert(Name).second && "Duplicate filename");
lib/Support/FileCheck.cpp
 1739     if (!PrefixSet.insert(Prefix).second)
lib/Support/TarWriter.cpp
  178   if (!Files.insert(Fullpath).second)
lib/Support/VirtualFileSystem.cpp
  496       if (SeenNames.insert(Name).second)
 2098     if (SeenNames.insert(Name).second)
lib/TableGen/Record.cpp
  529   auto &Entry = *ThePool.insert(V).first;
lib/TableGen/TGLexer.cpp
   59                   DefinedMacros.insert(MacroName);
  786     if (!DefinedMacros.insert(MacroName).second)
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 3690     Seen.insert(ID);
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  338     if (!Seen.insert(Path).second)
lib/Transforms/IPO/Internalize.cpp
   83       ExternalNames.insert(*I);
  177     AlwaysPreserved.insert(V->getName());
  197   AlwaysPreserved.insert("llvm.used");
  198   AlwaysPreserved.insert("llvm.compiler.used");
  202   AlwaysPreserved.insert("llvm.global_ctors");
  203   AlwaysPreserved.insert("llvm.global_dtors");
  204   AlwaysPreserved.insert("llvm.global.annotations");
  209   AlwaysPreserved.insert("__stack_chk_fail");
  210   AlwaysPreserved.insert("__stack_chk_guard");
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
   81         CHRModules.insert(Line);
   96         CHRFunctions.insert(Line);
tools/bugpoint/CrashDebugger.cpp
  848     Names.insert(Name);
tools/clang/include/clang/Frontend/Utils.h
  170   virtual bool insertSeen(StringRef Filename) { return Seen.insert(Filename).second; }
tools/clang/include/clang/Lex/PreprocessorOptions.h
  164       Failed.insert(module);
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  134       WhiteListFilenames.insert(Val);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2762   if (VD && ThreadPrivateWithDefinition.insert(CGM.getMangledName(VD)).second) {
 2887   if (VD && !DeclareTargetWithDefinition.insert(CGM.getMangledName(VD)).second)
 9851   return !AlreadyEmittedTargetFunctions.insert(Name).second;
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1749       if (!ObservedMangledNames.insert(Name.str()).second)
tools/clang/lib/Driver/Driver.cpp
 1315       ArchNames.insert(ArchName);
 1946       if (ArchNames.insert(A->getValue()).second)
 3642         ArchNames.insert(A->getValue());
tools/clang/lib/Driver/Job.cpp
  158     Inputs.insert(InputName);
tools/clang/lib/Driver/Multilib.cpp
  119     MyFlags.insert(Flag);
tools/clang/lib/Frontend/ASTUnit.cpp
 2040       HiddenNames.insert(Identifier->getName());
 2042       HiddenNames.insert(Name.getAsString());
tools/clang/lib/Frontend/DependencyFile.cpp
  148   if (Seen.insert(Filename).second) {
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  115   auto IsInserted = Files.insert(File).second;
tools/clang/lib/Lex/HeaderSearch.cpp
 1340   return FrameworkNames.insert(Framework).first->first();
tools/clang/lib/Lex/ModuleMap.cpp
   73     PendingLinkAsModule[Mod->ExportAsModule].insert(Mod->Name);
tools/clang/lib/Sema/SemaStmtAsm.cpp
  222       InOutVars.insert(InOutReg);
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  303     std::pair<llvm::StringSet<>::iterator, bool> P = Seen.insert(RuleID);
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
  102         DepFS->IgnoredFiles.insert(Entry.Path);
  104         DepFS->IgnoredFiles.insert(Entry);
tools/clang/lib/Tooling/Tooling.cpp
  455   if (SeenWorkingDirectories.insert("/").second)
  521       if (SeenWorkingDirectories.insert(CompileCommand.Directory).second)
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  235     if (!OptionNames.insert(Opt.getName()).second)
  355       if (!CommandNames.insert(Action->getCommand()).second) {
  547             MissingOptions.insert("selection");
  552         MissingOptions.insert(Opt->getName());
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp
   90     DeleteHeaders.insert(Key);
tools/clang/tools/extra/clangd/CollectMacros.h
   83       Out.Names.insert(MacroNameTok.getIdentifierInfo()->getName());
tools/clang/tools/extra/clangd/Headers.cpp
  169   IncludedHeaders.insert(Inc.Written);
  171     IncludedHeaders.insert(Inc.Resolved);
tools/clang/tools/extra/clangd/SourceCode.cpp
  909         UsingDirectives[Current].insert(NS);
  913             UsingDirectives[Current].insert(NS);
  915             UsingDirectives[Current].insert((Enclosing + "::" + NS).str());
  957       Result.insert(Word);
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
   97   InQueue.insert(MainFile);
  106       auto It = InQueue.insert(Edge);
tools/clang/tools/extra/clangd/index/Merge.cpp
  107     DynamicIndexFileURIs.insert(O.Location.FileURI);
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  121       ParentURIs.insert(ProximityURI);
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
   59     AccessedPaths.insert(ShardIdentifier);
   66     AccessedPaths.insert(ShardIdentifier);
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  212     ModuleMapHeadersSet.insert(ModularizeUtilities::getCanonicalPath(
  226       ModuleMapHeadersSet.insert(ModularizeUtilities::getCanonicalPath(
  265     ModuleMapHeadersSet.insert(ModularizeUtilities::getCanonicalPath(File));
  308   ModuleMapHeadersSet.insert(ModularizeUtilities::getCanonicalPath(HeaderName));
  417     if (ModuleMapHeadersSet.insert(*I).second) {
tools/lld/COFF/Driver.cpp
  344     if (!directivesExports.insert(e).second)
tools/lld/COFF/MinGW.cpp
   84     excludeSymbolPrefixes.insert("__head_");
  101     excludeSymbolPrefixes.insert("_head_");
tools/lld/COFF/Writer.cpp
 1191       if (!names.insert(toName).second)
tools/lld/ELF/ScriptParser.cpp
  344   if (!seen.insert(tok).second) {
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  838       _exportedSymbols.insert(copy(abi2className));
  841       _exportedSymbols.insert(copy(abi2metaclassName));
  847   _exportedSymbols.insert(sym);
tools/lld/wasm/Driver.cpp
  185       config->allowUndefinedSymbols.insert(sym);
  444   config->allowUndefinedSymbols.insert(sym->getName());
  703     config->exportedSymbols.insert(arg->getValue());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  259     m_tokens.insert(token_str);
tools/lldb/source/Utility/CompletionRequest.cpp
   67   if (m_added_values.insert(r.GetUniqueKey()).second)
tools/lldb/source/Utility/TildeExpressionResolver.cpp
   69     Output.insert(Buffer);
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp
   75     Output.insert(QualifiedName);
tools/llvm-diff/DifferenceEngine.cpp
  699     LNames.insert(Name);
tools/llvm-dwarfdump/Statistics.cpp
  303   FnStats.VarsInFunction.insert(VarPrefix + VarName);
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  432       Names.insert((IgnoreCase && !UseRegex) ? StringRef(name).lower() : name);
tools/llvm-lto/llvm-lto.cpp
  941     DSOSymbolsSet.insert(DSOSymbols[i]);
tools/llvm-objdump/llvm-objdump.cpp
  373     FoundSectionSet.insert(SecName);
  582       if (MissingSources.insert(LineInfo.FileName).second)
 1292         FoundDisasmFuncsSet.insert(SymbolName);
tools/opt/BreakpointPrinter.cpp
   54         if (!Name.empty() && Processed.insert(Name).second) {
unittests/ADT/StringSetTest.cpp
   20   Set.insert("A");
   21   Set.insert("B");
   22   Set.insert("C");
   23   Set.insert("D");
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
   37     ModulesLookedUp.insert(M->getModuleIdentifier());
utils/TableGen/CodeGenDAGPatterns.cpp
 4332       DepVars.insert(Pair.getKey());
utils/TableGen/DAGISelMatcherOpt.cpp
  397       assert(Opcodes.insert(COM->getOpcode().getEnumName()).second &&