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

References

include/llvm/ADT/SmallBitVector.h
  250       if (count() == getSmallSize())
  261       if (count() == getSmallSize())
lib/Analysis/DependenceAnalysis.cpp
  944   unsigned N = Loops.count();
  949   if (N == 2 && (SrcLoops.count() == 0 ||
  950                  DstLoops.count() == 0 ||
  951                  (SrcLoops.count() == 1 && DstLoops.count() == 1)))
  951                  (SrcLoops.count() == 1 && DstLoops.count() == 1)))
 3575         if (Pair[SI].Group.count() == 1) {
 3628   if (Coupled.count()) {
 3912         if (Pair[SI].Group.count() == 1)
 3946   if (Coupled.count()) {
lib/Target/X86/X86ISelLowering.cpp
14680   if (LaneInputs[0].count() <= 1 && LaneInputs[1].count() <= 1)
14680   if (LaneInputs[0].count() <= 1 && LaneInputs[1].count() <= 1)
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  222   OS << "[NumUses=" << UsedByIndices.count() << ']';
 4145           UsedByIndicesMap[Reg].count() == 1) {
 4615         FARegNum += (NumUses - UsedByIndices.count() + 1);
 4620         FBRegNum += (NumUses - UsedByIndices.count() + 1);
 4832         BestNum = RegUses.getUsedByIndices(Reg).count();
 4834         unsigned Count = RegUses.getUsedByIndices(Reg).count();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
  110       return I->second.VisitedBasicBlocks.count();
  130         return ((I->second.VisitedBasicBlocks.count() * 100) /
tools/clang/lib/Sema/SemaTemplate.cpp
 3789     unsigned NumNonDeducible = DeducibleParams.size() - DeducibleParams.count();
 3825     unsigned NumNonDeducible = DeducibleParams.size() - DeducibleParams.count();
tools/clang/lib/StaticAnalyzer/Core/FunctionSummary.cpp
   28     Total += I.second.VisitedBasicBlocks.count();
tools/lldb/source/Symbol/TypeSystem.cpp
   36   if (bitvector.count() == 1)
   42 size_t LanguageSet::Size() const { return bitvector.count(); }
unittests/ADT/BitVectorTest.cpp
   27   EXPECT_EQ(0U, Vec.count());
   35   EXPECT_EQ(5U, Vec.count());
   43   EXPECT_EQ(5U, Vec.count());
   52   EXPECT_EQ(6U, Inv.count());
   78   EXPECT_EQ(Count, Vec.count());
   91   EXPECT_TRUE(Vec.count() == 3);
  108   EXPECT_EQ(Count, Vec.count());
  117   EXPECT_EQ(Count + 1, Vec.count());
  120   EXPECT_EQ(Count, Vec.count());
  124   EXPECT_EQ(Count - 1, Vec.count());
  127   EXPECT_EQ(Count, Vec.count());
  130   EXPECT_EQ(Vec.size() - Count, Vec.count());
  133   EXPECT_EQ(0U, Vec.count());
  141   EXPECT_EQ(130U, Vec.count());
  149   EXPECT_EQ(64U, Vec.count());
  157   EXPECT_EQ(0U, Vec.count());
  165   EXPECT_EQ(0U, Inv.count());
  173   EXPECT_EQ(0U, Vec.count());
  212   EXPECT_EQ(100U, A.count());
  220   EXPECT_EQ(0U, A.count());
  468   EXPECT_EQ(4U, A.count());
  480   EXPECT_EQ(2U, A.count());
  489   EXPECT_EQ(98U, A.count());
  511     EXPECT_EQ(1u, Small.count());
  534     EXPECT_EQ(1u, Big.count());
  560     EXPECT_EQ(4u, Small.count());
  583     EXPECT_EQ(4u, Big.count());
  605     EXPECT_EQ(3u, Small.count());
  627     EXPECT_EQ(3u, Big.count());
  647     EXPECT_EQ(1u, Small.count());
  668     EXPECT_EQ(2u, Big.count());
  733   EXPECT_EQ(Vec.size(), Vec.count());
  751   EXPECT_EQ(1u, A.count());
  755   EXPECT_EQ(1u, A.count());
  757   EXPECT_EQ(1u, A.count());
  761   EXPECT_EQ(2u, A.count());
  765   EXPECT_EQ(4u, A.count());
  768   EXPECT_EQ(32u+3u, A.count());
  771   EXPECT_EQ(65u, A.count());
  774   EXPECT_EQ(65u, A.count());
  779   EXPECT_EQ(96u-5u, A.count());
  782   EXPECT_EQ(64-4u, A.count());
  835   EXPECT_EQ(4U, A.count());
  861   EXPECT_EQ(22U, A.count());
 1059   EXPECT_EQ((size_t)0, A.count());
 1126   EXPECT_EQ(0U, Vec.count());
 1131   EXPECT_EQ(1U, Vec.count());
 1136   EXPECT_EQ(1U, Vec.count());
 1141   EXPECT_EQ(2U, Vec.count());
 1150   EXPECT_EQ(102U, Vec.count());