|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/DepthFirstIterator.h 201 return this->Visited.count(Node) != 0;
include/llvm/ADT/SetOperations.h 43 if (!S2.count(E)) S1.erase(E); // Erase element if not in S2
include/llvm/ADT/SetVector.h 211 return set_.count(key);
include/llvm/Analysis/CFG.h 162 if (!Visited.count(Succ))
include/llvm/Analysis/CGSCCPassManager.h 617 if (UR.InvalidatedSCCs.count(C))
630 assert(!UR.InvalidatedSCCs.count(C) && "Processing an invalid SCC!");
787 if (InvalidRefSCCSet.count(RC)) {
809 if (InvalidSCCSet.count(C)) {
849 assert(!InvalidSCCSet.count(C) && "Processing an invalid SCC!");
865 if (UR.InvalidatedSCCs.count(C))
876 if (UR.InvalidatedSCCs.count(C)) {
include/llvm/Analysis/DominanceFrontierImpl.h 200 if (visited.count(childBB) == 0) {
include/llvm/Analysis/IVUsers.h 151 return Processed.count(Inst);
include/llvm/Analysis/LazyCallGraph.h 1092 if (Visited.count(BA->getFunction()))
include/llvm/Analysis/LoopAccessAnalysis.h 590 bool hasStride(Value *V) const { return StrideSet.count(V); }
include/llvm/Analysis/LoopInfo.h 127 return DenseBlockSet.count(BB);
include/llvm/Analysis/LoopInfoImpl.h 339 if (!VisitedBBs.count(BB)) {
674 return OtherBlocksSet.count(BB);
include/llvm/Analysis/SparsePropagation.h 172 return BBExecutable.count(BB);
275 if (BBExecutable.count(Dest)) {
482 if (BBExecutable.count(Inst->getParent())) // Inst is executable?
include/llvm/Analysis/VectorUtils.h 722 !Dependences.lookup(Src).count(Sink);
include/llvm/CodeGen/LiveRangeEdit.h 232 return Rematted.count(ParentVNI);
include/llvm/CodeGen/SelectionDAGNodes.h 885 if (Visited.count(N))
include/llvm/IR/PassManager.h 240 if (!Arg.PreservedIDs.count(ID))
262 if (!Arg.PreservedIDs.count(ID))
279 : PA(PA), ID(ID), IsAbandoned(PA.NotPreservedAnalysisIDs.count(ID)) {}
286 return !IsAbandoned && (PA.PreservedIDs.count(&AllAnalysesKey) ||
287 PA.PreservedIDs.count(ID));
302 return !IsAbandoned && (PA.PreservedIDs.count(&AllAnalysesKey) ||
303 PA.PreservedIDs.count(SetID));
331 PreservedIDs.count(&AllAnalysesKey);
346 (PreservedIDs.count(&AllAnalysesKey) || PreservedIDs.count(SetID));
346 (PreservedIDs.count(&AllAnalysesKey) || PreservedIDs.count(SetID));
include/llvm/Support/GenericDomTree.h 111 if (OtherChildren.count(N) == 0)
include/llvm/Support/GenericDomTreeConstruction.h 707 if (Set.count(N) == 0)
include/llvm/Support/GenericIteratedDominanceFrontier.h 187 if (useLiveIn && !LiveInBlocks->count(SuccBB))
191 if (!DefBlocks->count(SuccBB))
include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h 307 bool isMaskRequired(const Instruction *I) { return (MaskedOp.count(I) != 0); }
lib/Analysis/AssumptionCache.cpp 288 !AssumptionSet.count(cast<CallInst>(&II)))
lib/Analysis/BranchProbabilityInfo.cpp 159 if (PostDominatedByUnreachable.count(II->getNormalDest()))
166 if (!PostDominatedByUnreachable.count(I))
175 assert(!PostDominatedByColdCall.count(BB));
182 return PostDominatedByColdCall.count(SuccBB);
191 if (PostDominatedByColdCall.count(II->getNormalDest())) {
221 if (PostDominatedByUnreachable.count(*I))
289 if (PostDominatedByUnreachable.count(TI->getSuccessor(i - 1)))
367 if (PostDominatedByColdCall.count(*I))
598 if (UnlikelyBlocks.count(*I) != 0)
lib/Analysis/CFG.cpp 53 if (InStack.count(BB))
167 if (ExclusionSet && ExclusionSet->count(BB))
179 if (LoopsWithHoles.count(Outer))
lib/Analysis/CGSCCPassManager.cpp 81 if (UR.InvalidatedSCCs.count(C))
91 if (UR.InvalidatedSCCs.count(C)) {
498 if (!Visited.count(F))
506 if (RetainedEdges.count(&E.getNode()))
697 assert(!UR.InvalidatedSCCs.count(C) && "Invalidated the current SCC!");
698 assert(!UR.InvalidatedRefSCCs.count(RC) && "Invalidated the current RefSCC!");
lib/Analysis/CodeMetrics.cpp 54 assert(Visited.count(V) &&
58 if (!all_of(V->users(), [&](const User *U) { return EphValues.count(U); }))
123 if (EphValues.count(&I))
lib/Analysis/DemandedBits.cpp 434 return !Visited.count(I) && AliveBits.find(I) == AliveBits.end() &&
449 if (DeadUses.count(U))
lib/Analysis/DomTreeUpdater.cpp 170 return DeletedBBs.count(DelBB) != 0;
lib/Analysis/GlobalsModRef.cpp 824 if (GV1 && !NonAddressTakenGlobals.count(GV1))
826 if (GV2 && !NonAddressTakenGlobals.count(GV2))
860 if (IndirectGlobals.count(GV))
864 if (IndirectGlobals.count(GV))
932 if (NonAddressTakenGlobals.count(GV))
lib/Analysis/IVDescriptors.cpp 46 if (!Set.count(dyn_cast<Instruction>(*Use)))
185 if (TheLoop->contains(I) && !Visited.count(I))
293 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0))))
603 if (Insts.count(dyn_cast<Instruction>(*Use)))
lib/Analysis/IVUsers.cpp 107 if (SimpleLoopNests.count(DomLoop))
194 if (EphValues.count(I))
212 if (isa<PHINode>(User) && Processed.count(User))
235 if (isa<PHINode>(User) || Processed.count(User) ||
241 } else if (Processed.count(User) || !AddUsersImpl(User, SimpleLoopNests)) {
lib/Analysis/InlineCost.cpp 1575 if (EphValues.count(&*I))
lib/Analysis/LazyCallGraph.cpp 128 if (!Visited.count(F))
329 assert(SCCSet.count(C) && "Found an index for an SCC not in the RefSCC!");
478 [&ConnectedSet](SCCT *C) { return !ConnectedSet.count(C); });
484 if (!ConnectedSet.count(&TargetSCC)) {
513 [&ConnectedSet](SCCT *C) { return ConnectedSet.count(C); });
576 if (ConnectedSet.count(G->lookupSCC(E.getNode())))
1001 if (Set.count(G->lookupRefSCC(E.getNode())))
lib/Analysis/LazyValueInfo.cpp 205 return ODI->second.count(V);
lib/Analysis/LoopAccessAnalysis.cpp 829 (A.getInt() ? "write" : (ReadOnlyPtr.count(A.getPointer()) ?
870 bool IsReadOnlyPtr = ReadOnlyPtr.count(Ptr) && !IsWrite;
1641 if (Visited.count(CurAccess))
1978 if (UniformStores.count(Ptr)) {
lib/Analysis/LoopInfo.cpp 569 return ParallelAccessGroups.count(AG);
576 if (ParallelAccessGroups.count(AccGroup))
lib/Analysis/MemDerefPrinter.cpp 70 if (DerefAndAligned.count(V))
lib/Analysis/MemorySSA.cpp 1557 if (!Visited.count(&BB))
1931 if (!ValidBlocks.count(&BB))
2128 if (!BlockNumberingValid.count(DominatorBlock))
lib/Analysis/MemorySSAUpdater.cpp 62 if (VisitedBlocks.count(BB)) {
677 if (!NewPhiBBPreds.count(IncBB))
1260 if (PredsSet.count(B)) {
lib/Analysis/MustExecute.cpp 220 Succ != BB && !Predecessors.count(Succ))
lib/Analysis/PhiValues.cpp 127 if (Pair.second.count(V))
lib/Analysis/ScalarEvolutionExpander.cpp 1345 if (PostIncLoops.count(L)) {
1399 if (!PostIncLoops.count(L))
1851 if (L && SE.hasComputableLoopEvolution(S, L) && !PostIncLoops.count(L))
lib/Analysis/ScalarEvolutionNormalization.cpp 100 return Loops.count(AR->getLoop());
114 return Loops.count(AR->getLoop());
lib/Analysis/ScopedNoAliasAA.cpp 166 if (!NANodes.count(SMD)) {
lib/Analysis/ValueTracking.cpp 482 return EphValues.count(U);
4385 return (NotPoison && KnownPoison.count(NotPoison));
4419 if (YieldsPoison.count(&I)) {
lib/Analysis/VectorUtils.cpp 414 if (Visited.count(Val))
435 !InstructionSet.count(I))
499 if (Roots.count(*MI))
573 if (AccGroupSet2.count(MD1))
579 if (AccGroupSet2.count(Item))
lib/CodeGen/BranchFolding.cpp 1088 if (!TriedMerging.count(&MBB) && MBB.succ_empty())
1150 if (TriedMerging.count(PBB))
lib/CodeGen/CodeGenPrepare.cpp 654 !isMergingEmptyBlockProfitable(BB, DestBB, Preheaders.count(BB)))
736 if (SameIncomingValueBBs.count(Pred))
798 if (BBPreds.count(Pred)) { // Common predecessor?
1434 assert(!InsertedInsts.count(AndI) &&
3837 if (isa<TruncInst>(ExtOpnd) && InsertedInsts.count(ExtOpnd))
5213 if (RemovedInsts.count(Inst) || !isa<SExtInst>(Inst) ||
5558 if (RemovedInsts.count(VisitedSExt))
5707 InsertedInsts.count(cast<Instruction>(*Load->user_begin())))
5887 for (SelectInst *DefSI = SI; DefSI != nullptr && Selects.count(DefSI);
6924 if (InsertedInsts.count(I))
lib/CodeGen/EarlyIfConversion.cpp 372 if (InsertAfter.count(&*I)) {
lib/CodeGen/GCRootLowering.cpp 161 if (!InitedRoots.count(Root)) {
lib/CodeGen/GlobalISel/IRTranslator.cpp 2067 if (SeenPreds.count(Pred) || !PhiMBB->isPredecessor(Pred))
lib/CodeGen/GlobalISel/Localizer.cpp 195 while (II != MBB.end() && !Users.count(&*II))
lib/CodeGen/GlobalMerge.cpp 171 return MustKeepGlobalVariables.count(GV);
lib/CodeGen/IndirectBrExpandPass.cpp 120 if (!IndirectBrSuccs.count(&BB))
lib/CodeGen/InlineSpiller.cpp 510 if (!SnippetCopies.count(MI))
566 if (SnippetCopies.count(&MI))
671 if (VNI->isUnused() || VNI->isPHIDef() || UsedValues.count(VNI))
986 if (SnippetCopies.count(MI))
1097 assert(SnippetCopies.count(&MI) && "Remaining use wasn't a snippet copy");
1267 } else if (WorkSet.count(Node)) {
1298 if (WorkSet.count(Child))
lib/CodeGen/LiveDebugValues.cpp 119 return LBlocks.count(MBB) != 0 || LS.dominates(DL, MBB);
1150 if (!Visited.count(p)) {
1180 bool IsArtificial = ArtificialBlocks.count(&MBB);
lib/CodeGen/LiveRangeEdit.cpp 145 if (!Remattable.count(OrigVNI))
lib/CodeGen/LiveVariables.cpp 669 assert(Visited.count(&*i) != 0 && "unreachable basic block found");
753 if (Kills.count(SuccMBB))
lib/CodeGen/MachineBlockPlacement.cpp 696 if (Successors.count(&BB))
699 if (!Successors.count(Succ))
908 if (Successors.count(SuccPred)) {
911 if (!Successors.count(CheckSucc))
2156 !BlocksExitingToOuterLoop.count(ExitingBB))
2658 if (!BlocksWithUnanalyzableExits.count(PrevBB)) {
lib/CodeGen/MachineCSE.cpp 445 if (!CSUses.count(&MI)) {
lib/CodeGen/MachineDominators.cpp 120 if (NewBBs.count(PredBB)) {
lib/CodeGen/MachinePipeliner.cpp 614 if (Visited.count(SuccSU))
1228 if (B[W].count(SV) == 0)
2347 if (Visited.count(PrevSU))
2370 if (Visited.count(SuccSU))
lib/CodeGen/MachineSink.cpp 1121 if (!SinkableBBs.count(SI) && aliasWithRegsInLiveIn(*SI, Reg, TRI))
lib/CodeGen/MachineVerifier.cpp 640 if (!FunctionBlocks.count(*I))
642 if (!MBBInfoMap[*I].Preds.count(MBB)) {
652 if (!FunctionBlocks.count(*I))
654 if (!MBBInfoMap[*I].Succs.count(MBB)) {
2260 if (!seen.count(Pred)) {
2770 assert(Reachable.count(StackPred) &&
2808 if (Reachable.count(*I) &&
2824 if (Reachable.count(*I) &&
lib/CodeGen/ModuloSchedule.cpp 1538 if (IllegalPhis.count(MI)) {
lib/CodeGen/PHIEliminationUtils.cpp 52 while (!DefUsesInMBB.count(&*--InsertPoint)) {}
lib/CodeGen/PeepholeOptimizer.cpp 536 if (!LocalMIs.count(UseMI))
538 } else if (ReachedBBs.count(UseMBB)) {
575 if (PHIBBs.count(UseMBB))
lib/CodeGen/PrologEpilogInserter.cpp 521 if (Visited.count(&MBB))
1155 assert(Reachable.count(StackPred) &&
1166 if (Reachable.count(&BB))
lib/CodeGen/RegAllocGreedy.cpp 2710 if (RecoloringCandidates.count(&LIS->getInterval(*Next)))
lib/CodeGen/RegisterCoalescer.cpp 3496 if (ErasedInstrs.count(CurrList[i])) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 1441 if (!CombinedNodes.count(ChildN.getNode()))
1804 if (SeenOps.count(Op) != 0) {
1876 if (SeenChains.count(Op.getNode()) == 0)
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 4645 return LegalizedNodes.count(N);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 9603 if (Checked.count(N))
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 723 if (!ElidedArgCopyInstrs.count(&*I))
1405 if (!FuncInfo->VisitedBBs.count(*PI)) {
1457 ElidedArgCopyInstrs.count(Inst)) {
lib/CodeGen/SjLjEHPrepare.cpp 310 if (UnwindBlock != &BB && LiveBBs.count(UnwindBlock)) {
lib/CodeGen/SplitKit.cpp 973 if (DominatedVNIs.count(*It1) || DominatedVNIs.count(*It2))
973 if (DominatedVNIs.count(*It1) || DominatedVNIs.count(*It2))
lib/CodeGen/StackColoring.cpp 1043 if (AI && MergedAllocas.count(AI)) {
lib/CodeGen/SwitchLoweringUtils.cpp 238 if (Done.count(Succ))
lib/CodeGen/TailDuplicator.cpp 676 if (SuccsB.count(BB) && !BB->empty() && BB->begin()->isPHI())
lib/CodeGen/TwoAddressInstructionPass.cpp 830 if (Processed.count(MI))
1708 if (mi->isDebugInstr() || SunkInstrs.count(&*mi)) {
lib/CodeGen/UnreachableBlockElim.cpp 122 if (!Reachable.count(BB)) {
168 if (!preds.count(phi->getOperand(i).getMBB())) {
lib/ExecutionEngine/MCJIT/MCJIT.h 106 return AddedModules.count(M) != 0;
112 return (LoadedModules.count(M) != 0 ) || (FinalizedModules.count(M) != 0);
112 return (LoadedModules.count(M) != 0 ) || (FinalizedModules.count(M) != 0);
116 return FinalizedModules.count(M) != 0;
120 return (AddedModules.count(M) != 0) || (LoadedModules.count(M) != 0) ||
120 return (AddedModules.count(M) != 0) || (LoadedModules.count(M) != 0) ||
121 (FinalizedModules.count(M) != 0);
128 assert(AddedModules.count(M) &&
143 assert(LoadedModules.count(M) &&
lib/IR/Verifier.cpp 2095 if (Visited.count(PredPad))
2101 if (Active.count(SuccPad)) {
3998 if (!isa<PHINode>(I) && InstsInThisBlock.count(Op))
5080 AssertDI(Listed.count(CU), "DICompileUnit not listed in llvm.dbg.cu", CU);
lib/MC/MCAssembler.cpp 135 if (ThumbFuncs.count(Symbol))
lib/Object/IRSymtab.cpp 256 if (Used.count(GV) || IsBuiltinFunc)
lib/Target/AArch64/AArch64AsmPrinter.cpp 911 if (AArch64FI->getLOHRelated().count(MI)) {
lib/Target/AArch64/AArch64BranchTargets.cpp 91 if (MBB.hasAddressTaken() || JumpTableTargets.count(&MBB))
lib/Target/AArch64/AArch64InstrInfo.cpp 5380 if (FuncInfo->getLOHRelated().count(&MI))
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp 136 if (!FuncsToAlwaysInline.count(&F))
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp 1004 return MBBs.count(MBB) == 1;
2594 if (MBBs.count(*SI) != 0) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 195 if (F.isDeclaration() || Roots.count(&F) || Roots.count(&F))
195 if (F.isDeclaration() || Roots.count(&F) || Roots.count(&F))
212 if (!Roots.count(Caller))
lib/Target/AMDGPU/AMDGPUSubtarget.cpp 802 if (SI.getSUnit() != SU && !Visited.count(SI.getSUnit()))
875 if (Visited.count(&*LastSALU))
lib/Target/AMDGPU/SIFixSGPRCopies.cpp 548 if (MergedInstrs.count(*I)) {
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp 1530 if (AnchorList.count(&MI))
lib/Target/ARM/ARMAsmPrinter.cpp 97 if (PromotedGlobals.count(GV))
877 if (!EmittedPromotedGlobalLabels.count(GV)) {
lib/Target/ARM/ARMCodeGenPrepare.cpp 549 if (Sources->count(V))
553 if (Sinks->count(I))
581 if (Sources->count(I) || Sinks->count(I))
581 if (Sources->count(I) || Sinks->count(I))
584 if (!shouldPromote(I) || SafeToPromote->count(I) || NewInsts.count(I))
584 if (!shouldPromote(I) || SafeToPromote->count(I) || NewInsts.count(I))
612 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources->count(V))
612 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources->count(V))
612 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources->count(V))
686 if (NewInsts.count(Src) && isa<TruncInst>(Src) &&
714 if (!isa<TruncInst>(V) || Sources->count(V))
769 if (!isa<TruncInst>(V) || Sources.count(V))
858 if (SafeToPromote.count(I))
988 if (Sources.count(V))
990 if (Sinks.count(cast<Instruction>(V)))
lib/Target/ARM/ARMConstantIslandPass.cpp 1237 NewWaterList.count(WaterBB) || WaterBB == U.MI->getParent()) &&
lib/Target/ARM/ARMISelLowering.cpp 2898 if (Copies.count(UseChain.getNode()))
3376 if (!AFI->getGlobalsPromotedToConstantPool().count(GVar) && Size > 4)
3405 if (!AFI->getGlobalsPromotedToConstantPool().count(GVar)) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp 2112 if (I->isDebugInstr() || MemOps.count(&*I))
2302 (MemOps.count(&*InsertPos) || InsertPos->isDebugInstr()))
lib/Target/ARM/ARMParallelDSP.cpp 341 return LoadPairs.count(Ld) || OffsetLoads.count(Ld);
413 if (Base == Offset || OffsetLoads.count(Offset))
525 if (AllAdds.count(&I))
lib/Target/ARM/MLxExpansionPass.cpp 237 if (IgnoreStall.count(MI))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1990 if (Ignored.count(&I) == 0 &&
2322 if (!LoopBlocks.count(PB))
lib/Target/Hexagon/HexagonStoreWidening.cpp 499 if (InstrSet.count(&I)) {
lib/Target/Hexagon/HexagonSubtarget.cpp 555 if (ExclSrc.count(I.getSUnit()) == 0 &&
563 if (ExclDst.count(I.getSUnit()) == 0 &&
lib/Target/Mips/MipsConstantIslandPass.cpp 1188 NewWaterList.count(WaterBB)) && Growth < BestGrowth) {
lib/Target/Mips/MipsDelaySlotFiller.cpp 516 return !Defs.insert(V).second || Uses.count(V) || SeenNoObjStore ||
520 return Defs.count(V) || SeenNoObjStore;
lib/Target/PowerPC/PPCBoolRetToInt.cpp 158 return !Phi || Promotable.count(Phi);
236 if (!PromotablePHINodes.count(P))
lib/Target/PowerPC/PPCCTRLoops.cpp 188 if (!Visited.count(MBB)) {
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 6268 if (!ToPromote.count(UN) && UN != ISR.getNode()) {
6318 if (!ToPromote.count(V.getNode()) && V.getValueType() == MVT::i32 &&
lib/Target/PowerPC/PPCISelLowering.cpp11894 if (!Visited.count(ChainLD->getChain().getNode()))
11898 if (!Visited.count(O.getNode()))
11929 UI->getOpcode() == ISD::TokenFactor) && !Visited.count(*UI))
12171 if (User != N && !Visited.count(User))
12195 if (User != N && !Visited.count(User))
12384 if (User != N && !Visited.count(User))
12409 if (User != N && !Visited.count(User))
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp 420 if (NewPtrs.count(Ptr))
481 if (BBChanged.count(BB))
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp 141 if (BeforeSet.count(&*std::prev(InsertPos))) {
145 assert(!AfterSet.count(&*std::prev(Pos)));
165 if (AfterSet.count(&*InsertPos)) {
169 assert(!BeforeSet.count(&*Pos));
lib/Target/WebAssembly/WebAssemblyExceptionInfo.h 69 return BlockSet.count(MBB);
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp 94 return I->second.count(To);
119 bool inRegion(MachineBasicBlock *MBB) const { return Blocks.count(MBB); }
161 assert(!Loopers.count(Entry));
202 if (!Enterers.count(Pred)) {
210 assert(!Enterers.count(MBB));
213 if (!AddedToWorkList.count(Pred)) {
396 if (!Entries.count(Entry))
411 if (Entries.count(Entry) && Pred->isLayoutSuccessor(Entry))
422 if (!Entries.count(Entry) ||
459 if (!Entries.count(Succ))
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 68 if (Visited.count(MBB))
338 if (TerminatePads.count(EHPad)) {
lib/Target/X86/X86CmovConversion.cpp 434 bool IsCMOV = CmovInstructions.count(&MI);
lib/Target/X86/X86FlagsCopyLowering.cpp 535 for (auto MII = (&UseMBB == &MBB && !VisitedBlocks.count(&UseMBB))
546 assert(&UseMBB == &MBB && VisitedBlocks.count(&MBB) &&
lib/Target/X86/X86SpeculativeLoadHardening.cpp 1058 if (!IndirectTargetMBBs.count(&MBB))
1080 if (IndirectTerminatedMBBs.count(Pred))
1774 assert(!(HardenLoadAddr.count(&MI) && HardenPostLoad.count(&MI)) &&
1774 assert(!(HardenLoadAddr.count(&MI) && HardenPostLoad.count(&MI)) &&
2165 if (HardenedInstrs.count(&UseMI)) {
lib/Transforms/Coroutines/CoroSplit.cpp 1032 if (Set.count(Pred) == 0)
lib/Transforms/IPO/ArgumentPromotion.cpp 141 if (ByValArgsToTransform.count(&*I)) {
149 } else if (!ArgsToPromote.count(&*I)) {
255 if (!ArgsToPromote.count(&*I) && !ByValArgsToTransform.count(&*I)) {
255 if (!ArgsToPromote.count(&*I) && !ByValArgsToTransform.count(&*I)) {
258 } else if (ByValArgsToTransform.count(&*I)) {
373 if (!ArgsToPromote.count(&*I) && !ByValArgsToTransform.count(&*I)) {
373 if (!ArgsToPromote.count(&*I) && !ByValArgsToTransform.count(&*I)) {
382 if (ByValArgsToTransform.count(&*I)) {
840 if (PtrValues.count(Store->getValueOperand()))
lib/Transforms/IPO/Attributor.cpp 1815 if (Visited.count(SuccBB))
lib/Transforms/IPO/ConstantMerge.cpp 100 UsedGlobals.count(GV);
lib/Transforms/IPO/FunctionAttrs.cpp 535 !SCCNodes.count(&*std::next(F->arg_begin(), UseIndex))) {
805 if (A->hasNoCaptureAttr() || ArgumentSCCNodes.count(A))
lib/Transforms/IPO/GlobalDCE.cpp 132 if (VFESafeVTables.count(GVU) && isa<Function>(&GV)) {
357 if (!AliveGlobals.count(&GV)) {
370 if (!AliveGlobals.count(&F)) {
379 if (!AliveGlobals.count(&GA)) {
387 if (!AliveGlobals.count(&GIF)) {
lib/Transforms/IPO/GlobalOpt.cpp 1133 if (LoadUsingPHIs.count(InPN))
1768 if (!GV.hasLocalLinkage() && NotDiscardableComdats.count(C))
2661 bool usedCount(GlobalValue *GV) const { return Used.count(GV); }
2664 return CompilerUsed.count(GV);
lib/Transforms/IPO/HotColdSplitting.cpp 465 bool DuplicateBlock = RegionBlocks.count(&SuccBB);
562 if (ColdBlocks.count(BB))
lib/Transforms/IPO/Inliner.cpp 603 if (SCCFunctions.count(F))
721 !SCCFunctions.count(Callee) &&
lib/Transforms/IPO/PruneEH.cpp 130 if (SCCNodes.count(CalleeNode) > 0)
lib/Transforms/IPO/SampleProfile.cpp 1052 if (VisitedBlocks.count(BB2)) {
1235 if (!VisitedBlocks.count(EC)) {
1253 } else if (NumUnknownEdges == 1 && VisitedBlocks.count(EC)) {
1266 if (VisitedBlocks.count(OtherEC) &&
1274 } else if (VisitedBlocks.count(EC) && BlockWeights[EC] == 0) {
1289 } else if (SelfReferentialEdge.first && VisitedBlocks.count(EC)) {
1301 if (UpdateBlockCount && !VisitedBlocks.count(EC) && TotalWeight > 0) {
lib/Transforms/IPO/StripSymbols.cpp 212 if (I->hasLocalLinkage() && llvmUsedValues.count(&*I) == 0)
218 if (I.hasLocalLinkage() && llvmUsedValues.count(&I) == 0)
lib/Transforms/InstCombine/InstCombinePHI.cpp 1098 if (PHIsInspected.count(OldInVal)) {
lib/Transforms/InstCombine/InstructionCombining.cpp 3495 if (Visited.count(&BB))
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2667 if (TempsToInstrument.count(Addr))
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 931 DFSanFunction DFSF(*this, i, FnsWithNativeABI.count(i));
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 387 if (WriteTargets.count(Addr)) {
lib/Transforms/ObjCARC/DependencyAnalysis.cpp 266 if (Succ != StartBB && !Visited.count(Succ)) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 1489 if (!OnStack.count(SuccBB)) {
1663 if (!NewRetainReleaseRRI.Calls.count(NewRetain))
1735 if (!NewReleaseRetainRRI.Calls.count(NewRelease))
lib/Transforms/Scalar/ADCE.cpp 517 if (AliveScopes.count(DII->getDebugLoc()->getScope()))
542 if (AliveScopes.count(DII->getDebugLoc()->getScope()))
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 365 if (!Visited.count(K) && isValidAssumeForContext(ACall, K, DT))
lib/Transforms/Scalar/CallSiteSplitting.cpp 158 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) &&
lib/Transforms/Scalar/ConstantHoisting.cpp 227 if (Node == Entry || Candidates.count(Node)) {
253 if (Candidates.count(ChildDomNode->getBlock()))
lib/Transforms/Scalar/Float2Int.cpp 374 if (Roots.count(I) == 0) {
503 if (Roots.count(I))
lib/Transforms/Scalar/GVN.cpp 1064 if (Blockers.count(TmpBB))
lib/Transforms/Scalar/GVNSink.cpp 707 if (PHIContents.count(V))
lib/Transforms/Scalar/GuardWidening.cpp 501 if (!Inst || DT.dominates(Inst, Loc) || Visited.count(Inst))
lib/Transforms/Scalar/InstSimplifyPass.cpp 47 if (!ToSimplify->empty() && !ToSimplify->count(&I))
lib/Transforms/Scalar/JumpThreading.cpp 239 if (Visited.count(SinglePredBB))
395 if (Unreachable.count(&BB))
722 if (!LHSKnownBBs.count(RHSVal.second))
1458 if (!AvailablePredSet.count(P))
lib/Transforms/Scalar/LICM.cpp 614 if (TrueDestSucc.count(FalseDest)) {
616 } else if (FalseDestSucc.count(TrueDest)) {
628 auto IsSucc = [&](BasicBlock &BB) { return TrueDestSucc.count(&BB); };
1501 assert(ExitBlockSet.count(ExitBB) && "Expect the PHI is in an exit block.");
1585 if (VisitedUsers.count(User) || CurLoop->contains(User))
1648 assert(ExitBlockSet.count(PN->getParent()) &&
lib/Transforms/Scalar/LoopDistribute.cpp 220 if (!Set.count(&Inst)) {
lib/Transforms/Scalar/LoopFuse.cpp 448 bool isRemovedLoop(const Loop *L) const { return RemovedLoops.count(L); }
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 773 if (TransformedStores.count(I))
882 if (IgnoredStores.count(&I) == 0 &&
lib/Transforms/Scalar/LoopInstSimplify.cpp 100 if (!IsFirstIteration && !ToSimplify->count(&I))
117 if (VisitedPHIs.count(UserPI)) {
lib/Transforms/Scalar/LoopLoadElimination.cpp 225 return LoadsWithUnknownDepedence.count(C.Load);
316 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) ||
317 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1)));
lib/Transforms/Scalar/LoopRerollPass.cpp 693 if (!Final.count(I))
702 if (L->contains(User) && !Exclude.count(User)) {
711 if (Op->hasOneUse() && L->contains(Op) && !Exclude.count(Op) &&
712 !Final.count(Op))
1082 Exclude.count(I->first) != 0))
1392 if ((!PossibleRedLastSet.count(BaseInst) &&
1394 (!PossibleRedLastSet.count(RootInst) &&
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 231 if (!LiveLoopBlocks.count(BB)) {
266 if (!LiveExitBlocks.count(ExitBlock) &&
273 if (!LiveLoopBlocks.count(From))
296 return BlocksInLoopAfterFolding.count(Succ) && IsEdgeLive(BB, Succ);
306 assert(BlocksInLoopAfterFolding.count(L.getHeader()) &&
lib/Transforms/Scalar/LoopStrengthReduce.cpp 1286 if (!Regs.count(AR->getOperand(1))) {
1311 if (LoserRegs && LoserRegs->count(Reg)) {
1585 if (!Regs.count(S))
3250 if (IVIncSet.count(UseI)) {
4732 if (UniqRegs.count(Reg))
4736 if (!LU.Regs.count(Reg))
4767 if (UniqRegs.count(BaseReg))
4775 if (!UniqRegs.count(ScaledReg)) {
4828 if (Taken.count(Reg))
4851 if (!LU.Regs.count(Best)) continue;
4916 if (LU.Regs.count(S))
5077 if (LF.PostIncLoops.count(L)) {
lib/Transforms/Scalar/LoopUnrollPass.cpp 517 if (isa<DbgInfoIntrinsic>(I) || EphValues.count(&I))
1367 return OldLoops.count(SibLoop) != 0;
lib/Transforms/Scalar/LoopUnswitch.cpp 346 return (*CurLoopInstructions)[SI].count(V);
lib/Transforms/Scalar/NewGVN.cpp 212 if (!InComponent.count(Op))
391 [&](const Value *V) { return Other->Members.count(V); });
1510 if (!ReachableBlocks.count(DefiningInst->getParent()))
3087 !isa<VariableExpression>(Symbolized) && PHINodeUses.count(I)) {
3133 if (Visited.count(First))
3195 bool Result = ReachableBlocks.count(Pair.first->getBlock());
3372 bool BlockReachable = ReachableBlocks.count(CurrBlock);
3484 return !ReachableBlocks.count(&BB);
3609 if (InstructionsToErase.count(I))
3626 if (ReachableBlocks.count(IBlock) == 0)
3887 assert((!ReachableBlocks.count(cast<Instruction>(M)->getParent()) ||
3888 InstructionsToErase.count(cast<Instruction>(M))) &&
4030 if (InstructionsToErase.count(InstUse)) {
4093 !InstructionsToErase.count(cast<Instruction>(Member)))
lib/Transforms/Scalar/Reassociate.cpp 533 assert(It != Leaves.end() && Visited.count(Op) &&
700 if (BO && !NotRewritable.count(BO))
706 if (BO && !NotRewritable.count(BO))
731 if (BO && !NotRewritable.count(BO))
745 if (BO && !NotRewritable.count(BO)) {
lib/Transforms/Scalar/SCCP.cpp 323 return MustTailCallees.count(F);
333 return TrackingIncomingArguments.count(F);
347 return BBExecutable.count(BB);
579 if (BBExecutable.count(I->getParent())) // Inst is executable?
853 if (MRVFunctionsTracked.count(F))
1309 if (!TrackingIncomingArguments.empty() && TrackingIncomingArguments.count(F)){
1347 if (!MRVFunctionsTracked.count(F))
1437 if (!BBExecutable.count(&BB))
1450 if (MRVFunctionsTracked.count(F))
lib/Transforms/Scalar/SROA.cpp 857 if (VisitedDeadInsts.count(&II))
3759 if (UnsplittableLoads.count(LI))
3798 return UnsplittableLoads.count(LI);
3805 return UnsplittableLoads.count(LI);
4097 [&](AllocaInst *AI) { return ResplitPromotableAllocas.count(AI); }),
4584 auto IsInSet = [&](AllocaInst *AI) { return DeletedAllocas.count(AI); };
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 1274 assert(BlocksInClonedLoop.count(BB) &&
1305 if (!ClonedBB || !BlocksInClonedLoop.count(ClonedBB))
1328 if (!ClonedChildHeader || !BlocksInClonedLoop.count(ClonedChildHeader))
1335 assert(BlocksInClonedLoop.count(
1356 if (!BlocksInClonedLoop.count(ClonedBB))
1391 (BlocksInClonedLoop.count(PredBB) || ExitLoopMap.count(PredBB)) &&
1435 if (!ClonedChildHeader || BlocksInClonedLoop.count(ClonedChildHeader))
1600 assert(LoopBlockSet.count(BB) && "Didn't put block into the loop set!");
1632 assert(LoopBlockSet.count(InnerBB) &&
1653 assert(LoopBlockSet.count(Header) && "Cannot fail to add the header!");
1728 [&](BasicBlock *BB) { return LoopBlockSet.count(BB); });
1755 return UnloopedBlocks.count(BB);
1789 assert((NewExitLoopBlocks.count(PredBB) ||
1838 return LoopBlockSet.count(SubL->getHeader());
2637 if (EphValues.count(&I))
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 129 if (PotentialSpecSet.count(OpI))
134 if (UnsafeSet.count(OpI) || ParentBB != PhiBB ||
171 assert(PotentialSpecSet.count(I) &&
455 return !PotentialSpecSet.count(I) || SpecCostMap.count(I);
598 return !PotentialSpecSet.count(I) ||
599 SpecSet.count(I);
lib/Transforms/Scalar/SpeculativeExecution.cpp 259 if (NotHoisted.count(I) > 0)
289 if (!NotHoisted.count(&*Current)) {
lib/Transforms/Scalar/StructurizeCFG.cpp 388 if (Visited.count(Exit))
397 if (Visited.count(Succ))
469 if (Visited.count(P)) {
474 if (Visited.count(Other) && !Loops.count(Other) &&
498 if (Visited.count(Entry))
828 while (!Order.empty() && !Visited.count(LoopEnd) &&
853 while (!Visited.count(LoopEnd)) {
lib/Transforms/Scalar/TailRecursionElimination.cpp 236 if (Tracker.EscapePoints.count(&I))
275 if (!IsNoTail && Escaped == UNESCAPED && !Tracker.AllocaUsers.count(CI)) {
lib/Transforms/Utils/BasicBlockUtils.cpp 101 assert(Dead.count(Pred) && "All predecessors must be dead!");
128 if (!Reachable.count(&*I)) {
542 if (!PredSet.count(PN->getIncomingBlock(i)))
563 if (PredSet.count(PN->getIncomingBlock(i)))
584 if (PredSet.count(IncomingBB)) {
lib/Transforms/Utils/FlattenCFG.cpp 165 if (UnCondBlock || !PP || (Preds.count(PP) == 0) ||
181 if (PP && Preds.count(PP)) {
218 if (Preds.count(PS) == 0) {
lib/Transforms/Utils/FunctionImportUtils.cpp 88 if (Used.count(const_cast<GlobalValue *>(&GV)))
lib/Transforms/Utils/InlineFunction.cpp 476 assert(!MemoMap.count(UselessPad) || TempMemos.count(UselessPad));
1091 if (!ObjSet.count(A) && (!CanDeriveViaCapture ||
1126 if (ObjSet.count(A))
lib/Transforms/Utils/Local.cpp 783 if (BBPreds.count(IBB) &&
801 if (BBPreds.count(IBB) &&
1765 if (DeleteOrSalvage.count(DII))
lib/Transforms/Utils/LoopUnrollAndJam.cpp 76 if (!ForeBlocks.count(TI->getSuccessor(i)))
107 if (AftBlocks.count(I->getParent()))
126 if (AftBlocks.count(I->getParent()))
323 if (ForeBlocks.count(*BB)) {
330 } else if (SubLoopBlocks.count(*BB)) {
337 } else if (AftBlocks.count(*BB)) {
795 if (AftBlocks.count(I->getParent())) {
lib/Transforms/Utils/LowerSwitch.cpp 166 if (DeleteList.count(Cur))
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 788 if (!DefBlocks.count(BB))
830 if (DefBlocks.count(P))
lib/Transforms/Utils/SSAUpdaterBulk.cpp 117 if (DefBlocks.count(P))
lib/Transforms/Utils/SimplifyCFG.cpp 243 if (SI1Succs.count(Succ))
286 if (SI1Succs.count(Succ))
375 if (AggressiveInsts.count(I))
880 if (DeadCases.count(i->getCaseValue())) {
1784 if (InstructionsToSink.count(V) == 0)
2383 if (!AggressiveInsts.count(&*I) && !isa<DbgInfoIntrinsic>(I)) {
2396 if (!AggressiveInsts.count(&*I) && !isa<DbgInfoIntrinsic>(I)) {
5814 (LoopHeaders->count(BB) || LoopHeaders->count(Succ)));
5814 (LoopHeaders->count(BB) || LoopHeaders->count(Succ)));
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 533 if (!InstructionsToMove.count(&*BBI))
720 if (!VectorizableChainInstrs.count(Chain[ChainIdx]))
902 if (InstructionsProcessed.count(Instrs[Head]))
907 !InstructionsProcessed.count(Instrs[Heads[TIt]])) {
919 if (InstructionsProcessed.count(Instrs[I]))
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 395 if (!AllowedExit.count(Inst))
862 return (Inst && InductionCastsToIgnore.count(Inst));
870 return FirstOrderRecurrences.count(Phi);
893 if (!SafePtrs.count(LI->getPointerOperand())) {
1207 if (ReductionLiveOuts.count(AE))
lib/Transforms/Vectorize/SLPVectorizer.cpp 2209 if (EphValues.count(V)) {
2250 if (MustGather.count(V) || is_contained(UserIgnoreList, V)) {
3469 if (EphValues.count(EU.User))
4964 if (!Visited.count(J))
4997 if (!I || !I->hasOneUse() || !Expr.count(I))
5087 if (!Root->hasOneUse() || Expr.count(*Root->user_begin()))
5438 while ((Tails.count(I) || Heads.count(I)) && !VectorizedStores.count(I)) {
6903 if (!VisitedInstrs.count(P) && !R.isDeleted(P))
lib/Transforms/Vectorize/VPlanHCFGTransforms.cpp 51 if (DeadInstructions.count(Inst)) {
tools/bugpoint/CrashDebugger.cpp 401 if (!Visited.count(&BB))
409 if (Visited.count(Successor))
465 if (!Blocks.count(&BB) && BB.getTerminator()->getNumSuccessors()) {
497 if (!Blocks.count(&BB))
585 if (!Blocks.count(&BB)) {
604 if (!Blocks.count(&BB))
695 if (!Blocks.count(&*BBIt)) {
779 if (!Instructions.count(Inst) && !Inst->isTerminator() &&
924 if (OldMDNodeOps.count(op))
tools/clang/include/clang/Sema/Scope.h 324 return DeclsInScope.count(D) != 0;
tools/clang/include/clang/Sema/ScopeInfo.h 985 return NonODRUsedCapturingExprs.count(CapturingVarExpr);
tools/clang/lib/ARCMigrate/ObjCMT.cpp 854 if (!ExplicitProtocols.count(ProtDecl))
tools/clang/lib/AST/ASTContext.cpp 8293 if (RHSProtocolSet.count(proto))
8308 return ImpliedProtocols.count(proto) > 0;
tools/clang/lib/AST/CXXInheritance.cpp 296 VisitedDependentRecords.count(BaseRecord)) {
tools/clang/lib/AST/DeclCXX.cpp 605 if (Bases.count(RD))
1538 bool Hidden = ParentHiddenTypes.count(ConvType);
1615 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())))
tools/clang/lib/AST/OpenMPClause.cpp 892 if (Cache.count(VD))
tools/clang/lib/AST/RecordLayoutBuilder.cpp 820 if (!IndirectPrimaryBases.count(Base)) {
1022 assert(!VisitedVirtualBases.count(PrimaryBase) &&
1140 bool IndirectPrimaryBase = IndirectPrimaryBases.count(BaseDecl);
2872 bool HasVtordisp = HasVtorDispSet.count(BaseDecl) > 0;
2942 if (BasesWithOverriddenMethods.count(RD))
3013 if (!HasVtordispSet.count(BaseDecl) &&
tools/clang/lib/AST/VTableBuilder.cpp 1845 !PrimaryVirtualBases.count(BaseDecl) &&
3219 if (A.count(Decl))
3263 if (B.isVirtual() && VBasesSeen.count(Base))
tools/clang/lib/Analysis/CFG.cpp 360 if (ScopesOfL.count(F.Scope))
5858 if (!isImmediateSinkBlock(SuccBlk) && !Visited.count(SuccBlk)) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 268 if (SingleEscaped.count(VD)) {
2302 bool EscapedParam = I->getSecond().EscapedParameters.count(Rec.first);
tools/clang/lib/CodeGen/CodeGenTypes.cpp 283 if (RecordsWithOpaqueMemberPointers.count(Ty)) {
359 if (FunctionsBeingProcessed.count(FI)) {
tools/clang/lib/CodeGen/CodeGenTypes.h 310 return RecordsBeingLaidOut.count(Ty);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 3612 if (Bases.NonVirtualBases.count(BaseDecl))
3622 if (Bases.VirtualBases.count(BaseDecl))
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 3557 if (AmbiguousBases.count(Class.RD))
tools/clang/lib/Format/TokenAnnotator.cpp 78 if (NonTemplateLess.count(CurrentToken->Previous))
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 1273 if (ObjCSynthesizedStructs.count(const_cast<ObjCInterfaceDecl*>(IDecl)))
1377 if (ObjCSynthesizedStructs.count(ClassDecl))
1386 if (!ObjCWrittenInterfaces.count(ClassDecl->getCanonicalDecl())) {
3649 if (GlobalDefinedTags.count(RD)) {
3666 if (GlobalDefinedTags.count(ED)) {
3741 if (GlobalDefinedTags.count(TD))
3894 (!RCDecl || !ObjCSynthesizedStructs.count(RCDecl))) {
3922 if (RCDecl && ObjCSynthesizedStructs.count(RCDecl)) {
4149 if (BlockByRefDeclsPtrSet.count(VD))
4166 if (BlockByRefDeclsPtrSet.count(VD))
4343 if (!BlockByCopyDeclsPtrSet.count(VD)) {
4350 if (!BlockByRefDeclsPtrSet.count(VD)) {
4492 if (!InnerContexts.count(DRE->getDecl()->getDeclContext()))
4701 if (!ImportedLocalExternalDecls.count(Var))
5165 if (!BlockByCopyDeclsPtrSet.count(BlockDeclRefs[i]->getDecl())) {
5173 if (!BlockByRefDeclsPtrSet.count(BlockDeclRefs[i]->getDecl())) {
5209 if (!VD->hasAttr<BlocksAttr>() && !BlockByCopyDeclsPtrSet.count(VD)) {
5218 if (VD->hasAttr<BlocksAttr>() && !BlockByRefDeclsPtrSet.count(VD)) {
6839 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl()))
7117 if (!ObjCSynthesizedStructs.count(CDecl)) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 1105 if (ObjCSynthesizedStructs.count(const_cast<ObjCInterfaceDecl*>(IDecl)))
1199 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) {
3091 if (ObjCSynthesizedStructs.count(CDecl))
3104 (!RCDecl || !ObjCSynthesizedStructs.count(RCDecl))) {
3153 if (RCDecl && ObjCSynthesizedStructs.count(RCDecl)) {
3359 if (BlockByRefDeclsPtrSet.count(VD))
3376 if (BlockByRefDeclsPtrSet.count(VD))
3555 if (!VD->hasAttr<BlocksAttr>() && !BlockByCopyDeclsPtrSet.count(VD)) {
3559 if (VD->hasAttr<BlocksAttr>() && !BlockByRefDeclsPtrSet.count(VD)) {
3679 if (!InnerContexts.count(DRE->getDecl()->getDeclContext()))
3870 if (!ImportedLocalExternalDecls.count(Var))
4319 if (!BlockByCopyDeclsPtrSet.count(BlockDeclRefs[i]->getDecl())) {
4327 if (!BlockByRefDeclsPtrSet.count(BlockDeclRefs[i]->getDecl())) {
4362 if (!VD->hasAttr<BlocksAttr>() && !BlockByCopyDeclsPtrSet.count(VD)) {
4371 if (VD->hasAttr<BlocksAttr>() && !BlockByRefDeclsPtrSet.count(VD)) {
5090 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl()))
5480 if (!ObjCSynthesizedStructs.count(CDecl))
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 1063 if (FE && ParsedFileCache.count(FE))
tools/clang/lib/Lex/ModuleMap.cpp 2261 if (UsesRequiresExcludedHack.count(ActiveModule)) {
2413 if (UsesRequiresExcludedHack.count(ActiveModule)) {
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 1107 if (!ReachableBlocks.count(P)) {
tools/clang/lib/Sema/SemaChecking.cpp12303 !getCurFunction()->ModifiedNonNullParams.count(PV)) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 4252 if (Enumerators.Seen.count(E))
tools/clang/lib/Sema/SemaDecl.cpp 6123 assert(S.ParsingInitForAutoVars.count(&ND) == 0);
8380 if (ValidTypes.count(PT.getTypePtr()))
8492 if (ValidTypes.count(QT.getTypePtr()))
12001 if (ParsingInitForAutoVars.count(D)) {
13406 if (TypoCorrectedFunctionDefinitions.count(Definition))
tools/clang/lib/Sema/SemaDeclAttr.cpp 1037 if (Parms.count(PVD)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp 1933 if (!Inits.count(Field)) {
1952 if (!RD->isUnion() || Inits.count(I))
2699 if (IndirectBaseTypes.count(CanonicalBase)) {
3567 BaseClasses.count(T->getPointeeType())) {
3574 if (!Decls.count(FoundVD))
5026 bool IsInheritedVirtualBase = !DirectVBases.count(&VBase);
5462 if (DirectVirtualBases.count(RT))
5537 if (PureVirtualClassDiagSet && PureVirtualClassDiagSet->count(RD))
8196 return Methods.count(MD->getCanonicalDecl());
10942 return !Bases.count(Base);
10947 if (Bases.count(cast<CXXRecordDecl>(NamedContext)) ||
15870 Target->isInvalidDecl() || Valid.count(TCanonical)) {
15874 } else if (TCanonical == Canonical || Invalid.count(TCanonical) ||
15875 Current.count(TCanonical)) {
15877 if (!Invalid.count(TCanonical)) {
tools/clang/lib/Sema/SemaDeclObjC.cpp 1499 if (knownProtocols.count(static_cast<ObjCProtocolDecl *>(proto)) == 0) {
2723 if (InsMap.count(fISelector))
2744 !InsMap.count(method->getSelector()) &&
2776 !ClsMap.count(method->getSelector()) &&
2819 !InsMap.count(I->getSelector())) {
2846 !ClsMap.count(I->getSelector())) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp 583 if (OldTypes.count(TypePtr))
tools/clang/lib/Sema/SemaExpr.cpp 55 if (ParsingInitForAutoVars.count(D))
241 if (ParsingInitForAutoVars.count(D)) {
12515 if (!FD->ModifiedNonNullParams.count(Param))
tools/clang/lib/Sema/SemaExprMember.cpp 35 return !Bases.count(Base->getCanonicalDecl());
tools/clang/lib/Sema/SemaLookup.cpp 2594 if (TagDecls.count(F.next()))
3633 return VisitedContexts.count(Ctx);
tools/clang/lib/Sema/SemaObjCProperty.cpp 2281 if (!InitSelSet.count(MD->getSelector())) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp 3922 PendingDefinitions.count(Class))
tools/clang/lib/Serialization/ModuleManager.cpp 239 return victimSet.count(MF);
389 if (!ModuleFilesHit->count(M))
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp 78 if (!reachable.count(CB)) {
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 2345 if (SuperRegions.count(MR)) {
2354 if (Invalidated.count(Super)) {
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp 196 if (Escaped.count(V))
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 952 if (isAnnotatedAsReturningLocalized(D) || LSF.count(Identifier) != 0) {
tools/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp 225 if (AllocFunctions.count(FunI) == 0)
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 1198 if (WhitelistedSymbols.count(sym))
tools/clang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp 117 return VforkWhitelist.count(II);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 2306 return InterestingLocationContexts.count(LC);
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 398 if (!FramesModifyingCalculated.count(SCtx))
400 return FramesModifyingRegion.count(SCtx);
tools/clang/lib/StaticAnalyzer/Core/Environment.cpp 220 if (FoundContexts.count(LC) == 0) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 744 return Visited.count(getCluster(R));
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 621 if (ProcessedFuncRefs.count(FuncRef))
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp 126 if (FriendTypes.count(CurDecl->getTypeForDecl()) != 0) {
tools/clang/tools/extra/clang-tidy/bugprone/SwappedArgumentsCheck.cpp 60 if (UsedArgs.count(RHS))
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 120 if (Visited.count(Block))
197 if (!ReinitDeclRefs.count(DeclRef))
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 76 if (DeclsToInit.count(Decl))
195 if (DeclsToInit.count(D) > 0)
207 if (DeclsToInit.count(D) > 0)
456 if (!FieldsToInit.count(F))
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp 165 if (Context.UsingTargetDecls.count(D->getCanonicalDecl()) > 0)
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp 27 if (S2.count(E) == 0)
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp 115 if (CallStack.count(Func))
tools/clang/tools/extra/clangd/XRefs.cpp 385 if (isInsideMainFile(Loc, SM) && CanonicalTargets.count(D))
tools/lld/COFF/SymbolTable.cpp 322 if (undefs.count(b))
339 if (undefs.count(sym)) {
tools/lldb/include/lldb/Utility/SharedCluster.h 67 if (0 == m_objects.count(desired_object)) {
tools/llvm-extract/llvm-extract.cpp 328 if (!GVSet.count(&F))
tools/polly/lib/Analysis/DependenceInfo.cpp 140 if (ReductionArrays.count(MA->getScopArrayInfo())) {
tools/polly/lib/Analysis/ScopBuilder.cpp 920 return FinishedExitBlocks.count(SuccBB);
951 if (FinishedExitBlocks.count(SuccBB))
tools/polly/lib/CodeGen/IRBuilder.cpp 242 if (InterIterationAliasFreeBasePtrs.count(BasePtr)) {
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 370 if (Inserted.count(I.first))
tools/polly/lib/Transform/DeLICM.cpp 1058 if (Closed.count(SAI))
tools/polly/lib/Transform/Simplify.cpp 369 if (!TouchedAccesses.count(MA))
tools/polly/lib/Transform/ZoneAlgo.cpp 517 if (Visited.count(Cur))
902 if (RecursivePHIs.count(PHI))
unittests/ADT/DirectedGraphTest.cpp 282 EXPECT_TRUE(SCC.count(&N4) == 1);
288 EXPECT_TRUE(SCC.count(&N1) == 1);
289 EXPECT_TRUE(SCC.count(&N2) == 1);
290 EXPECT_TRUE(SCC.count(&N3) == 1);
291 EXPECT_TRUE(SCC.count(&N4) == 0);
unittests/ADT/SmallPtrSetTest.cpp 36 EXPECT_TRUE(s1.count(&buf[i]));
38 EXPECT_FALSE(s1.count(&buf[i]));
45 EXPECT_FALSE(s2.count(&buf[i]));
47 EXPECT_TRUE(s2.count(&buf[i]));
117 EXPECT_TRUE(s1.count(&buf[i]));
119 EXPECT_FALSE(s1.count(&buf[i]));
125 EXPECT_TRUE(s2.count(&buf[i]));
127 EXPECT_FALSE(s2.count(&buf[i]));
134 EXPECT_TRUE(s1.count(&buf[i]));
136 EXPECT_FALSE(s1.count(&buf[i]));
143 EXPECT_TRUE(s3.count(&buf[i]));
145 EXPECT_FALSE(s3.count(&buf[i]));
157 EXPECT_TRUE(s1.count(&buf[i]));
164 EXPECT_TRUE(s3.count(&buf[i]));
179 EXPECT_TRUE(a.count(&buf[0]));
180 EXPECT_TRUE(a.count(&buf[1]));
181 EXPECT_FALSE(a.count(&buf[2]));
182 EXPECT_FALSE(a.count(&buf[3]));
183 EXPECT_FALSE(b.count(&buf[0]));
184 EXPECT_FALSE(b.count(&buf[1]));
185 EXPECT_TRUE(b.count(&buf[2]));
186 EXPECT_FALSE(b.count(&buf[3]));
192 EXPECT_FALSE(a.count(&buf[0]));
193 EXPECT_FALSE(a.count(&buf[1]));
194 EXPECT_TRUE(a.count(&buf[2]));
195 EXPECT_FALSE(a.count(&buf[3]));
196 EXPECT_TRUE(b.count(&buf[0]));
197 EXPECT_TRUE(b.count(&buf[1]));
198 EXPECT_FALSE(b.count(&buf[2]));
199 EXPECT_FALSE(b.count(&buf[3]));
206 EXPECT_TRUE(a.count(&buf[0]));
207 EXPECT_TRUE(a.count(&buf[1]));
208 EXPECT_FALSE(a.count(&buf[2]));
209 EXPECT_TRUE(a.count(&buf[3]));
210 EXPECT_FALSE(b.count(&buf[0]));
211 EXPECT_FALSE(b.count(&buf[1]));
212 EXPECT_TRUE(b.count(&buf[2]));
213 EXPECT_FALSE(b.count(&buf[3]));
219 EXPECT_FALSE(a.count(&buf[0]));
220 EXPECT_FALSE(a.count(&buf[1]));
221 EXPECT_TRUE(a.count(&buf[2]));
222 EXPECT_FALSE(a.count(&buf[3]));
223 EXPECT_TRUE(b.count(&buf[0]));
224 EXPECT_TRUE(b.count(&buf[1]));
225 EXPECT_FALSE(b.count(&buf[2]));
226 EXPECT_TRUE(b.count(&buf[3]));
236 EXPECT_TRUE(b.count(&buf[2]));
237 EXPECT_TRUE(b.count(&buf[4]));
238 EXPECT_TRUE(b.count(&buf[5]));
239 EXPECT_TRUE(b.count(&buf[6]));
240 EXPECT_TRUE(a.count(&buf[0]));
241 EXPECT_TRUE(a.count(&buf[1]));
242 EXPECT_TRUE(a.count(&buf[3]));
314 EXPECT_EQ(IntSet.count(B), 1u);
315 EXPECT_EQ(IntSet.count(C), 1u);
329 EXPECT_EQ(IntSet.count(Pair), 1u);
unittests/Analysis/PhiValuesTest.cpp 58 EXPECT_TRUE(Vals.count(Val1));
59 EXPECT_TRUE(Vals.count(Val2));
62 EXPECT_TRUE(Vals.count(Val1));
63 EXPECT_TRUE(Vals.count(Val3));
70 EXPECT_TRUE(Vals.count(Val4));
71 EXPECT_TRUE(Vals.count(Val2));
74 EXPECT_TRUE(Vals.count(Val4));
75 EXPECT_TRUE(Vals.count(Val3));
82 EXPECT_TRUE(Vals.count(Val1));
83 EXPECT_TRUE(Vals.count(Val2));
134 EXPECT_TRUE(Vals.count(Val1));
135 EXPECT_TRUE(Vals.count(Val2));
138 EXPECT_TRUE(Vals.count(Val2));
139 EXPECT_TRUE(Vals.count(Val3));
142 EXPECT_TRUE(Vals.count(Val1));
143 EXPECT_TRUE(Vals.count(Val2));
144 EXPECT_TRUE(Vals.count(Val3));
151 EXPECT_TRUE(Vals.count(Val4));
152 EXPECT_TRUE(Vals.count(Val2));
155 EXPECT_TRUE(Vals.count(Val2));
156 EXPECT_TRUE(Vals.count(Val3));
159 EXPECT_TRUE(Vals.count(Val4));
160 EXPECT_TRUE(Vals.count(Val2));
161 EXPECT_TRUE(Vals.count(Val3));
168 EXPECT_TRUE(Vals.count(Val4));
169 EXPECT_TRUE(Vals.count(Val2));
172 EXPECT_TRUE(Vals.count(Val2));
173 EXPECT_TRUE(Vals.count(Val3));
176 EXPECT_TRUE(Vals.count(Val1));
177 EXPECT_TRUE(Vals.count(Val3));
184 EXPECT_TRUE(Vals.count(Val4));
185 EXPECT_TRUE(Vals.count(Val2));
188 EXPECT_TRUE(Vals.count(Val2));
189 EXPECT_TRUE(Vals.count(Val3));
192 EXPECT_TRUE(Vals.count(Val1));
193 EXPECT_TRUE(Vals.count(Val2));
194 EXPECT_TRUE(Vals.count(Val3));
203 EXPECT_TRUE(Vals.count(Val4));
204 EXPECT_TRUE(Vals.count(Val2));
207 EXPECT_TRUE(Vals.count(Val1));
208 EXPECT_TRUE(Vals.count(Val2));
utils/TableGen/RegisterBankEmitter.cpp 176 if (VisitedRCs.count(RC))