| /llvm-project-15.0.7/libcxx/test/libcxx/language.support/support.dynamic/ |
| H A D | libcpp_deallocate.sh.cpp | 98 stats.last_size = stats.last_align = -1; in operator delete() 140 stats.reset(); in test_libcpp_dealloc() 147 stats.reset(); in test_libcpp_dealloc() 153 stats.reset(); in test_libcpp_dealloc() 159 stats.reset(); in test_libcpp_dealloc() 165 stats.reset(); in test_libcpp_dealloc() 170 stats.reset(); in test_libcpp_dealloc() 175 stats.reset(); in test_libcpp_dealloc() 185 stats.reset(); in test_allocator_and_new_match() 192 stats.reset(); in test_allocator_and_new_match() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_stats.cpp | 82 stats->Clear(); in GetAccumulatedStats() 104 stats->Clear(); in FlushToDeadThreadStats() 108 AsanStats stats; in FillMallocStatistics() local 109 GetAccumulatedStats(&stats); in FillMallocStatistics() 122 AsanStats stats; in PrintAccumulatedStats() local 126 stats.Print(); in PrintAccumulatedStats() 139 AsanStats stats; in __sanitizer_get_current_allocated_bytes() local 142 uptr freed = stats.freed; in __sanitizer_get_current_allocated_bytes() 149 AsanStats stats; in __sanitizer_get_heap_size() local 151 return stats.mmaped - stats.munmaped; in __sanitizer_get_heap_size() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_stats.cpp | 82 stats->Clear(); in GetAccumulatedStats() 104 stats->Clear(); in FlushToDeadThreadStats() 113 MemprofStats stats; in PrintAccumulatedStats() local 114 GetAccumulatedStats(&stats); in PrintAccumulatedStats() 117 stats.Print(); in PrintAccumulatedStats() 130 MemprofStats stats; in __sanitizer_get_current_allocated_bytes() local 133 uptr freed = stats.freed; in __sanitizer_get_current_allocated_bytes() 140 MemprofStats stats; in __sanitizer_get_heap_size() local 142 return stats.mmaped - stats.munmaped; in __sanitizer_get_heap_size() 146 MemprofStats stats; in __sanitizer_get_free_bytes() local [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-mca/X86/ |
| H A D | scheduler-queue-usage.s | 2 …86_64-unknown-unknown -mcpu=x86-64 -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 3 …86_64-unknown-unknown -mcpu=bdver2 -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 4 …86_64-unknown-unknown -mcpu=btver2 -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 5 …86_64-unknown-unknown -mcpu=znver1 -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 6 …86_64-unknown-unknown -mcpu=znver2 -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 7 …86_64-unknown-unknown -mcpu=znver3 -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 9 …64-unknown-unknown -mcpu=ivybridge -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 10 …6_64-unknown-unknown -mcpu=haswell -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 12 …e=x86_64-unknown-unknown -mcpu=knl -iterations=1 -all-stats=false -all-views=false -scheduler-stat… 13 …6_64-unknown-unknown -mcpu=skylake -iterations=1 -all-stats=false -all-views=false -scheduler-stat… [all …]
|
| H A D | register-file-statistics.s | 2 …_64-unknown-unknown -mcpu=x86-64 -iterations=1 -all-stats=false -all-views=false -register-file-st… 3 …_64-unknown-unknown -mcpu=x86-64 -iterations=1 -all-stats=false -all-views=false -register-file-st… 4 …_64-unknown-unknown -mcpu=bdver2 -iterations=1 -all-stats=false -all-views=false -register-file-st… 5 …_64-unknown-unknown -mcpu=btver2 -iterations=1 -all-stats=false -all-views=false -register-file-st… 6 …_64-unknown-unknown -mcpu=znver1 -iterations=1 -all-stats=false -all-views=false -register-file-st… 7 …_64-unknown-unknown -mcpu=znver2 -iterations=1 -all-stats=false -all-views=false -register-file-st… 10 …-unknown-unknown -mcpu=ivybridge -iterations=1 -all-stats=false -all-views=false -register-file-st… 11 …64-unknown-unknown -mcpu=haswell -iterations=1 -all-stats=false -all-views=false -register-file-st… 13 …x86_64-unknown-unknown -mcpu=knl -iterations=1 -all-stats=false -all-views=false -register-file-st… 14 …64-unknown-unknown -mcpu=skylake -iterations=1 -all-stats=false -all-views=false -register-file-st… [all …]
|
| H A D | option-all-stats-2.s | 2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-stats -dispatch-stats=false < %s … 3 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-stats < %s … 4 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-stats -dispatch-stats < %s … 5 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -dispatch-stats -all-stats < %s … 6 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -dispatch-stats=false -all-stats < %s …
|
| /llvm-project-15.0.7/lldb/test/API/commands/statistics/basic/ |
| H A D | TestStats.py | 52 success_fail_dict = stats[key] 93 stats = self.get_target_stats(self.get_stats()) 109 stats = self.get_target_stats(self.get_stats()) 119 self.assertEqual('stopCount' in stats, True, 121 self.assertGreater(stats['stopCount'], 0, 176 stats = debug_stats['targets'][0] 246 stats = debug_stats['targets'][0] 299 def find_module_in_metrics(self, path, stats): argument 300 modules = stats['modules'] 307 modules = stats['modules'] [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/make.heap/ |
| H A D | complexity.pass.cpp | 26 } stats; variable 31 MyInt(const MyInt& other) : value(other.value) { ++stats.copied; } in MyInt() 32 MyInt(MyInt&& other) : value(other.value) { ++stats.moved; } in MyInt() 35 ++stats.copied; in operator =() 40 ++stats.moved; in operator =() 44 ++stats.compared; in operator <() 63 stats = {}; in main() 65 assert(stats.copied == 0); in main() 66 assert(stats.moved == 153'486); in main() 68 assert(stats.compared == 188'285); in main()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/sort.heap/ |
| H A D | complexity.pass.cpp | 26 } stats; variable 31 MyInt(const MyInt& other) : value(other.value) { ++stats.copied; } in MyInt() 32 MyInt(MyInt&& other) : value(other.value) { ++stats.moved; } in MyInt() 35 ++stats.copied; in operator =() 40 ++stats.moved; in operator =() 44 ++stats.compared; in operator <() 64 stats = {}; in main() 66 assert(stats.copied == 0); in main() 67 assert(stats.moved == 1'764'997); in main() 69 assert(stats.compared == 1'534'701); in main()
|
| /llvm-project-15.0.7/llvm/test/tools/sanstats/ |
| H A D | elf.test | 4 # RUN: printf "\x04" > %t.stats 6 # RUN: printf "%%s" "%t1.o" >> %t.stats 7 # RUN: printf "\x00" >> %t.stats 8 # RUN: printf "\x01\x00\x00\x00\x01\x00\x00\x00" >> %t.stats 9 # RUN: printf "\x11\x00\x00\x00\x02\x00\x00\x20" >> %t.stats 16 # RUN: printf "%%s" "%t2.o" >> %t.stats 17 # RUN: printf "\x00" >> %t.stats 26 # RUN: sanstats %t.stats | FileCheck %s 29 # searches them next to the stats file. 33 # RUN: mv -f %t.stats %t.dir/copy.stats [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/module_cache/debug_index/ |
| H A D | TestDebugIndexCache.py | 83 stats = self.get_stats() 84 module_stats = stats['modules'][0] 91 self.assertEqual(stats["totalDebugInfoIndexLoadedFromCache"], 0) 92 self.assertEqual(stats["totalDebugInfoIndexSavedToCache"], 1) 93 self.assertEqual(stats["totalSymbolTablesLoadedFromCache"], 0) 94 self.assertEqual(stats["totalSymbolTablesSavedToCache"], 1) 128 stats = self.get_stats() 129 module_stats = stats['modules'][0] 137 self.assertEqual(stats["totalDebugInfoIndexSavedToCache"], 0) 138 self.assertEqual(stats["totalSymbolTablesLoadedFromCache"], 0) [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/stats/ |
| H A D | CMakeLists.txt | 2 stats.h) 6 add_custom_target(stats) target 7 set_target_properties(stats PROPERTIES FOLDER "Compiler-RT Misc") 23 add_compiler_rt_runtime(clang_rt.stats 27 SOURCES stats.cpp 35 PARENT_TARGET stats) 45 PARENT_TARGET stats)
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/tools/ |
| H A D | findthreshold.py | 66 stats = {} 69 stats[prec] = (None, 1000000., 0.) 75 if t < stats[prec][1]: 76 stats[prec] = (thresh, t, tp) 82 return list((p, h, t, tp) for p, (h, t, tp) in stats.iteritems()) 86 stats = compute_stats() variable 87 stats.sort(key=lambda s: s[3] / s[2]) 88 for prec, thresh, trec, tnorm in stats:
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_secondary.h | 116 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log)); in Allocate() 124 stats.n_allocs++; in Allocate() 125 stats.currently_allocated += map_size; in Allocate() 126 stats.max_allocated = Max(stats.max_allocated, stats.currently_allocated); in Allocate() 127 stats.by_size_log[size_log]++; in Allocate() 144 stats.n_frees++; in Deallocate() 145 stats.currently_allocated -= h->map_size; in Deallocate() 258 stats.n_allocs, stats.n_allocs - stats.n_frees, in PrintStats() 259 stats.currently_allocated >> 10, stats.max_allocated >> 20); in PrintStats() 261 uptr c = stats.by_size_log[i]; in PrintStats() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.alg/ |
| H A D | compare_partial_order_fallback.pass.cpp | 251 constexpr explicit A(Stats *stats, double value) : stats_(stats), value_(value) {} in A() 275 N2::Stats stats; in test_2() local 278 assert(stats.eq == 1 && stats.lt == 0); in test_2() 279 stats = {}; in test_2() 280 …assert(std::compare_partial_order_fallback(N2::A(&stats, 1), N2::A(nullptr, 2)) == std::partial_or… in test_2() 281 assert(stats.eq == 1 && stats.lt == 1); in test_2() 282 stats = {}; in test_2() 283 …assert(std::compare_partial_order_fallback(N2::A(&stats, 2), N2::A(&bstats, 1)) == std::partial_or… in test_2() 284 assert(stats.eq == 1 && stats.lt == 1 && bstats.lt == 1); in test_2() 285 stats = {}; in test_2() [all …]
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | statistic.ll | 1 ; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json 2>&1 | FileCheck %s --check-prefix=JS… 2 ; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json -info-output-file %t && FileCheck %s … 3 ; RUN: opt < %s -o /dev/null -instsimplify -stats 2>&1 | FileCheck %s --check-prefix=DEFAULT 4 ; RUN: opt < %s -o /dev/null -instsimplify -stats -info-output-file %t && FileCheck %s < %t --check…
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Timer.cpp | 145 Stats stats{i->m_name, nanos, nanos_total, count}; in DumpCategoryTimes() local 146 sorted.push_back(stats); in DumpCategoryTimes() 155 for (const auto &stats : sorted) in DumpCategoryTimes() local 158 stats.nanos / 1000000000., stats.nanos_total / 1000000000., in DumpCategoryTimes() 159 (stats.nanos_total - stats.nanos) / 1000000000., stats.count, in DumpCategoryTimes() 160 stats.name); in DumpCategoryTimes()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/ |
| H A D | ctor_iterators.pass.cpp | 24 test_allocator_statistics* stats; member in GetAlloc 28 : base_type(begin, end, test_allocator<int>(&stats_)), stats(&stats_) {} in GetAlloc() 31 assert(stats->alloc_count > 0); in check() 37 test_allocator_statistics stats{}; in main() local 38 GetAlloc queue(stats, a, a + 4); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/ |
| H A D | ctor_iterators.pass.cpp | 24 test_allocator_statistics* stats; member in GetAlloc 28 : base_type(begin, end, test_allocator<int>(&stats_)), stats(&stats_) {} in GetAlloc() 31 assert(stats->alloc_count > 0); in check() 37 test_allocator_statistics stats{}; in main() local 38 GetAlloc stack(stats, a, a + 4); in main()
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/ |
| H A D | unit_test_tensor_core.py | 443 stats = D._stats 444 passed += (stats.get_total() == 1) 446 passed += (stats.get_dimensions(0) == (I,)) 480 stats = E._stats 481 passed += (stats.get_total() == 2) 483 passed += (stats.get_dimensions(0) == (I, J)) 485 passed += (stats.get_dimensions(1) == (I, J)) 519 stats = E._stats 520 passed += (stats.get_total() == 2) 522 passed += (stats.get_dimensions(0) == (I, K)) [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-lto2/X86/ |
| H A D | stats-file-option.ll | 6 ; RUN: llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px -stats-file=%t2.stats 7 ; RUN: FileCheck --input-file=%t2.stats %s 24 ; RUN: -stats-file=%t2/foo.stats 2>&1 | FileCheck -DMSG=%errc_ENOENT --check-prefix=ERROR %s
|
| /llvm-project-15.0.7/llvm/test/tools/gold/X86/ |
| H A D | stats-file-option.ll | 6 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=stats-file=%t2.stats \ 8 ; RUN: FileCheck --input-file=%t2.stats %s 23 ; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=stats-file=%t2/foo.stats \
|
| /llvm-project-15.0.7/mlir/test/Dialect/Quant/ |
| H A D | parse-ops-invalid.mlir | 7 %0 = "quant.stats"(%arg0) { 17 %0 = "quant.stats"(%arg0) { 27 %0 = "quant.stats"(%arg0) { 37 %0 = "quant.stats"(%0) { 52 %0 = "quant.stats"(%arg0) { 68 %0 = "quant.stats"(%arg0) { 82 %1 = "quant.stats"(%arg0) {
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | PassStatistics.cpp | 30 MutableArrayRef<Statistic> stats = llvm::None) { in printPassEntry() argument 32 if (stats.empty()) in printPassEntry() 37 stats.begin(), stats.end(), [](const auto *lhs, const auto *rhs) { in printPassEntry() 43 for (auto &stat : stats) { in printPassEntry() 50 for (auto &stat : stats) { in printPassEntry() 131 std::vector<Statistic> stats; in printResultsAsPipeline() local 133 stats.push_back({stat->getName(), stat->getDesc(), stat->getValue()}); in printResultsAsPipeline() 134 printPassEntry(os, indent, pass->getName(), stats); in printResultsAsPipeline()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | inline_stats.ll | 2 ; RUN: opt -S -inline -inliner-function-import-stats=basic < %s 2>&1 | FileCheck %s --check-prefixe… 3 ; RUN: opt -S -inline -inliner-function-import-stats=verbose < %s 2>&1 | FileCheck %s --check-prefi… 6 ; RUN: opt -S -passes=inline -inliner-function-import-stats=basic < %s 2>&1 | FileCheck %s --check-… 7 ; RUN: opt -S -passes=inline -inliner-function-import-stats=verbose < %s 2>&1 | FileCheck %s --chec… 9 ; RUN: opt -S -passes=inliner-wrapper-no-mandatory-first -inliner-function-import-stats=basic < %s … 10 ; RUN: opt -S -passes=inliner-wrapper-no-mandatory-first -inliner-function-import-stats=verbose < %… 12 ; RUN: opt -S -passes=inliner-wrapper -inliner-function-import-stats=basic < %s 2>&1 | FileCheck %s… 13 ; RUN: opt -S -passes=inliner-wrapper -inliner-function-import-stats=verbose < %s 2>&1 | FileCheck … 15 ; CHECK: ------- Dumping inliner stats for [<stdin>] -------
|