Searched refs:NumInstances (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | IntrusiveRefCntPtrTest.cpp | 17 SimpleRefCounted() { ++NumInstances; } in SimpleRefCounted() 19 ++NumInstances; in SimpleRefCounted() 21 ~SimpleRefCounted() { --NumInstances; } in ~SimpleRefCounted() 23 static int NumInstances; member 25 int SimpleRefCounted::NumInstances = 0; member in llvm::__anon09aff92f0111::SimpleRefCounted 29 EXPECT_EQ(0, SimpleRefCounted::NumInstances); in TEST() 35 EXPECT_EQ(2, SimpleRefCounted::NumInstances); in TEST() 37 EXPECT_EQ(0, SimpleRefCounted::NumInstances); in TEST()
|
/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 280 unsigned NumInstances; member 284 PerRecordStats() : NumInstances(0), NumAbbrev(0), TotalBits(0) {} in PerRecordStats() 289 unsigned NumInstances; member 308 : NumInstances(0), NumBits(0), in PerBlockIDStats() 332 BlockStats.NumInstances++; in ParseBlock() 420 BlockStats.CodeFreq[Code].NumInstances++; in ParseBlock() 557 errs() << " Num Instances: " << Stats.NumInstances << "\n"; in AnalyzeBitcode() 563 if (Stats.NumInstances > 1) { in AnalyzeBitcode() 565 PrintSize(Stats.NumBits/(double)Stats.NumInstances); in AnalyzeBitcode() 568 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode() [all …]
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 379 unsigned NumInstances; member 383 PerRecordStats() : NumInstances(0), NumAbbrev(0), TotalBits(0) {} in PerRecordStats() 388 unsigned NumInstances; member 407 : NumInstances(0), NumBits(0), in PerBlockIDStats() 482 BlockStats.NumInstances++; in ParseBlock() 578 BlockStats.CodeFreq[Code].NumInstances++; in ParseBlock() 842 outs() << " Num Instances: " << Stats.NumInstances << "\n"; in AnalyzeBitcode() 848 if (Stats.NumInstances > 1) { in AnalyzeBitcode() 850 PrintSize(Stats.NumBits/(double)Stats.NumInstances); in AnalyzeBitcode() 853 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 411 unsigned NumInstances; member 415 PerRecordStats() : NumInstances(0), NumAbbrev(0), TotalBits(0) {} in PerRecordStats() 420 unsigned NumInstances; member 439 : NumInstances(0), NumBits(0), in PerBlockIDStats() 508 BlockStats.NumInstances++; in ParseBlock() 611 BlockStats.CodeFreq[Code].NumInstances++; in ParseBlock() 919 outs() << " Num Instances: " << Stats.NumInstances << "\n"; in AnalyzeBitcode() 925 if (Stats.NumInstances > 1) { in AnalyzeBitcode() 927 PrintSize(Stats.NumBits/(double)Stats.NumInstances); in AnalyzeBitcode() 930 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode() [all …]
|