| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_mutex.cpp | 193 thr->clock.Acquire(s->clock); in MutexPostLock() 194 thr->clock.Acquire(s->read_clock); in MutexPostLock() 242 thr->clock.ReleaseStore(&s->clock); in MutexUnlock() 303 thr->clock.Acquire(s->clock); in MutexPostReadLock() 394 thr->clock.ReleaseStore(&s->clock); in MutexReadOrWriteUnlock() 449 if (!s->clock) in Acquire() 452 thr->clock.Acquire(s->clock); in Acquire() 471 thr->clock.Release(&s->clock); in Release() 484 thr->clock.ReleaseStore(&s->clock); in ReleaseStore() 497 thr->clock.ReleaseStoreAcquire(&s->clock); in ReleaseStoreAcquire() [all …]
|
| H A D | tsan_interface_atomic.cpp | 240 thr->clock.Acquire(s->clock); in AtomicLoad() 278 thr->clock.ReleaseStore(&s->clock); in AtomicStore() 294 thr->clock.ReleaseAcquire(&s->clock); in AtomicRMW() 296 thr->clock.Release(&s->clock); in AtomicRMW() 298 thr->clock.Acquire(s->clock); in AtomicRMW() 437 thr->clock.ReleaseAcquire(&s->clock); in AtomicCAS() 439 thr->clock.Release(&s->clock); in AtomicCAS() 441 thr->clock.Acquire(s->clock); in AtomicCAS()
|
| H A D | tsan_sync.cpp | 40 Free(clock); in Reset() 177 if (s->clock) { in ResetClocks() 178 InternalFree(s->clock, &cache); in ResetClocks() 179 s->clock = nullptr; in ResetClocks()
|
| H A D | tsan_rtl_thread.cpp | 125 thr->clock.ReleaseStore(&arg.sync); in ThreadCreate() 158 thr->clock.Acquire(thr->tctx->sync); in ThreadStart() 233 thr->clock.ReleaseStore(&thr->tctx->sync); in ThreadFinish() 301 thr->clock.Acquire(arg.sync); in ThreadJoin()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_rtl_mutex.cpp | 189 AcquireImpl(thr, pc, &s->clock); in MutexPostLock() 234 ReleaseStoreImpl(thr, pc, &s->clock); in MutexUnlock() 289 AcquireImpl(thr, pc, &s->clock); in MutexPostReadLock() 411 AcquireImpl(thr, pc, &s->clock); in Acquire() 454 ReleaseImpl(thr, pc, &s->clock); in Release() 466 ReleaseStoreImpl(thr, pc, &s->clock); in ReleaseStore() 493 thr->clock.set(thr->fast_state.epoch()); in AcquireImpl() 500 thr->clock.set(thr->fast_state.epoch()); in ReleaseStoreAcquireImpl() 508 thr->clock.set(thr->fast_state.epoch()); in ReleaseImpl() 516 thr->clock.set(thr->fast_state.epoch()); in ReleaseStoreImpl() [all …]
|
| H A D | tsan_clock.cpp | 455 const uptr move = top * sizeof(tab_->clock[0]); in Resize() 456 internal_memcpy(&new_cb->clock[0], tab_->clock, move); in Resize() 457 internal_memset(&new_cb->clock[top], 0, sizeof(*new_cb) - move); in Resize() 458 internal_memset(tab_->clock, 0, move); in Resize() 548 return tab_->clock[tid]; in elem() 551 return cb->clock[tid]; in elem() 557 uptr ratio = sizeof(ClockBlock::clock[0]) / sizeof(ClockBlock::table[0]); in capacity() 610 pos_ = &cb->clock[0]; in Next() 618 pos_ = &parent_->tab_->clock[0]; in Next()
|
| H A D | tsan_interface_atomic.cpp | 239 AcquireImpl(thr, pc, &s->clock); in AtomicLoad() 279 ReleaseStoreImpl(thr, pc, &s->clock); in AtomicStore() 294 AcquireReleaseImpl(thr, pc, &s->clock); in AtomicRMW() 296 ReleaseImpl(thr, pc, &s->clock); in AtomicRMW() 298 AcquireImpl(thr, pc, &s->clock); in AtomicRMW() 435 AcquireReleaseImpl(thr, pc, &s->clock); in AtomicCAS() 437 ReleaseImpl(thr, pc, &s->clock); in AtomicCAS() 439 AcquireImpl(thr, pc, &s->clock); in AtomicCAS()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | TUScheduler.h | 74 using clock = std::chrono::steady_clock; member 77 clock::duration Min = /*zero*/ {}; 79 clock::duration Max = /*zero*/ {}; 85 clock::duration compute(llvm::ArrayRef<clock::duration> History) const; 87 static DebouncePolicy fixed(clock::duration);
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | imtimer.c | 172 start = clock(); in get_multiply_time() 174 end = clock(); in get_multiply_time() 189 start = clock(); in get_exptmod_time() 192 end = clock(); in get_exptmod_time()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | intrinsics.ll | 112 ; reading clock() or clock64() should not be CSE'd as each read may return 116 ; CHECK: mov.u32 %r{{.*}}, %clock; 117 %a = tail call i32 @llvm.nvvm.read.ptx.sreg.clock() 118 ; CHECK: mov.u32 %r{{.*}}, %clock; 119 %b = tail call i32 @llvm.nvvm.read.ptx.sreg.clock() 147 declare i32 @llvm.nvvm.read.ptx.sreg.clock()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | 2012-11-16-mischedcall.ll | 9 declare void @clock() nounwind 17 tail call void @clock() nounwind
|
| H A D | s000-alias-misched.ll | 25 %call1 = tail call i64 @clock() nounwind 85 %call11 = tail call i64 @clock() nounwind 94 declare i64 @clock() nounwind
|
| /llvm-project-15.0.7/lldb/examples/summaries/cocoa/ |
| H A D | metrics.py | 27 self.enter_time = time.clock() 30 self.exit_time = time.clock()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | ctime | 33 clock_t clock(); 65 using ::clock _LIBCPP_USING_IF_EXISTS;
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/examples/ |
| H A D | pi.c | 77 start = clock(); in main() 99 end = clock(); in main()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | print-bitwidth.c | 4 unsigned clock : 1; member
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/longjmp/ |
| H A D | main.c | 11 if (!clock()) in do_jump()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/ |
| H A D | file_time_type.pass.cpp | 27 using Clock = file_time_type::clock; in test_trivial_clock()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | spuriously-wake-up-functions.cpp | 36 using clock = Clock; typedef in std::chrono::time_point 43 constexpr time_point(const time_point<clock, Duration2> &t);
|
| /llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/ |
| H A D | time.h | 28 __DEVICE__ clock_t clock() { return __nvvm_read_ptx_sreg_clock(); } in clock() function
|
| /llvm-project-15.0.7/libcxx/test/std/time/time.clock/time.clock.file/ |
| H A D | consistency.pass.cpp | 35 static_assert((std::is_same<C::time_point::clock, C>::value), ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/time/time.clock/time.clock.system/ |
| H A D | consistency.pass.cpp | 33 static_assert((std::is_same<C::time_point::clock, C>::value), ""); in main()
|
| /llvm-project-15.0.7/lld/utils/ |
| H A D | link.yaml | 37 - name: task-clock
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | time_h.pass.cpp | 30 static_assert((std::is_same<decltype(clock()), clock_t>::value), ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/ |
| H A D | ctime.pass.cpp | 34 static_assert((std::is_same<decltype(std::clock()), std::clock_t>::value), ""); in main()
|