Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 25 of 85) sorted by relevance

1234

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cpp193 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 Dtsan_interface_atomic.cpp240 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 Dtsan_sync.cpp40 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 Dtsan_rtl_thread.cpp125 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 Dtsan_rtl_mutex.cpp189 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 Dtsan_clock.cpp455 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 Dtsan_interface_atomic.cpp239 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 DTUScheduler.h74 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 Dimtimer.c172 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 Dintrinsics.ll112 ; 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 D2012-11-16-mischedcall.ll9 declare void @clock() nounwind
17 tail call void @clock() nounwind
H A Ds000-alias-misched.ll25 %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 Dmetrics.py27 self.enter_time = time.clock()
30 self.exit_time = time.clock()
/llvm-project-15.0.7/libcxx/include/
H A Dctime33 clock_t clock();
65 using ::clock _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/polly/lib/External/isl/imath/examples/
H A Dpi.c77 start = clock(); in main()
99 end = clock(); in main()
/llvm-project-15.0.7/clang/test/Index/
H A Dprint-bitwidth.c4 unsigned clock : 1; member
/llvm-project-15.0.7/lldb/test/API/functionalities/longjmp/
H A Dmain.c11 if (!clock()) in do_jump()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/
H A Dfile_time_type.pass.cpp27 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 Dspuriously-wake-up-functions.cpp36 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 Dtime.h28 __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 Dconsistency.pass.cpp35 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 Dconsistency.pass.cpp33 static_assert((std::is_same<C::time_point::clock, C>::value), ""); in main()
/llvm-project-15.0.7/lld/utils/
H A Dlink.yaml37 - name: task-clock
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dtime_h.pass.cpp30 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 Dctime.pass.cpp34 static_assert((std::is_same<decltype(std::clock()), std::clock_t>::value), ""); in main()

1234