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

References

include/llvm/ADT/DenseSet.h
  230     if (!RHS.count(E))
include/llvm/ADT/SetOperations.h
   43      if (!S2.count(E)) S1.erase(E);   // Erase element if not in S2
include/llvm/ADT/SetVector.h
  173     assert(set_.count(V) && "Corrupted SetVector instances!");
  211     return set_.count(key);
include/llvm/Analysis/LoopInfoImpl.h
  694     assert(Loops.count(L) && "orphaned loop");
include/llvm/Analysis/MustExecute.h
  326   bool count(const Instruction *I) const { return Visited.count(I); }
include/llvm/Analysis/ScalarEvolutionExpander.h
  297       return InsertedValues.count(I) || InsertedPostIncValues.count(I);
  297       return InsertedValues.count(I) || InsertedPostIncValues.count(I);
include/llvm/ExecutionEngine/JITLink/JITLink.h
  556     assert(!Symbols.count(&Sym) && "Symbol is already in this section");
  561     assert(Symbols.count(&Sym) && "symbol is not in this section");
  840       assert(AbsoluteSymbols.count(&Sym) &&
  856     assert(ExternalSymbols.count(&Sym) && "Symbol is not in the externals set");
  867     assert(AbsoluteSymbols.count(&Sym) &&
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  542             if (!RS->count(S))
  711             if (!RS->count(S))
include/llvm/ProfileData/SampleProf.h
  653   bool contains(StringRef Name) { return Syms.count(Name); }
include/llvm/Support/GenericDomTreeConstruction.h
  787       assert(TN->getBlock() && II.Visited.count(TN) && "Preconditions!");
include/llvm/TableGen/Record.h
 1963     if (Shadowed.count(VarName))
include/llvm/Transforms/IPO/Attributor.h
  928     bool Invalidate = Whitelist && !Whitelist->count(&AAType::ID);
lib/Analysis/LazyValueInfo.cpp
  539     assert(BlockValueSet.count(e) && "Stack value should be in BlockValueSet!");
lib/Analysis/LegacyDivergenceAnalysis.cpp
  203   while (InfluenceRegion.count(InfluencedBB)) {
  205       if (!DV.count(&I))
  219     if (!InfluenceRegion.count(UserInst->getParent())) {
  358   return DivergentValues.count(V);
  365   return DivergentValues.count(U->get()) || DivergentUses.count(U);
  365   return DivergentValues.count(U->get()) || DivergentUses.count(U);
lib/Analysis/ModuleSummaryAnalysis.cpp
  797           return !CantBePromoted.count(VI.getGUID());
  807             return !CantBePromoted.count(Edge.first.getGUID());
lib/Analysis/ScalarEvolutionExpander.cpp
 2028             !(ChainedPhis.count(Phi) ||
 2030             (ChainedPhis.count(Phi) ||
lib/Analysis/SyntheticCountsUtils.cpp
   40       if (SCCNodes.count(CGT::edge_dest(E)))
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1303     if (Processed.count(IV))
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  746     if (Visited.count(Var))
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1516     if (Processed.count(IV))
lib/CodeGen/LiveVariables.cpp
  799     if (Defs.count(Reg))
  805     if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber()))
lib/CodeGen/MachineFunction.cpp
 1010     if (Deleted.count(*I) == 0)
lib/CodeGen/MachineVerifier.cpp
  164         if (regsKilled.count(Reg) || regsLiveOut.count(Reg))
  164         if (regsKilled.count(Reg) || regsLiveOut.count(Reg))
  183         if (regsLiveOut.count(Reg))
  208         return regsLiveOut.count(Reg) || vregsPassed.count(Reg);
  208         return regsLiveOut.count(Reg) || vregsPassed.count(Reg);
 2002     if (!regsLive.count(Reg)) {
 2010             if (regsLive.count(*SubRegs)) {
 2046         if (MInfo.regsKilled.count(Reg))
 2285       if (MInfo.regsKilled.count(*I)) {
 2321       if (MInfo.vregsRequired.count(Reg)) {
lib/CodeGen/RegAllocPBQP.cpp
  234       return D.count(IKey(NRegs, MRegs)) > 0;
  236     return D.count(IKey(MRegs, NRegs)) > 0;
  376         if (EC.count(EK))
lib/CodeGen/RegisterCoalescer.cpp
 1495   if (ToBeUpdated.count(SrcReg))
 1948   if (ToBeUpdated.count(CP.getSrcReg()))
lib/CodeGen/SelectionDAG/FastISel.cpp
  256   if (FuncInfo.RegsWithFixups.count(DefReg))
lib/CodeGen/SplitKit.cpp
  966     if (!NotToHoistSet.count(ParentVNI->id))
 1106         NotToHoistSet.count(ParentVNI->id))
lib/CodeGen/TailDuplicator.cpp
  355   if (isDefLiveOut(DefReg, TailBB, MRI) || RegsUsedByPhi.count(DefReg))
  395         if (isDefLiveOut(Reg, TailBB, MRI) || UsedByPhi.count(Reg))
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  317     if (VisitedBlocks.count(&B))
  348       if (!VisitedBlocks.count(B))
lib/ExecutionEngine/Orc/Core.cpp
  346   assert(QRI->second.count(Name) && "No dependency on Name in JD");
  628         if (SrcJDDeps.count(KV.second.Aliasee)) {
 1065           assert(DependantMI.UnemittedDependencies[this].count(Name) &&
 1193           assert(UnemittedDepI->second.count(Name) &&
 1221           assert(UnemittedDepMII->second.Dependants[&JD].count(Name) &&
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  301           if (NameDeps.count(S))
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
  187     if (BPI->isEdgeHot(*PIt, AtBB) && !PredSkipNodes.count(*PIt))
  226     if (BPI->isEdgeHot(AtBB, *PIt) && !SuccSkipNodes.count(*PIt))
lib/IR/DebugInfo.cpp
  583         if (!Opened.count(MDN) && !Replacements.count(MDN) && !prune(N, MDN) &&
lib/IR/Instruction.cpp
  722     if (WL.empty() || WLS.count(MD.first))
  725   if (WL.empty() || WLS.count(LLVMContext::MD_dbg))
lib/IR/ModuleSummaryIndex.cpp
  177             GUIDPreservedSymbols.count(P.first)) {
lib/IR/SafepointIRVerifier.cpp
  466   bool isValuePoisoned(const Value *V) const { return PoisonedDefs.count(V); }
  574   return ValidUnrelocatedDefs.count(I) || PoisonedDefs.count(I);
  574   return ValidUnrelocatedDefs.count(I) || PoisonedDefs.count(I);
  678             if (BlockMap[InBB]->AvailableOut.count(InValue))
  697             isNotExclusivelyConstantDerived(V) && !AvailableSet.count(V)) {
  806             !InBBS->AvailableOut.count(InValue))
  826         if (AvailableSet.count(LHS) || AvailableSet.count(RHS))
  826         if (AvailableSet.count(LHS) || AvailableSet.count(RHS))
  860       if (baseTyLHS == BaseType::NonConstant && !AvailableSet.count(LHS))
  862       if (baseTyRHS == BaseType::NonConstant && !AvailableSet.count(RHS))
  868           isNotExclusivelyConstantDerived(V) && !AvailableSet.count(V))
lib/LTO/LTO.cpp
  337                           !GUIDPreservedSymbols.count(VI.getGUID()));
  342              !GlobalInvolvedWithAlias.count(S.get()))
  736                  !AliasedGlobals.count(cast<GlobalObject>(GV))) {
lib/LTO/ThinLTOCodeGenerator.cpp
  596            GUIDPreservedSymbols.count(GUID);
lib/Linker/IRMover.cpp
  943   if (ValuesToLink.count(&SGV) || SGV.hasLocalLinkage())
 1533     return OpaqueStructTypes.count(Ty);
lib/Linker/LinkModules.cpp
  427   if (!ReplacedDstComdats.count(C))
lib/ProfileData/SampleProfReader.cpp
  551     if (!FuncsToUse.count(FuncName) &&
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
 1008   return LiveOuts.count(Reg) == 1;
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 2853           if (!SGPRsUsed.count(Reg)) {
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
 1071         if (TrackedWaitcntSet.count(&*II)) {
 1116         if (!TrackedWaitcntSet.count(&*II))
 1132         if (!TrackedWaitcntSet.count(&*II))
 1392         (!VCCZBugHandledSet.count(&Inst))) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 3977         if (!SGPRsUsed.count(SGPR) &&
 4197     if (SGPRsUsed.count(MO.getReg()))
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  596         ((Use.readsReg() && RegDefs.count(Use.getReg())) ||
  597          (Use.isDef() && RegDefs.count(Use.getReg())) ||
  599           PhysRegUses.count(Use.getReg())))) {
lib/Target/AMDGPU/SILowerI1Copies.cpp
  587         assert(IncomingDef->isPHI() || PhiRegisters.count(IncomingReg));
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  959         if (UsedRegs.count(MO.getReg()))
lib/Target/Hexagon/BitTracker.cpp
 1027   return ReachedBB.count(BN);
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1512   if (Blocks.count(DomB)) {
 1516       if (RefMIs.count(&*It))
lib/Target/Hexagon/HexagonCopyToCombine.cpp
  497       if (ShouldCombineAggressively && PotentiallyNewifiableTFR.count(&I1))
  544     if (ShouldCombineAggressively && PotentiallyNewifiableTFR.count(&*I2))
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  616     if (!Deleted.count(SB))
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1438   if (AllNodes.count(LV.getNode())) {
 1457       if (AllNodes.count(Op.getNode()))
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  581     if (MO.isReg() && MO.isUse() && DefRegsSet.count(MO.getReg()))
lib/Target/Hexagon/RDFDeadCode.cpp
   41     if (Set.count(V))
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  121   if (Visited.count(GV))
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
  412         EntryToLayoutPred[std::make_pair(InLoop.count(Pred), Entry)] = Pred;
  420     bool PredInLoop = InLoop.count(Pred);
  423           Map.count(std::make_pair(InLoop.count(Pred), Entry)))
  451     bool PredInLoop = InLoop.count(Pred);
lib/Target/X86/X86DomainReassignment.cpp
  436   if (EnclosedEdges.count(Reg))
  761     if (EnclosedEdges.count(Reg))
lib/Transforms/IPO/Attributor.cpp
 2225       if (!AssumedLiveBlocks.count(&BB))
 2241     return !AssumedLiveBlocks.count(BB);
 2259     if (!AssumedLiveBlocks.count(I->getParent()))
 3560       if (BadMallocCalls.count(MallocCall))
 3708     if (BadMallocCalls.count(&I))
lib/Transforms/IPO/Inliner.cpp
 1043           UR.InlinedInternalEdges.count({&N, C})) {
lib/Transforms/IPO/Internalize.cpp
  115     if (ExternalComdats.count(C))
lib/Transforms/IPO/LowerTypeTests.cpp
 1867         if (!AddressTaken.count(GUID)) {
lib/Transforms/IPO/PartialInlining.cpp
  647       if (!Entries.count(Pred))
  656             if (Entries.count(Succ))
lib/Transforms/IPO/SampleProfile.cpp
  941         if (PromotedInsns.count(I))
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  277           if (MergedMComdats.count(C))
  280           return EligibleVirtualFns.count(F);
  309       if (MergedMComdats.count(C))
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  264       if (TailRegionSet.count(Parent)) {
  566     if (Unhoistables.count(I)) {
  735     if (EntryBlockSelectSet.count(&I) > 0) {
 1310       if (TrueBiasedRegionsGlobal.count(R) > 0)
 1312       else if (FalseBiasedRegionsGlobal.count(R) > 0)
 1318       if (TrueBiasedSelectsGlobal.count(SI) > 0)
 1320       else if (FalseBiasedSelectsGlobal.count(SI) > 0)
 1403       assert((OutermostScope->TrueBiasedRegions.count(R) > 0 ||
 1404               OutermostScope->FalseBiasedRegions.count(R) > 0) &&
 1416       assert((OutermostScope->TrueBiasedSelects.count(SI) > 0 ||
 1417               OutermostScope->FalseBiasedSelects.count(SI) > 0) &&
 1460     if (HoistStops.count(I))
 1463       if (TrivialPHIs.count(PN))
 1469     if (HoistedSet.count(I))
 1503     bool IsTrueBiased = Scope->TrueBiasedRegions.count(R);
 1504     bool IsFalseBiased = Scope->FalseBiasedRegions.count(R);
 1511       bool IsTrueBiased = Scope->TrueBiasedSelects.count(SI);
 1512       bool IsFalseBiased = Scope->FalseBiasedSelects.count(SI);
 1552       if (Scope->TrueBiasedSelects.count(SI)) {
 1553         assert(Scope->FalseBiasedSelects.count(SI) == 0 &&
 1556       } else if (Scope->FalseBiasedSelects.count(SI)) {
 1557         assert(Scope->TrueBiasedSelects.count(SI) == 0 &&
 1594           if (BlocksInScopeSet.count(UI->getParent()) == 0 &&
 1642     if (Scope->TrueBiasedRegions.count(RI.R) ||
 1643         Scope->FalseBiasedRegions.count(RI.R))
 1646       if (Scope->TrueBiasedSelects.count(SI) ||
 1647           Scope->FalseBiasedSelects.count(SI))
 1665     bool IsTrueBiased = Scope->TrueBiasedRegions.count(R);
 1666     bool IsFalseBiased = Scope->FalseBiasedRegions.count(R);
 1679       bool IsTrueBiased = Scope->TrueBiasedSelects.count(SI);
 1680       bool IsFalseBiased = Scope->FalseBiasedSelects.count(SI);
 1886   bool IsTrueBiased = Scope->TrueBiasedRegions.count(R);
 1887   assert((IsTrueBiased || Scope->FalseBiasedRegions.count(R)) &&
 1930   bool IsTrueBiased = Scope->TrueBiasedSelects.count(SI);
 1932           Scope->FalseBiasedSelects.count(SI)) && "Must be biased");
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  947         if (!DFSF.SkipInsts.count(Inst))
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  639         EquivalentArgs.count(GetArgRCIdentityRoot(&*I))) {
lib/Transforms/Scalar/GVNHoist.cpp
  431     if ((BB != SrcBB) && HoistBarrier.count(BB))
lib/Transforms/Scalar/GVNSink.cpp
  733     if (NeededPHIs.count(PHI))
lib/Transforms/Scalar/GuardWidening.cpp
  348     if (!WidenedGuards.count(I)) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 1333     if (VisitedRegs.count(ScaledReg)) {
 1342     if (VisitedRegs.count(BaseReg)) {
 1519   return Uniquifier.count(Key);
lib/Transforms/Scalar/MergeICmps.cpp
  277     if (BlockInsts.count(&Inst))
  296     if (!BlockInsts.count(&Inst)) {
  314     if (!BlockInsts.count(&Inst))
lib/Transforms/Scalar/NewGVN.cpp
  999     if (!ReachableEdges.count({BB, PHIBlock}))
 1094         if (!AllTempInstructions.count(I))
 1104         if (!AllTempInstructions.count(I))
 2100   if (AllTempInstructions.count(I))
 2757     if (ReachableEdges.count({PredBB, PHIBlock})) {
 3029            ReachableEdges.count({MP->getIncomingBlock(U), PHIBlock});
 3147     return ReachableEdges.count({MP->getIncomingBlock(U), MP->getBlock()});
 3234         return ReachableEdges.count(
 3294     if (!EqualClasses.count({BeforeCC, AfterCC})) {
 3837       if (!ReachableEdges.count({PHI->getIncomingBlock(Operand), BB})) {
 3945           if (DefInst && AllTempInstructions.count(DefInst)) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1772         if (VisitedLiveValues.count(Def)) {
lib/Transforms/Scalar/SCCP.cpp
  761   return KnownFeasibleEdges.count(Edge(From, To));
lib/Transforms/Utils/CodeExtractor.cpp
  363   if (SideEffectingBlocks.count(&BB))
  367     return It->second.count(Addr);
lib/Transforms/Utils/LoopRotationUtils.cpp
  349       if (DbgIntrinsics.count(makeHash(DII))) {
lib/Transforms/Utils/PredicateInfo.cpp
  632         if (EdgeUsesOnly.count(BlockEdge)) {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3512     if (!ShuffledIndices.count(i))
 5430     if (Tails.count(SI))
 5438     while ((Tails.count(I) || Heads.count(I)) && !VectorizedStores.count(I)) {
 6955       if (it->use_empty() && KeyNodes.count(&*it) > 0 &&
lib/Transforms/Vectorize/VPlanVerifier.cpp
   32     if (VPBlockSet.count(Block))
tools/clang/include/clang/Basic/Module.h
  555     return VisibleModulesCache.count(M);
tools/clang/include/clang/Basic/SourceManager.h
  950       if (OverriddenFilesInfo->OverriddenFilesWithBuffer.count(File))
tools/clang/lib/ARCMigrate/TransARCAssign.cpp
   59           if (!ModifiedVars.count(var)) {
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
   92     if (MigrateCtx.AttrSet.count(RawLoc))
  207         if (!MigrateCtx.RemovedAttrSet.count(Attr.Loc.getRawEncoding()))
tools/clang/lib/ARCMigrate/TransProperties.cpp
  338     return MigrateCtx.AtPropsWeak.count(atLoc.getRawEncoding());
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  423     return Removables.count(E);
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
  327     if (Removables->count(E)) {
tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp
   68     return Removables.count(E);
tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp
  148     return Removables.count(E);
tools/clang/lib/ARCMigrate/TransformActions.cpp
  452   if (StmtRemovals.count(S))
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1583   if (Context.NonEquivalentDecls.count(P))
tools/clang/lib/CodeGen/CGObjCMac.cpp
 3008   if (DefinedProtocols.count(PD->getIdentifier()))
 4273     if (BlocksBeforeTry.count(&BB)) continue;
 4318     if (isa<llvm::AllocaInst>(*I) && !AllocasToIgnore.count(&*I))
 6182   return VTableDispatchMethods.count(Sel);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  764           Lastprivates.count(OrigVD->getCanonicalDecl()) > 0;
 1009         if (IInit && !SIMDLCVs.count(OrigVD->getCanonicalDecl())) {
 1658       if (!SIMDLCVs.count(VD->getCanonicalDecl())) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 3756   if (ObjCInterefaceHasBitfieldGroups.count(CDecl)) {
 3966       if (GroupSymbolOutput.count(std::make_pair(IDecl, GroupNo)))
 4959   if (CopyDestroyCache.count(flag))
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 4113   if (CopyDestroyCache.count(flag))
tools/clang/lib/Lex/PPMacroExpansion.cpp
  297     if (Active.count(MM))
tools/clang/lib/Sema/SemaLookup.cpp
 1775   if (LookupModules.count(M))
tools/clang/lib/Sema/SemaObjCProperty.cpp
 2069         PropImplMap.count(Prop) ||
tools/clang/lib/Sema/SemaOpenMP.cpp
  824     return StackElem.MappedClassesQualTypes.count(QT) != 0;
tools/clang/lib/Sema/SemaOverload.cpp
 8320             UserDefinedBinaryOperators.count(std::make_pair(CanonType,
tools/clang/lib/Serialization/ASTWriterStmt.cpp
 2412   assert(!ParentStmts.count(S) && "There is a Stmt cycle!");
tools/clang/lib/Serialization/MultiOnDiskHashTable.h
  134       bool Remove = Files.count(ODT->File);
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  171     return InEH->count(D);
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  592     if (Escaped.count(Sym))
  613       if (Escaped.count(ParentSym))
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1766       if (!OCS.count(CallI)) {
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  536       if (Pass1.count(*I))
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 2740     if (SymbolsDirectlyInvalidated.count(sym))
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
  434   if (RegionRoots.count(MR))
  484     KnownLive = MetadataInUse.count(sym) &&
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  503   if (VisitedAsTopLevel.count(D))
  524   return Visited.count(D);
  533   if (Visited.count(D) && isa<ObjCMethodDecl>(D)) {
tools/clang/tools/diagtool/TreeView.cpp
  111       if (!NonRootGroupIDs.count(i))
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp
   79         if (ConnectedNodes.count(Node))
tools/clang/tools/extra/clang-move/Move.cpp
  738       if (!UsedDecls.count(HelperDeclRGBuilder::getOutmostClassOrFunDecl(
  817         !UsedDecls.count(HelperDeclRGBuilder::getOutmostClassOrFunDecl(
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   27     if (!FilesToRecord.count(File))
  103   if (VisitedModules.count(MF))
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
  305       if (MatchedTemplateLocations.count(
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
  310   if (VisitedDeclarations.count(OriginalDeclaration) > 0)
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1568       if (UsedIndexResults.count(&IndexResult))
tools/clang/tools/extra/clangd/FindTarget.cpp
  588     if (TypeLocsToSkip.count(TTL.getBeginLoc().getRawEncoding()))
tools/clang/tools/extra/clangd/index/Merge.cpp
   65     if (!SeenDynamicSymbols.count(S.ID))
  141         !SeenRelations.count(std::make_pair(Subject, Object.ID))) {
tools/clang/tools/libclang/Indexing.cpp
  190     LastIsParsed = ParsedRegionsSnapshot.count(region);
tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
 1290     return NonEquivalentDecls.count(D) > 0;
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  395     if (!DiagsSet.count(R))
 1263     } else if (DiagsInPedantic.count(&R)) {
tools/lld/COFF/Driver.cpp
  899     if (set.count(s) == 0) {
tools/lld/ELF/Driver.cpp
 1346   bool all = libs.count("ALL");
 1350       if (all || libs.count(path::filename(file->archiveName)))
tools/lld/ELF/LTO.cpp
  190                             usedStartStop.count(objSym.getSectionName());
tools/lld/lib/Core/Resolver.cpp
  385                  return _liveAtoms.count(a.get()) == 0;
  401                        [&](const Atom *a) { return _liveAtoms.count(a) == 0; }),
  447                         _deadAtoms.count(a.get());
tools/lldb/source/Breakpoint/BreakpointResolver.cpp
  273       assert(!blocks_with_breakpoints.count(first->block));
  278                            return blocks_with_breakpoints.count(sc.block);
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
   38     if (unit && m_units_to_avoid.count(unit->GetOffset()) == 0)
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 2368   if (searched_symbol_files.count(this))
tools/llvm-cfi-verify/lib/GraphBuilder.cpp
  208   if (OpenedNodes.count(Address))
tools/llvm-cxxmap/llvm-cxxmap.cpp
  118       if (WarnIncomplete && !UnparseableSymbols.count(Symbol)) {
tools/llvm-diff/DifferenceEngine.cpp
  470       return Values[L] == R || TentativeValues.count(std::make_pair(L, R));
tools/llvm-objcopy/COFF/Object.cpp
   90     return AssociatedSections.count(Sec.UniqueId) == 1;
  113               if (RemovedSections.count(Sym.AssociativeComdatTargetSectionId) ==
  116               return RemovedSections.count(Sym.TargetSectionId) == 1;
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  663           if (PrefixedSections.count(TargetSec))
tools/polly/lib/Analysis/ScopBuilder.cpp
 3441     if (HasWriteAccess.count(Array)) {
tools/polly/lib/CodeGen/BlockGenerators.cpp
  729           if (Encountered.count(OpInst))
tools/polly/lib/Transform/Simplify.cpp
  544       if (UsedMA.count(MA))
tools/polly/lib/Transform/ZoneAlgo.cpp
  859     if (!ComputedPHIs.count(PHI)) {
unittests/ADT/DenseSetTest.cpp
   30   EXPECT_EQ(0u, set.count(2));
   76   EXPECT_EQ(1u, set.count(1));
   77   EXPECT_EQ(1u, set.count(2));
   78   EXPECT_EQ(1u, set.count(4));
   79   EXPECT_EQ(0u, set.count(3));
   85   EXPECT_EQ(1u, set.count(1));
   86   EXPECT_EQ(1u, set.count(2));
   87   EXPECT_EQ(1u, set.count(3));
  109   EXPECT_EQ(0u, set.count(0));
  118   EXPECT_EQ(1u, set.count(1));
  219   EXPECT_EQ(Map.count(B), 1u);
  220   EXPECT_EQ(Map.count(C), 1u);
unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp
   42   EXPECT_EQ(RS.count(Bar), 1U)
   65   EXPECT_EQ(Unresolved.count(Baz), 1U) << "Expected baz to not be resolved";
   94   EXPECT_EQ(RS->count(Bar), 1U) << "Incorrect responsibility set returned";
  120   EXPECT_EQ(Unresolved.count(Baz), 1U) << "Expected baz to be unresolved";
utils/TableGen/CodeGenDAGPatterns.cpp
  130       if (!Modes.count(I.first))
 3123     if (OperandsSet.count(""))
 3146       if (!OperandsSet.count(ArgNameStr))