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

References

include/llvm/ADT/MapVector.h
  132     std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
include/llvm/ADT/StringMap.h
  263       insert(P);
include/llvm/ADT/StringSet.h
   40       return base::insert(std::make_pair(Key, None));
   46         base::insert(std::make_pair(*It, None));
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
  220     CXXRuntimeOverrides.insert(std::make_pair(Name, Addr));
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
  306         SymbolTable.insert(
include/llvm/IR/ModuleSummaryIndex.h
 1256     return &*ModulePathStringTable.insert({ModPath, {ModId, Hash}}).first;
include/llvm/MC/MCContext.h
  695       MacroMap.insert(std::make_pair(Name, std::move(Macro)));
include/llvm/TableGen/StringToOffsetTable.h
   33         StringOffset.insert(std::make_pair(Str, AggregateString.size()));
lib/AsmParser/LLParser.cpp
  112     NamedTypes.insert(
  263     Slots->NamedTypes.insert(std::make_pair(I.getKey(), I.second.first));
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 1140   GlobalNames.insert(std::make_pair(std::move(FullName), &getUnitDie()));
 1161   GlobalTypes.insert(std::make_pair(std::move(FullName), &getUnitDie()));
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
   28   auto I = Pool.insert(std::make_pair(Str, EntryTy()));
lib/CodeGen/MIRParser/MIParser.cpp
  110   Names2Regs.insert(std::make_pair("noreg", 0));
  116         Names2Regs.insert(std::make_pair(StringRef(TRI->getName(I)).lower(), I))
  139     Names2InstrOpCodes.insert(std::make_pair(StringRef(TII->getName(I)), I));
  161     Names2RegMasks.insert(
  178     Names2SubRegIndices.insert(
  197     Names2TargetIndices.insert(std::make_pair(StringRef(I.second), I.first));
  217     Names2DirectTargetFlags.insert(
  239     Names2BitmaskTargetFlags.insert(
  261     Names2MMOTargetFlags.insert(std::make_pair(StringRef(I.second), I.first));
  281     Names2RegClasses.insert(
  298     Names2RegBanks.insert(
  337   auto I = VRegInfosNamed.insert(std::make_pair(RegName.str(), nullptr));
lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp
   58   auto Result = Mappings.insert(std::make_pair(Module, Targets));
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
   48   auto P = StringToId.insert({S, StringSize});
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  124   SourceFileNames.insert(std::make_pair(File, Index));
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
 1180         ExternalSymbolMap.insert(RRKV);
lib/IR/Constants.cpp
 2496            .pImpl->CDSConstants.insert(std::make_pair(Elements, nullptr))
lib/IR/LLVMContext.cpp
  249   return pImpl->CustomMDKindNames.insert(
lib/IR/LLVMContextImpl.cpp
  201   return &*(BundleTagCache.insert(std::make_pair(Tag, NewIdx)).first);
  220   return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second;
lib/IR/Module.cpp
  483   auto &Entry = *ComdatSymTab.insert(std::make_pair(Name, Comdat())).first;
lib/IR/Type.cpp
  414       getContext().pImpl->NamedStructTypes.insert(std::make_pair(Name, this));
  427       IterBool = getContext().pImpl->NamedStructTypes.insert(
lib/IR/ValueSymbolTable.cpp
   64     auto IterBool = vmap.insert(std::make_pair(UniqueName, V));
  103   auto IterBool = vmap.insert(std::make_pair(Name, V));
lib/LTO/LTOCodeGenerator.cpp
  450         ExternalSymbols.insert(std::make_pair(GV.getName(), GV.getLinkage()));
lib/LTO/LTOModule.cpp
  272         _undefines.insert(std::make_pair(superclassName, NameAndAttributes()));
  308       _undefines.insert(std::make_pair(targetclassName, NameAndAttributes()));
  327       _undefines.insert(std::make_pair(targetclassName, NameAndAttributes()));
  518   auto IterBool = _undefines.insert(std::make_pair(name, NameAndAttributes()));
  545   auto IterBool = _undefines.insert(std::make_pair(name, NameAndAttributes()));
lib/MC/MCCodeView.cpp
  150       StringTable.insert(std::make_pair(S, unsigned(Contents.size())));
lib/MC/MCContext.cpp
  197     auto NameEntry = UsedNames.insert(std::make_pair(NewName, true));
  345     auto NameIter = UsedNames.insert(std::make_pair(Section, false)).first;
  371       RelSecNames.insert(std::make_pair(Name.str(), true));
lib/MC/MCDwarf.cpp
  581     auto IterBool = SourceIdMap.insert(
lib/Object/ArchiveWriter.cpp
  225     auto Insertion = MemberNames.insert({M.MemberName, uint64_t(0)});
lib/ObjectYAML/ELFEmitter.cpp
   70     return Map.insert({Name, Ndx}).second;
lib/Remarks/RemarkStringTable.cpp
   33   auto KV = StrTab.insert({Str, NextID});
lib/Support/CommandLine.cpp
  167     if (!SC->OptionsMap.insert(std::make_pair(Name, &Opt)).second) {
  202       if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) {
  318     if (!Sub.OptionsMap.insert(std::make_pair(NewName, O)).second) {
lib/Support/FileCheck.cpp
 1893       GlobalVariableTable.insert(CmdlineNameVal);
lib/Support/VirtualFileSystem.cpp
  644     return Entries.insert(make_pair(Name, std::move(Child)))
lib/TableGen/Record.cpp
  536   auto &Entry = *ThePool.insert(std::make_pair(V, nullptr)).first;
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 5433   if (RegisterReqs.insert(std::make_pair(Name, pair)).first->second != pair)
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  558     Map.insert({Rule.Name, Id++});
lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
   52     map.insert(std::make_pair(names[i], i));
   53     map.insert(std::make_pair(altNames[i], i));
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
10735   if (RegisterReqs.insert(std::make_pair(Name, Reg)).first->second != Reg)
lib/Transforms/IPO/SampleProfile.cpp
 1737       auto r = SymbolMap.insert(std::make_pair(NewName, F));
tools/clang/include/clang/Basic/IdentifierTable.h
  519     auto &Entry = *HashTable.insert(std::make_pair(Name, nullptr)).first;
  556     auto &Entry = *HashTable.insert(std::make_pair(Name, nullptr)).first;
tools/clang/lib/ARCMigrate/TransformActions.cpp
  585   return UniqueText.insert(std::make_pair(text, false)).first->first();
tools/clang/lib/Basic/FileManager.cpp
   96   auto &NamedDirEnt = *SeenDirEntries.insert(
  141       SeenDirEntries.insert({DirName, std::errc::no_such_file_or_directory});
  208       SeenFileEntries.insert({Filename, std::errc::no_such_file_or_directory});
  277         *SeenFileEntries.insert({Status.getName(), &UFE}).first;
  337   auto &NamedFileEnt = *SeenFileEntries.insert(
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1945   return *Map.insert(std::make_pair(String, nullptr)).first;
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1065       auto Result = Manglings.insert(std::make_pair(OtherName, OtherGD));
 1101   auto Result = Manglings.insert(std::make_pair(MangledName, GD));
 1122   auto Result = Manglings.insert(std::make_pair(Out.str(), BD));
 4591     return *Map.insert(std::make_pair(String, nullptr)).first;
 4609   return *Map.insert(std::make_pair(
tools/clang/lib/Driver/ToolChains/Clang.cpp
  221   OptionStrings.insert(std::make_pair("divd", false));
  222   OptionStrings.insert(std::make_pair("divf", false));
  223   OptionStrings.insert(std::make_pair("vec-divd", false));
  224   OptionStrings.insert(std::make_pair("vec-divf", false));
  225   OptionStrings.insert(std::make_pair("sqrtd", false));
  226   OptionStrings.insert(std::make_pair("sqrtf", false));
  227   OptionStrings.insert(std::make_pair("vec-sqrtd", false));
  228   OptionStrings.insert(std::make_pair("vec-sqrtf", false));
tools/clang/lib/Format/ContinuationIndenter.cpp
  199       DelimiterStyle.insert({Delimiter, *LanguageStyle});
  202       EnclosingFunctionStyle.insert({EnclosingFunction, *LanguageStyle});
tools/clang/lib/Frontend/CompilerInvocation.cpp
  397   return Config.insert({OptionName, DefaultVal}).first->second;
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  343     auto InsertResult = Markers.insert(
tools/clang/lib/Lex/HeaderSearch.cpp
 1056       *FrameworkMap.insert(std::make_pair(Filename.substr(0, SlashPos),
tools/clang/lib/Serialization/ASTReader.cpp
12248     ModuleFileExtensions.insert({BlockName, Ext});
tools/clang/lib/Serialization/InMemoryModuleCache.cpp
   27   auto Insertion = PCMs.insert(std::make_pair(Filename, std::move(Buffer)));
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  319   auto It = AnOpts.Config.insert({FullOption, Option.DefaultValStr});
tools/clang/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp
   37       Bodies.insert(std::make_pair(func->getName(), func->getBody()));
tools/clang/tools/extra/clang-tidy/fuchsia/MultipleInheritanceCheck.cpp
   34   InterfaceMap.insert(std::make_pair(Name, isInterface));
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp
   74     CStyledHeaderToCxx.insert(KeyValue);
   85       CStyledHeaderToCxx.insert(KeyValue);
tools/clang/tools/extra/clangd/FS.cpp
   36   StatCache.insert({PathStore, std::move(S)});
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp
  113     TU.AdditionalFiles.insert({File.first, File.second});
tools/clang/unittests/Tooling/RefactoringTest.cpp
  615         TemporaryFiles.insert(std::make_pair(Name, Path.str())).first->second;
tools/clang/unittests/Tooling/RewriterTestContext.h
   80         TemporaryFiles.insert(std::make_pair(Name, Path.str())).first->second;
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  210       TypesSeen.insert(std::make_pair(T->getValueAsString("Name"), true));
  572     TypesSeen.insert(std::make_pair(T->getValueAsString("Name"), true));
tools/dsymutil/DebugMap.cpp
   48   auto InsertResult = Symbols.insert(
tools/dsymutil/DeclContext.h
   43       ResolvedPaths.insert({ParentPath, StringRef(RealPath).str()});
tools/dsymutil/DwarfLinker.cpp
 2064     auto IteratorInserted = EmittedCIEs.insert(
 2203   ClangModules.insert({PCMfile, DwoId});
tools/dsymutil/NonRelocatableStringpool.cpp
   20   auto I = Strings.insert({S, DwarfStringPoolEntry()});
   37   auto InsertResult = Strings.insert({S, Entry});
tools/gold/gold-plugin.cpp
 1020     auto ObjFilename = ObjectToIndexFileState.insert({Identifier, false});
tools/lld/wasm/Writer.cpp
  394         used.insert({feature.Name, fileName});
  397         used.insert({feature.Name, fileName});
  398         required.insert({feature.Name, fileName});
  401         disallowed.insert({feature.Name, fileName});
tools/lldb/include/lldb/Utility/Environment.h
   71     return insert(KeyEqValue.split('='));
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2830                     .insert(std::make_pair(buffer_key, std::move(*buffer_up)))
tools/lldb/source/Utility/ConstString.cpp
   88                .m_string_map.insert(std::make_pair(string_ref, nullptr))
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp
   18   UserDirectories.insert(std::make_pair(CurrentUser, HomeDir));
   24   UserDirectories.insert(std::make_pair(User, HomeDir));
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  281     if (Elements.insert({Field, {""}}).first->second.size() != 1)
  347     pairs.insert(pair);
tools/llvm-objcopy/CopyConfig.cpp
  344     SymbolsToRename.insert({Pair.first, NewName});
  527     if (!Config.SymbolsToRename.insert(Old2New).second)
tools/obj2yaml/coff2yaml.cpp
  149     std::tie(It, Inserted) = SymbolUnique.insert(std::make_pair(Name, true));
unittests/ADT/StringMapTest.cpp
  250       testMap.insert(std::make_pair(testKeyFirst, testValue));
  259       testMap.insert(std::make_pair(testKeyFirst, testValue + 1));
  276     t.insert(std::make_pair("abcdef", 42)).first;
  326   t.insert(std::make_pair("Test", StringMapTestStruct(123)));
  354   t.insert(std::make_pair("Test", MoveOnly(42)));
  413   A.insert(std::make_pair("x", Countable(42, InstanceCount)));
  470       Map.insert(std::pair<std::string, CountCtorCopyAndMove>(
unittests/CodeGen/DIEHashTest.cpp
   34         *Pool.insert(std::make_pair(S, Entry)).first, Entry.isIndexed()));
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 3170   Sections.insert(std::make_pair(
utils/TableGen/CodeGenHwModes.cpp
   68     ModeIds.insert(std::make_pair(Modes[NewId-1].Name, NewId));
utils/TableGen/CodeGenRegisters.cpp
 1142     RegistersByName.insert(