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

References

include/llvm/CodeGen/CommandFlags.inc
  340         Features.AddFeature(F.first(), F.second);
  360         Features.AddFeature(F.first(), F.second);
include/llvm/CodeGen/DwarfStringPoolEntry.h
   57   StringRef getString() const { return getMapEntry()->first(); }
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  312       createStubInternal(Entry.first(), Entry.second.first,
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  356         if (auto Err = createStubInternal(Entry.first(), Entry.second.first,
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
   88   StringRef operator*() const { return S->first(); }
include/llvm/MC/MCSymbol.h
  208     return getNameEntryPtr()->first();
include/llvm/ProfileData/SampleProf.h
  262       SortedTargets.emplace(I.first(), I.second);
  272       MergeResult(Result, addCalledTarget(I.first(), I.second, Weight));
lib/AsmParser/LLParser.cpp
 7483   ModuleIdMap[ID] = ModuleEntry->first();
lib/Bitcode/Reader/BitcodeReader.cpp
 5914       FS->setModulePath(getThisModule()->first());
 5933       AS->setModulePath(getThisModule()->first());
 5962       FS->setModulePath(getThisModule()->first());
 5989       VS->setModulePath(getThisModule()->first());
 6221       ModuleIdMap[ModuleId] = LastSeenModule->first();
lib/CodeGen/AsmPrinter/AccelTable.cpp
  666     OS << "Name: " << Entry.first() << "\n";
lib/CodeGen/MIRParser/MIRParser.cpp
  604     populateVRegInfo(Info, Twine(I->first()));
lib/DebugInfo/DWARF/DWARFContext.cpp
 1490       if (StringRef *SectionData = mapSectionToMember(SecIt.first()))
 1492       else if (SecIt.first() == "debug_info")
 1496       else if (SecIt.first() == "debug_info.dwo")
 1498       else if (SecIt.first() == "debug_types")
 1500       else if (SecIt.first() == "debug_types.dwo")
lib/ExecutionEngine/ExecutionEngine.cpp
  308       StringRef Name = I->first();
lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
   35     SubtargetFeatures.AddFeature(Feature.first(), Feature.second);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  401           StringRef SymbolName = GSTMapEntry.first();
 1076     StringRef Name = i->first();
 1147         StringRef Name = RelocKV.first();
 1225     StringRef Name = RelocKV.first();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
  540       Result[KV.first()] =
lib/IR/AsmWriter.cpp
 1028     ModuleIdToPathMap[ModPath.second.first] = ModPath.first();
 2682     moduleVec[Machine.getModulePathSlot(ModPath.first())] = std::make_pair(
 2686                                     : (std::string)ModPath.first(),
lib/IR/Comdat.cpp
   26 StringRef Comdat::getName() const { return Name->first(); }
lib/IR/Constants.cpp
 2512     return *Entry = new ConstantDataArray(Ty, Slot.first().data());
 2515   return *Entry = new ConstantDataVector(Ty, Slot.first().data());
lib/IR/LLVMContext.cpp
  261     Names[I->second] = I->first();
lib/IR/LLVMContextImpl.cpp
  207     Tags[T.second] = T.first();
  227     SSNs[SSE.second] = SSE.first();
lib/IR/Metadata.cpp
  465   return Entry->first();
lib/LTO/LTO.cpp
  157     auto ModHash = Index.getModuleHash(Entry.first());
  232       GlobalValueSummary *S = Index.findSummaryInModule(ImpF, ImpM.first());
lib/LTO/LTOModule.cpp
  275       info.name = IterBool.first->first();
  288     info.name = Iter->first();
  314   info.name = IterBool.first->first();
  333   info.name = IterBool.first->first();
  462   StringRef NameRef = Iter->first();
  483   NameAndAttributes &info = _undefines[IterBool.first->first()];
  495     info.name = IterBool.first->first();
  520   _asm_undefines.push_back(IterBool.first->first());
  529   info.name = IterBool.first->first();
  553   info.name = IterBool.first->first();
lib/LTO/ThinLTOCodeGenerator.cpp
  273     StringRef Name = Entry.first();
lib/MC/MCCodeView.cpp
  153       std::make_pair(Insertion.first->first(), Insertion.first->second);
lib/Object/ModuleSymbolTable.cpp
  132       StringRef Key = KV.first();
lib/ProfileData/GCOV.cpp
  722     Filenames.push_back(LI.first());
lib/ProfileData/SampleProfReader.cpp
 1226     if (auto Key = Remappings->insert(Sample.first()))
lib/ProfileData/SampleProfWriter.cpp
  181     addName(I.first());
  292       addName(J.first());
  383     addName(I.first());
lib/Remarks/RemarkStringTable.cpp
   36     SerializedSize += KV.first->first().size() + 1; // +1 for the '\0'
   38   return {KV.first->second, KV.first->first()};
   68     Strings[KV.second] = KV.first();
lib/Support/CommandLine.cpp
  370           addLiteralOption(*O, sub, E.first());
lib/Support/FileCheck.cpp
 1910     if (Var.first()[0] != '$')
 1911       LocalPatternVars.push_back(Var.first());
 1920     if (Var.first()[0] != '$') {
 1922       LocalNumericVars.push_back(Var.first());
lib/Support/YAMLTraits.cpp
  148     Ret.push_back(P.first());
  198     if (!is_contained(MN->ValidKeys, NN.first())) {
  199       setError(NN.second.get(), Twine("unknown key '") + NN.first() + "'");
lib/Target/TargetMachineC.cpp
  263       Features.AddFeature(F.first(), F.second);
lib/Transforms/IPO/FunctionImport.cpp
  625     auto &ImportList = ImportLists[DefinedGVSummaries.first()];
  627                       << DefinedGVSummaries.first() << "'\n");
  629                            DefinedGVSummaries.first(), ImportList,
  640         ModuleToDefinedGVSummaries.lookup(ELI.first());
  653     auto ModName = ModuleImports.first();
  661       auto SrcModName = Src.first();
  679     auto SrcModName = Src.first();
  881     auto &SummariesForIndex = ModuleToSummariesForIndex[ILI.first()];
  883         ModuleToDefinedGVSummaries.lookup(ILI.first());
 1086     ModuleNameOrderedList.insert(FunctionsToImportPerModule.first());
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
   57     NonImportedCallers.push_back(It->first());
  124               << "function [" << Node->first() << "]"
  199     return Lhs->first() < Rhs->first();
  199     return Lhs->first() < Rhs->first();
tools/clang/lib/ARCMigrate/TransformActions.cpp
  585   return UniqueText.insert(std::make_pair(text, false)).first->first();
tools/clang/lib/Basic/FileManager.cpp
  108   UDE->Name = NamedDirEnt.first();
  155   StringRef InterndDirName = NamedDirEnt.first();
  218       return FileEntryRef(SeenFileInsertResult.first->first(), *FE);
  229   StringRef InterndFileName = NamedFileEnt.first();
  280     InterndFileName = NewNamedFileEnt.first().data();
  362   const char *InterndFileName = NamedFileEnt.first().data();
tools/clang/lib/CodeGen/BackendUtil.cpp
 1402         llvm::MemoryBuffer::getFile(I.first());
 1404       errs() << "Error loading imported file '" << I.first()
 1412         errs() << "Error loading imported file '" << I.first()
 1417     ModuleMap.insert({I.first(), *BMOrErr});
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2011     llvm::ConstantDataArray::getString(VMContext, Entry.first());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 3149              Elem.first(), /*InsertBefore=*/nullptr,
 3954           Action(D.first, F.first, P.first(), L.first, L.second);
tools/clang/lib/CodeGen/CodeGenModule.cpp
  231     StringRef MangledName = I.first();
 1066       MangledDeclNames[OtherGD.getCanonicalDecl()] = Result.first->first();
 1102   return MangledDeclNames[CanonicalGD] = Result.first->first();
 1123   return Result.first->first();
 4726         reinterpret_cast<uint16_t *>(const_cast<char *>(Entry.first().data())),
 4727         Entry.first().size() / 2);
 4730     C = llvm::ConstantDataArray::getString(VMContext, Entry.first());
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  378             Args.MakeArgString((F.second ? "+" : "-") + F.first()));
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp
  119               Args.MakeArgString((F.second ? "+" : "-") + F.first()));
tools/clang/lib/Frontend/LayoutOverrideSource.cpp
  195     OS << "Type: blah " << L->first() << '\n';
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  473     auto OverridenFileBuffer = OverridenFileBuffers.find(F.first());
  483     if (!moveOnNoError(VFS->status(F.first()), Status)) {
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  380       StringRef Name = MarkerInfo.first();
  392           << DeferredPair.first();
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
  561       SplitIds.try_emplace(StringRef(Id.begin(), Id.size()), 0).first->first()};
tools/clang/lib/Lex/HeaderSearch.cpp
 1061       CacheLookup.first().size() == FrameworkName.size() &&
 1062       memcmp(CacheLookup.first().data(), &FrameworkName[0],
 1063              CacheLookup.first().size()) != 0)
 1340   return FrameworkNames.insert(Framework).first->first();
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  821       Generator.insert(I->first(), I->second, Trait);
tools/clang/lib/Tooling/AllTUsExecution.cpp
  133               Tool.mapVirtualFile(FileAndContent.first(),
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
  248     Result.push_back(CommandRef.first().str());
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  303     return CurBundleInfo->first();
  791       if (hasHostKind(E.first()))
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  189         StringRef File = FileAndReplacements.first();
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  113     if (auto Draft = DraftMgr.getDraft(It.first())) {
  119         LastInvalidFile = It.first();
  713         (*WE.changes)[URI::createFile(It.first()).toString()] =
tools/clang/tools/extra/clangd/ClangdServer.cpp
  413             elog("Failed to format {0}: {1}", It.first(), std::move(Err));
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1358       ID.Name = IDAndCount.first();
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
  118     else if (It->second == Best->second && It->first() < Best->first())
  118     else if (It->second == Best->second && It->first() < Best->first())
  123   return Path(Best->first());
tools/clang/tools/extra/clangd/TUScheduler.cpp
 1014         {PathAndFile.first(), PathAndFile.second->Worker->getUsedBytes()});
 1023     Result.push_back(PathAndFile.first());
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  100       Result.emplace_back(It.first(), It.second);
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   28     llvm::StringRef File = FileAndContents.first();
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  120     if (It.first() == testPath(TU.Filename))
  127         EditedFiles->try_emplace(It.first(), Unwrapped.str());
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp
   52   return arg.first() == FileName && arg.second == Contents;
tools/clang/tools/extra/modularize/Modularize.cpp
  948       errs() << "error: " << kindName << " '" << E->first()
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
  119         RemappedFile.second, RemappedFile.first());
  120       Remapped.emplace_back(RemappedFile.first(), buf.release());
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  657       Result.push_back(Entry.first());
tools/dsymutil/MachODebugMapParser.cpp
  523       Names.push_back(Entry.first());
tools/gold/gold-plugin.cpp
 1023       addModule(*Lto, F, View, ObjFilename.first->first());
tools/lld/ELF/SymbolTable.cpp
  146       if (m.match(p.first()))
tools/lld/wasm/Writer.cpp
  128     StringRef name = pair.first();
tools/lldb/include/lldb/Utility/Environment.h
   79     return (KeyValue.first() + "=" + KeyValue.second).str();
   90       Stream << "env[" << KV.first() << "] = " << KV.second << "\n";
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  182     result_name = value_symbol.first();
  560     llvm::StringRef value_name = value_symbol.first();
  733     llvm::StringRef value_name = value_symbol.first();
tools/lldb/source/Target/Target.cpp
 3427                     ConstString(KV.first()),
tools/lldb/source/Utility/Environment.cpp
   33     *Next++ = make_entry(KV.first(), KV.second);
   46     try_emplace(first->first(), first->second);
tools/lldb/source/Utility/Log.cpp
   51   stream << llvm::formatv("Logging categories for '{0}':\n", entry.first());
  261     result.push_back(channel.first());
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
 1823     auto request_pos = request_bps.find(pair.first());
 1827       remove_names.push_back(pair.first());
 1849     g_vsc.function_breakpoints[pair.first()] = std::move(pair.second);
tools/llvm-config/llvm-config.cpp
   89       errs() << "'" << Component.first() << "' ";
tools/llvm-jitlink/llvm-jitlink.cpp
  133     OS << "  \"" << SKV.first() << "\" " << SKV.second << "\n";
  140     OS << "  Section \"" << SIKV.first() << "\": " << SIKV.second << "\n";
  142     OS << "  GOT \"" << GOTKV.first() << "\": " << GOTKV.second << "\n";
  144     OS << "  Stub \"" << StubKV.first() << "\": " << StubKV.second << "\n";
  151     OS << "File \"" << FIKV.first() << "\":\n" << FIKV.second;
tools/llvm-lipo/llvm-lipo.cpp
  799     reportError("-replace " + ReplacementSlices.begin()->first() +
tools/llvm-lto/llvm-lto.cpp
  467     const auto &Filename = ModPath.first();
tools/llvm-pdbutil/StreamUtil.cpp
   93         NamedStreams[NSE.second] = NSE.first();
tools/llvm-profdata/llvm-profdata.cpp
  395                                     Remapper(Target.first()), Target.second);
tools/llvm-rtdyld/llvm-rtdyld.cpp
  165     llvm::dbgs() << "In " << KV.first() << "\n";
  167       llvm::dbgs() << "  \"" << KV2.first() << "\" -> " << KV2.second << "\n";
unittests/ADT/StringMapTest.cpp
   56     EXPECT_STREQ(testKey, it->first().data());
  215     ASSERT_STREQ(ss.str().c_str(), it->first().data());
  230   EXPECT_STREQ(testKey, entry->first().data());
  253   EXPECT_EQ(testKeyFirst, NewIt->first());
  278   EXPECT_EQ("abcdef", It->first());
utils/TableGen/CodeGenHwModes.cpp
  104     dbgs() << "  " << P.first() << " -> " << P.second << '\n';