Home
last modified time | relevance | path

Searched refs:ClobberMemory (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/test/
H A Dclobber_memory_assembly_test.cc19 benchmark::ClobberMemory(); in test_basic()
28 benchmark::ClobberMemory(); in test_redundant_store()
40 benchmark::ClobberMemory(); in test_redundant_read()
54 benchmark::ClobberMemory(); in test_redundant_read2()
56 benchmark::ClobberMemory(); in test_redundant_read2()
/llvm-project-15.0.7/libcxx/benchmarks/
H A DContainerBenchmarks.h59 benchmark::ClobberMemory(); in BM_InsertValue()
73 benchmark::ClobberMemory(); in BM_InsertValueRehash()
89 benchmark::ClobberMemory(); in BM_InsertDuplicate()
105 benchmark::ClobberMemory(); in BM_EmplaceDuplicate()
119 benchmark::ClobberMemory(); in BM_Find()
134 benchmark::ClobberMemory(); in BM_FindRehash()
148 benchmark::ClobberMemory(); in BM_Rehash()
H A Dutil_smartptr.bench.cpp26 benchmark::ClobberMemory(); in BM_SharedPtrIncDecRef()
36 benchmark::ClobberMemory(); in BM_WeakPtrIncDecRef()
H A Dfilesystem.bench.cpp89 benchmark::ClobberMemory(); in BM_PathIterateMultipleTimes()
110 benchmark::ClobberMemory(); in BM_PathIterateOnce()
H A Dunordered_set_operations.bench.cpp142 benchmark::ClobberMemory(); in BM_Hash()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dperf_counters.h138 ClobberMemory(); in Start()
140 ClobberMemory(); in Start()
148 ClobberMemory(); in StopAndGetMeasurements()
150 ClobberMemory(); in StopAndGetMeasurements()
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Duser_guide.md326 benchmark::ClobberMemory();
914 the `benchmark::DoNotOptimize(...)` and `benchmark::ClobberMemory()`
949 The second tool for preventing optimizations is `ClobberMemory()`. In essence
950 `ClobberMemory()` forces the compiler to perform all pending writes to global
953 `ClobberMemory()` prevents the call to `v.push_back(42)` from being optimized
963 benchmark::ClobberMemory(); // Force 42 to be written to memory.
968 Note that `ClobberMemory()` is only available for GNU or MSVC based compilers.
H A DAssemblyTests.md5 and `ClobberMemory`. In addition there are other functions,
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h402 inline BENCHMARK_ALWAYS_INLINE void ClobberMemory() { in ClobberMemory() function
427 inline BENCHMARK_ALWAYS_INLINE void ClobberMemory() { in ClobberMemory() function
439 inline BENCHMARK_ALWAYS_INLINE void ClobberMemory() { _ReadWriteBarrier(); } in ClobberMemory() function