| /openbsd-src/gnu/gcc/libgomp/testsuite/libgomp.c/ |
| H A D | atomic-10.c | 13 #pragma omp atomic in f1() 15 #pragma omp atomic in f1() 17 #pragma omp atomic in f1() 19 #pragma omp atomic in f1() 21 #pragma omp atomic in f1() 23 #pragma omp atomic in f1() 25 #pragma omp atomic in f1() 27 #pragma omp atomic in f1() 29 #pragma omp atomic in f1() 31 #pragma omp atomic in f1() [all …]
|
| H A D | atomic-1.c | 23 #pragma omp atomic in f1() 25 #pragma omp atomic in f1() 27 #pragma omp atomic in f1() 34 #pragma omp atomic in f2() 36 #pragma omp atomic in f2() 38 #pragma omp atomic in f2()
|
| H A D | nestedfn-4.c | 25 #pragma omp atomic in main() 32 #pragma omp atomic in main() 39 #pragma omp atomic in main() 46 #pragma omp atomic in main() 51 #pragma omp atomic in main() 58 #pragma omp atomic in main()
|
| H A D | reduction-2.c | 22 #pragma omp atomic in main() 36 #pragma omp atomic in main() 39 #pragma omp atomic in main() 42 #pragma omp atomic in main()
|
| H A D | reduction-3.c | 22 #pragma omp atomic in main() 37 #pragma omp atomic in main() 40 #pragma omp atomic in main() 43 #pragma omp atomic in main()
|
| H A D | pr29947-2.c | 22 #pragma omp atomic in test1() 42 #pragma omp atomic in test2() 62 #pragma omp atomic in test3() 82 #pragma omp atomic in test4() 103 #pragma omp atomic in test5() 124 #pragma omp atomic in test6() 145 #pragma omp atomic in test7() 166 #pragma omp atomic in test8()
|
| H A D | pr29947-1.c | 22 #pragma omp atomic in test1() 42 #pragma omp atomic in test2() 62 #pragma omp atomic in test3() 82 #pragma omp atomic in test4() 103 #pragma omp atomic in test5() 124 #pragma omp atomic in test6() 145 #pragma omp atomic in test7() 166 #pragma omp atomic in test8()
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | atomic | 14 atomic synopsis 62 struct atomic 70 atomic() noexcept = default; // until C++20 71 constexpr atomic() noexcept(is_nothrow_default_constructible_v<T>); // since C++20 72 constexpr atomic(T desr) noexcept; 73 atomic(const atomic&) = delete; 74 atomic& operator=(const atomic&) = delete; 75 atomic& operator=(const atomic&) volatile = delete; 113 struct atomic<integral> 122 atomic() noexcept = default; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrAtomics.td | 40 "memory.atomic.notify \t$dst, ${off}(${addr})${p2align}, $count", 41 "memory.atomic.notify \t${off}${p2align}", 0x00, false>; 46 "memory.atomic.notify \t$dst, ${off}(${addr})${p2align}, $count", 47 "memory.atomic.notify \t${off}${p2align}", 0x00, true>; 54 "memory.atomic.wait32 \t$dst, ${off}(${addr})${p2align}, $exp, $timeout", 55 "memory.atomic.wait32 \t${off}${p2align}", 0x01, false>; 61 "memory.atomic.wait32 \t$dst, ${off}(${addr})${p2align}, $exp, $timeout", 62 "memory.atomic.wait32 \t${off}${p2align}", 0x01, true>; 68 "memory.atomic.wait64 \t$dst, ${off}(${addr})${p2align}, $exp, $timeout", 69 "memory.atomic.wait64 \t${off}${p2align}", 0x02, false>; [all …]
|
| /openbsd-src/gnu/llvm/llvm/cmake/modules/ |
| H A D | CheckAtomic.cmake | 1 # atomic builtins are required for threading support. 6 # Sometimes linking against libatomic is required for atomic ops, if 13 #include <atomic> 14 std::atomic<int> x; 15 std::atomic<short> y; 16 std::atomic<char> z; 30 #include <atomic> 32 std::atomic<uint64_t> x (0); 43 # Check for (non-64-bit) atomic operations. 51 check_library_exists(atomic __atomic_fetch_add_4 "" HAVE_LIBATOMIC) [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_x86_64.cpp | 161 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionEntry() 165 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionEntry() 208 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionExit() 212 reinterpret_cast<std::atomic<uint8_t> *>(Address), RetOpCode, in patchFunctionExit() 238 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionTailExit() 242 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionTailExit() 277 reinterpret_cast<std::atomic<uint16_t> *>(Address), NopwSeq, in patchCustomEvent() 284 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp15Seq, in patchCustomEvent() 290 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp20Seq, in patchCustomEvent() 320 reinterpret_cast<std::atomic<uint16_t> *>(Address), NopwSeq, in patchTypedEvent() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Utility/ |
| H A D | Timer.h | 33 std::atomic<uint64_t> m_nanos; 34 std::atomic<uint64_t> m_nanos_total; 35 std::atomic<uint64_t> m_count; 36 std::atomic<Category *> m_next; 71 static std::atomic<bool> g_quiet; 72 static std::atomic<unsigned> g_display_depth;
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | Atomics.rst | 14 The atomic instructions are designed specifically to provide readable IR and 17 * The C++11 ``<atomic>`` header. (`C++11 draft available here 28 * Other scenarios with atomic semantics, including ``static`` variables with 36 pair of volatile stores. On the other hand, a non-volatile non-atomic load can 45 .. _Optimization outside atomic: 47 Optimization outside atomic 57 instructions with atomic ordering involved, concurrency does not matter, with 102 various atomic instructions. The exact guarantees provided depend on the 105 ``load atomic`` and ``store atomic`` provide the same basic functionality as 106 non-atomic loads and stores, but provide additional guarantees in situations [all …]
|
| H A D | AMDGPUUsage.rst | 782 *pointer*), allowing normal LLVM load/store/atomic operations to be used to 3759 runtime api uses 64-bit atomic operations to reserve space in the AQL queue 3761 atomic store release to set the packet kind to ensure the packet contents are 4322 of load and atomic with return 4326 store and atomic without 4329 of load, atomic with return 4333 atomic without return in order. 4464 mis-aligned atomic, LDS 5082 ``ds/flat_load/store/atomic`` instructions to local memory are termed LDS 5085 ``buffer/global/flat_load/store/atomic`` instructions to global memory are [all …]
|
| /openbsd-src/gnu/gcc/libgomp/testsuite/libgomp.c++/ |
| H A D | reduction-2.C | 22 #pragma omp atomic in main() 36 #pragma omp atomic in main() 39 #pragma omp atomic in main() 42 #pragma omp atomic in main()
|
| H A D | reduction-3.C | 22 #pragma omp atomic in main() 37 #pragma omp atomic in main() 40 #pragma omp atomic in main() 43 #pragma omp atomic in main()
|
| H A D | pr27337.C | 21 #pragma omp atomic in S() 28 #pragma omp atomic in ~S() 38 #pragma omp atomic in S() 64 #pragma omp atomic in bar()
|
| H A D | pr30703.C | 20 #pragma omp atomic in A() 27 #pragma omp atomic in A() 33 #pragma omp atomic in ~A() 46 #pragma omp atomic in foo()
|
| H A D | ctor-1.C | 25 #pragma omp atomic in B() 31 #pragma omp atomic in ~B() 37 #pragma omp atomic in doit()
|
| H A D | ctor-7.C | 27 #pragma omp atomic in B() 33 #pragma omp atomic in ~B() 39 #pragma omp atomic in doit()
|
| H A D | ctor-2.C | 33 #pragma omp atomic in B() 40 #pragma omp atomic in ~B() 46 #pragma omp atomic in doit()
|
| H A D | ctor-3.C | 30 #pragma omp atomic in B() 41 #pragma omp atomic in ~B() 49 #pragma omp atomic
|
| H A D | ctor-4.C | 36 #pragma omp atomic in B() 42 #pragma omp atomic in ~B() 50 #pragma omp atomic
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/build/libs/atomic/ |
| H A D | BUILD.gn | 2 visibility = [ ":atomic" ] 3 libs = [ "atomic" ] 6 group("atomic") {
|
| /openbsd-src/sbin/dump/ |
| H A D | tape.c | 70 static ssize_t atomic(ssize_t (*)(int, void *, size_t), int, char *, int); 288 if (atomic((ssize_t (*)(int, void *, size_t))write, slp->fd, in flushtape() 300 if (atomic(read, slp->fd, (char *)&got, sizeof(got)) in flushtape() 317 if (atomic(read, slaves[i].fd, in flushtape() 375 if (atomic(read, slaves[f].fd, (char *)&got, sizeof(got)) in trewind() 500 if (atomic((ssize_t (*)(int, void *, size_t))write, in rollforward() 541 if (atomic(read, slp->fd, (char *)&got, sizeof(got)) in rollforward() 775 (void) atomic((ssize_t (*)(int, void *, size_t))write, in enslave() 816 if ((nread = atomic(read, cmd, (char *)&nextslave, sizeof(nextslave))) in doslave() 824 while ((nread = atomic(read, cmd, (char *)slp->req, reqsiz)) == reqsiz) { in doslave() [all …]
|