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

References

include/llvm/ADT/StringMap.h
  387     return count(MapEntry.getKey());
include/llvm/IR/ModuleSummaryIndex.h
 1270     return ModulePathStringTable.count(M.getModuleIdentifier());
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
   55   assert(!CustomSectionParserFunctions.count(SectionName) &&
  364     if (CustomSectionParserFunctions.count(NSec.GraphSection->getName())) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  268       if (GlobalSymbolTable.count(Name))
 1148         if (!Name.empty() && !GlobalSymbolTable.count(Name) &&
 1227     assert(!SharedThis->GlobalSymbolTable.count(Name) &&
lib/LTO/LTO.cpp
 1098     if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) ||
 1123     assert(ModuleToDefinedGVSummaries.count(ModulePath));
 1282     if (!ModuleToDefinedGVSummaries.count(Mod.first))
lib/LTO/LTOCodeGenerator.cpp
  434     return MustPreserveSymbols.count(MangledName);
lib/LTO/LTOModule.cpp
  618     if (_defines.count(u->getKey())) continue;
lib/LTO/ThinLTOCodeGenerator.cpp
  323     if (!Index.modulePaths().count(ModuleID))
lib/LTO/UpdateCompilerUsed.cpp
  108     if ((isa<Function>(GV) || FuncAliasee) && Libcalls.count(GV.getName())) {
  115     if (AsmUndefinedRefs.count(Buffer))
lib/ObjectYAML/ELFEmitter.cpp
  237     if (DocSections.count(SecName))
lib/Support/CommandLine.cpp
  751     assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt);
lib/TableGen/TGLexer.cpp
  686     bool MacroIsDefined = DefinedMacros.count(MacroName) != 0;
lib/Transforms/IPO/Internalize.cpp
   66     return ExternalNames.count(GV.getName());
  106   if (AlwaysPreserved.count(GV.getName()))
lib/Transforms/IPO/SampleProfile.cpp
 1809     if (NamesInProfile.count(CanonName))
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  446     if (CHRModules.count(F.getParent()->getName()))
  448     return CHRFunctions.count(F.getName());
tools/bugpoint/CrashDebugger.cpp
  856     if (!Names.count(NamedMD.getName()) &&
tools/clang/include/clang/Lex/PreprocessorOptions.h
  160       return Failed.count(module) > 0;
tools/clang/lib/Basic/Targets/AMDGPU.h
  142       if (!SpecialRegs.count(S.substr(0, E)))
tools/clang/lib/CodeGen/CGCXX.cpp
  130   if (Replacements.count(MangledName))
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 9607          AlreadyEmittedTargetFunctions.count(Name) == 0;
 9843     if (D->hasBody() && AlreadyEmittedTargetFunctions.count(Name) == 0) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.h
  617       return OffloadEntriesDeviceGlobalVar.count(VarName) > 0;
tools/clang/lib/CodeGen/CodeGenAction.cpp
  218                   return !GV.hasName() || (GVS.count(GV.getName()) == 0);
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  146       if (Result.count(LookupName))
  420     if (!NameFileMap.count(FunctionName)) {
tools/clang/lib/Driver/Job.cpp
  164     if (Inputs.count(Arg) == 0) {
tools/clang/lib/Frontend/ASTUnit.cpp
 2079         HiddenNames.count(C->Completion->getTypedText()))
tools/clang/lib/Sema/SemaAttr.cpp
  131   if (Parent->isInStdNamespace() && Iterators.count(ND->getName()) &&
  132       Containers.count(Parent->getName()))
  193     if (StdOwners.count(Record->getName()))
  195     else if (StdPointers.count(Record->getName()))
tools/clang/lib/Sema/SemaStmtAsm.cpp
  234     if (InOutVars.count(Clobber))
tools/clang/lib/Serialization/ASTReader.cpp
  594       if (MacroNames && !Macros.count(MacroName))
  610     if (MacroNames && !Macros.count(MacroName))
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  550   return II && Set.count(II->getName());
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
   94     if (SelectorsForClass.count(SuperclassName))
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  855   bool hasModelPath = analyzerOpts->Config.count("model-path") > 0;
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
   44   if (Bodies.count(D->getName()) != 0)
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  161   bool KeepOriginalSource = IgnoredFiles.count(Filename) ||
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
   71     if (!NameToIndex.count(Name)) {
tools/clang/tools/extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
   22   return FunctionsThatShouldNotThrow.count(Node.getNameAsString()) > 0;
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp
  106   if (CStyledHeaderToCxx.count(FileName) != 0) {
  114   } else if (DeleteHeaders.count(FileName) != 0) {
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp
   50   bool HasReplacement = ReplacementTypes.count(TypeName);
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp
  173   bool StdFnRequiresCpp11 = Cpp11OnlyFns.count(OldFnName);
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp
   84             (IgnoredTypes.count(TD->getName()) > 0))
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp
   37   if (AddedAliases[Function].count(Namespace.str()) != 0)
   87     if (FunctionAliases->second.count(Namespace) != 0) {
tools/clang/tools/extra/clangd/index/Merge.cpp
  116     if (Remaining > 0 && !DynamicIndexFileURIs.count(O.Location.FileURI)) {
tools/clang/tools/extra/clangd/index/Serialization.cpp
  436     if (!Chunks.count(RequiredChunk))
  448   if (Chunks.count("srcs")) {
  465   if (Chunks.count("symb")) {
  474   if (Chunks.count("refs")) {
  486   if (Chunks.count("rela")) {
  497   if (Chunks.count("cmdl")) {
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp
  229     ASSERT_TRUE(In->Sources->count(IGN.URI));
tools/clang/unittests/AST/ASTImporterTest.cpp
  199       if (!AllASTs.count(Filename)) {
tools/clang/unittests/Basic/FileManagerTest.cpp
   70     if (StatCalls.count(Path) != 0) {
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
  169     EXPECT_TRUE(ParsedIndex.count(E.getKey()));
  173     EXPECT_TRUE(Index.count(E.getKey()));
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  617       if (Substitutions.count(Name))
tools/dsymutil/BinaryHolder.cpp
  221     if (ArchiveCache.count(ArchiveFilename)) {
  241   if (!ObjectCache.count(Filename)) {
tools/dsymutil/DeclContext.h
   40     if (!ResolvedPaths.count(ParentPath)) {
tools/lld/COFF/MinGW.cpp
  120   if (excludeSymbols.count(sym->getName()))
  144     return !excludeLibs.count(libName);
  147   return !excludeObjects.count(fileName);
tools/lld/ELF/Writer.cpp
  846   if (config->sectionStartMap.count(sec->name))
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  856     return _exportedSymbols.count(sym);
  858     return !_exportedSymbols.count(sym);
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  197     if (_nameMap.count(name)) {
tools/lld/wasm/Relocations.cpp
   32           config->allowUndefinedSymbols.count(sym->getName()) != 0);
tools/lld/wasm/SymbolTable.cpp
  211   if (!s && (config->exportAll || config->exportedSymbols.count(name) != 0))
tools/lld/wasm/Writer.cpp
  433   if (disallowed.count("atomics") && config->sharedMemory)
  466       if (disallowed.count(feature.Name))
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp
  143   if (supported_string_classes.count(class_name) == 0) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1685   if (!env_vars.count(disable_env_var)) {
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  344     if (pairs.count(pair.first))
tools/llvm-config/llvm-config.cpp
  161     if (!ComponentMap.count(ComponentLower)) {
tools/llvm-diff/DifferenceEngine.cpp
  715     if (!LNames.count(Name))
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  303   } else if (Names.count(Name)) {
tools/llvm-jitlink/llvm-jitlink-macho.cpp
   79   if (S.FileInfos.count(FileName)) {
  101     if (FileInfo.SectionInfos.count(Sec.getName()))
tools/llvm-jitlink/llvm-jitlink.cpp
  511   return SymbolInfos.count(SymbolName);
tools/llvm-link/llvm-link.cpp
  328               return !GV.hasName() || (GVS.count(GV.getName()) == 0);
tools/llvm-lto/llvm-lto.cpp
  955       if (!DSOSymbolsSet.count(Name))
tools/llvm-objcopy/CopyConfig.cpp
  570     if (Config.SetSectionFlags.count(SR.OriginalName))
  576     if (Config.SetSectionFlags.count(SR.NewName))
tools/llvm-objdump/llvm-objdump.cpp
  452     if (FoundSectionSet.count(S))
 1285       if (!DisasmFuncsSet.empty() && !DisasmFuncsSet.count(SymbolName))
tools/llvm-readobj/COFFDumper.cpp
 1040       if (FunctionLineTables.count(LinkageName) != 0) {
tools/llvm-rtdyld/llvm-rtdyld.cpp
  875     if (!StubMap.count(StubContainer))
  879     if (!StubMap[StubContainer].count(SymbolName))
unittests/ADT/StringMapTest.cpp
   39     EXPECT_EQ(0u, testMap.count(testKey));
   40     EXPECT_EQ(0u, testMap.count(StringRef(testKeyFirst, testKeyLength)));
   41     EXPECT_EQ(0u, testMap.count(testKeyStr));
   62     EXPECT_EQ(1u, testMap.count(testKey));
   63     EXPECT_EQ(1u, testMap.count(StringRef(testKeyFirst, testKeyLength)));
   64     EXPECT_EQ(1u, testMap.count(testKeyStr));
  105   EXPECT_EQ(0u, constTestMap.count(testKey));
  106   EXPECT_EQ(0u, constTestMap.count(StringRef(testKeyFirst, testKeyLength)));
  107   EXPECT_EQ(0u, constTestMap.count(testKeyStr));
  373   ASSERT_EQ(B.count("y"), 0u);
  385   ASSERT_EQ(B.count("x"), 0u);
  507   EXPECT_EQ(1u, Map.count("abcd"));
unittests/IR/CFGBuilder.cpp
  109   assert(NameToBlock.count(A.From) != 0 && "No block to disconnect (From)");
  110   assert(NameToBlock.count(A.To) != 0 && "No block to disconnect (To)");
unittests/Support/CommandLineTest.cpp
   92   ASSERT_TRUE(Map.count("test-option") == 1) <<
utils/TableGen/CodeGenDAGPatterns.cpp
 2935         if (!InNamedTypes->count(Entry.getKey())) {
utils/TableGen/GlobalISelEmitter.cpp
  922     if (ComplexSubOperands.count(SymbolicName))
 4940     if (OpcodeOrder.count(Opcode) == 0)