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

References

include/llvm/ADT/StringMap.h
  292           static_cast<MapEntryTy *>(Bucket)->getKey(), Allocator,
  387     return count(MapEntry.getKey());
  394     unsigned BucketNo = LookupBucketFor(KeyValue->getKey());
  583     Key = this->wrapped()->getKey();
include/llvm/ADT/StringSet.h
   52       return insert(MapEntry.getKey());
include/llvm/IR/InstrTypes.h
 1020     return Tag->getKey();
include/llvm/ProfileData/InstrProf.h
  473           IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey()));
include/llvm/ProfileData/SampleProf.h
  477               M->getFunction(getNameInModule(TS.getKey(), M));
  479             S.insert(getGUID(TS.getKey()));
lib/AsmParser/LLParser.cpp
  113         std::make_pair(I.getKey(), std::make_pair(I.second, LocTy())));
  198                    "use of undefined type named '" + I->getKey() + "'");
  263     Slots->NamedTypes.insert(std::make_pair(I.getKey(), I.second.first));
lib/Bitcode/Writer/BitcodeWriter.cpp
 3102     StringEncoding Bits = getStringEncoding(Name.getKey());
 3122     for (const auto P : Name.getKey())
 3480         StringRef Key = MPSE.getKey();
lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp
   82     return Strings.getIdForString(L1->getKey()) <
   83            Strings.getIdForString(L2->getKey());
   88     Imp.ModuleNameOffset = Strings.getIdForString(Item->getKey());
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
   53     IdToString.insert({P.first->getValue(), P.first->getKey()});
   73     StringRef S = Pair.getKey();
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  224     if (auto EC = NameBufferWriter.writeCString(Name.getKey()))
lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
  181     StringRef S = Pair.getKey();
lib/IR/Type.cpp
  508   return ((StringMapEntry<StructType*> *)SymbolTableEntry)->getKey();
lib/IR/Value.cpp
  220   return getValueName()->getKey();
lib/LTO/LTOModule.cpp
  618     if (_defines.count(u->getKey())) continue;
lib/MC/MCContext.cpp
  374       I->getKey(), Type, Flags, SectionKind::getReadOnly(), EntrySize, Group,
lib/Option/OptTable.cpp
  151     StringRef Prefix = I->getKey();
  174     if (Arg.startswith(I->getKey()))
lib/ProfileData/InstrProfWriter.cpp
  256       addRecord(I.getKey(), Func.first, std::move(Func.second), 1, Warn);
  300       Generator.insert(I.getKey(), &I.getValue());
  452       if (Error E = Symtab.addFuncName(I.getKey()))
  455         OrderedFuncData.push_back(std::make_pair(I.getKey(), Func));
lib/ProfileData/SampleProfReader.cpp
   59     dumpFunctionProfile(I.getKey(), OS);
lib/ProfileData/SampleProfWriter.cpp
   49     V.push_back(std::make_pair(I.getKey(), &I.second));
lib/Support/CommandLine.cpp
 2032         std::pair<const char *, Option *>(I->getKey().data(), I->second));
lib/Support/TimeProfiler.cpp
  136       SortedTotals.emplace_back(E.getKey(), E.getValue());
lib/Support/Timer.cpp
  249     TimersToPrint.emplace_back(P.getValue(), P.getKey(), P.getKey());
  249     TimersToPrint.emplace_back(P.getValue(), P.getKey(), P.getKey());
lib/TableGen/Record.cpp
  530   return new(Allocator) CodeInit(Entry.getKey(), Loc);
  538     Entry.second = new(Allocator) StringInit(Entry.getKey());
lib/Target/X86/X86InsertPrefetch.cpp
  126     StringRef Name = S_V.getKey();
lib/Transforms/IPO/SampleProfile.cpp
 1729     StringRef OrigName = N_F.getKey();
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  308         return LHS->getKey() < RHS->getKey();
  308         return LHS->getKey() < RHS->getKey();
tools/clang/include/clang/Basic/FileManager.h
   61   StringRef getName() const { return Entry->getKey(); }
tools/clang/include/clang/Basic/OpenCLOptions.h
  109         OptMap[I.getKey()].Supported = true;
  132       if (isSupportedCore(I->getKey(), LO))
tools/clang/include/clang/Basic/SourceManagerInternals.h
  105     return FilenamesByID[ID]->getKey();
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  526           (Entry.getValue().getTypeAsString() + " " + Entry.getKey()).str();
  527       Result.emplace_back(Entry.getKey(), Decl, Specificity);
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  593     StringRef Name = M.getKey();
tools/clang/lib/Basic/Targets.cpp
  657     Opts->Features.push_back((F.getValue() ? "+" : "-") + F.getKey().str());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4013     Action(E.getKey(), E.getValue());
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 4939       CudaArch Arch = StringToCudaArch(Feature.getKey());
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2232         ReqFeatures.push_back(F.getKey());
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1674       Features.push_back((Entry.getValue() ? "+" : "-") + Entry.getKey().str());
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  165     Result << E.getKey().str() << " " << E.getValue() << '\n';
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  110     llvm::sys::fs::remove(File.getKey());
tools/clang/lib/Lex/ModuleMap.cpp
   62       auto *M = findModule(Name.getKey());
tools/clang/lib/Sema/SemaLookup.cpp
 4902       Consumer->FoundName(I.getKey());
tools/clang/lib/Serialization/ASTWriter.cpp
 4321     AddString(I.getKey(), Record);
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  264     return (*LHS)->getKey().compare((*RHS)->getKey());
  264     return (*LHS)->getKey().compare((*RHS)->getKey());
  281       llvm::errs() << Keys[I]->getKey() << " = "
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  474         Config.getKey().split(':');
tools/clang/lib/Tooling/Tooling.cpp
  354     Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(),
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  560         OS << "  missing '-" << Opt.getKey() << "' option\n";
tools/clang/tools/diagtool/DiagTool.cpp
   45     toolNames.push_back(it->getKey());
   46     unsigned len = it->getKey().size();
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp
  213       StringRef FileName = FE.getKey();
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1039     if (auto *II = PreambleIdentifiers->get(MacroName.getKey()))
 1284         auto &Source = ProxSources[Entry.getKey()];
tools/clang/tools/extra/clangd/DraftStore.cpp
   31     ResultVector.push_back(DraftIt->getKey());
tools/clang/tools/extra/clangd/FileDistance.cpp
   66     auto Canonical = canonicalize(S.getKey());
  167       if (auto U = clangd::URI::create(Source.getKey(), Scheme))
tools/clang/tools/extra/clangd/SourceCode.cpp
  928         Found.push_back(Used.getKey());
tools/clang/tools/extra/clangd/index/Background.cpp
   96   Node = FullGraph.lookup(Entry->getKey());
   97   Node.URI = Entry->getKey();
  102     I->getValue().URI = I->getKey();
  103     Include = I->getKey();
  287     llvm::StringRef Path = FileIt.getKey();
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
   72     auto AbsPath = URI::resolve(It.getKey(), StartSourceFile);
  108         ToVisit.push(It.first->getKey());
tools/clang/tools/extra/clangd/index/IndexAction.cpp
   82     Node.URI = I->getKey();
  100     auto NodeForInclude = IG.try_emplace(*IncludeURI).first->getKey();
tools/clang/tools/extra/clangd/index/Serialization.cpp
  457       Entry->getValue().URI = Entry->getKey();
  459         Include = Result.Sources->try_emplace(Include).first->getKey();
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
  132   if (arg.getKey() != File)
  133     *result_listener << "file =" << arg.getKey().str();
  136   return arg.getKey() == File && arg.getValue() == D;
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   62     Nodes.emplace(I.getKey(), I.getValue());
tools/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
  111   EXPECT_EQ("MyID", Records.begin()->getKey());
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
  169     EXPECT_TRUE(ParsedIndex.count(E.getKey()));
  170     EXPECT_EQ(ParsedIndex[E.getKey()], E.getValue());
  173     EXPECT_TRUE(Index.count(E.getKey()));
tools/dsymutil/DebugMap.cpp
   64     Entries.push_back(std::make_pair(Sym.getKey(), Sym.getValue()));
  231     Entries.push_back(std::make_pair(Entry.getKey(), Entry.getValue()));
tools/dsymutil/DwarfLinker.cpp
  586     outs() << "Found valid debug map entry: " << ValidReloc.Mapping->getKey()
tools/dsymutil/NonRelocatableStringpool.cpp
   38   return InsertResult.first->getKey();
tools/gold/gold-plugin.cpp
 1068         writeEmptyDistributedBuildOutputs(Identifier.getKey(), OldPrefix,
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  609       addInitialUndefinedSymbol(symbol.getKey());
  624         addDeadStripRoot(symbol.getKey());
tools/lldb/source/Commands/CommandCompletions.cpp
  124           Resolved = S.getKey();
tools/lldb/source/Utility/ConstString.cpp
   48       return entry.getKey().size();
  142         mem_size += sizeof(StringPoolEntryType) + entry.getKey().size();
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
   76       llvm::StringRef name = entry.getKey();
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp
   52     if (User.getKey() != Expr)
   71     if (!User.getKey().startswith(Expr))
   74     QualifiedName.append(User.getKey().begin(), User.getKey().end());
   74     QualifiedName.append(User.getKey().begin(), User.getKey().end());
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  245     StringRef Key = E.getKey();
tools/llvm-cov/CodeCoverage.cpp
  415     InvRemappedFilenames[RemappedFilename.getValue()] = RemappedFilename.getKey();
tools/llvm-dwarfdump/Statistics.cpp
  532                << Entry.getKey() << ": " << V.getKey() << "\n");
  532                << Entry.getKey() << ": " << V.getKey() << "\n");
tools/llvm-pdbutil/DumpOutputStyle.cpp
  893     NamespacedStatsSorted.push_back({Stat.getKey(), Stat.second});
 1274     P.printLine(Entry.getKey());
tools/llvm-readobj/llvm-readobj.cpp
  659     StringRef ArgName = OptEntry.getKey();
unittests/ADT/StringMapTest.cpp
  540   StringRef Key = LargeEntry.getKey();
  546   Key = LargerEntry.getKey();
unittests/ProfileData/CoverageMappingTest.cpp
  205       Filenames[E.getValue()] = E.getKey();
unittests/ProfileData/SampleProfTest.cpp
  325       FunctionSamples *Samples = Reader->getSamplesFor(I->getKey());
unittests/Support/YAMLIOTest.cpp
 2916       IO.mapRequired(N.getKey().str().c_str(), N.getValue());
utils/TableGen/CodeGenDAGPatterns.cpp
 2935         if (!InNamedTypes->count(Entry.getKey())) {
 2936           error("Node '" + std::string(Entry.getKey()) +
 2942           InNamedTypes->find(Entry.getKey())->second;
 4332       DepVars.insert(Pair.getKey());
 4344       LLVM_DEBUG(errs() << DepVar.getKey() << " ");