Home
last modified time | relevance | path

Searched refs:atomic (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/openbsd-src/gnu/gcc/libgomp/testsuite/libgomp.c/
H A Datomic-10.c13 #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 Datomic-1.c23 #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 Dnestedfn-4.c25 #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 Dreduction-2.c22 #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 Dreduction-3.c22 #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 Dpr29947-2.c22 #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 Dpr29947-1.c22 #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 Datomic14 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 DWebAssemblyInstrAtomics.td40 "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 DCheckAtomic.cmake1 # 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 Dxray_x86_64.cpp161 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 DTimer.h33 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 DAtomics.rst14 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 DAMDGPUUsage.rst782 *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 Dreduction-2.C22 #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 Dreduction-3.C22 #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 Dpr27337.C21 #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 Dpr30703.C20 #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 Dctor-1.C25 #pragma omp atomic in B()
31 #pragma omp atomic in ~B()
37 #pragma omp atomic in doit()
H A Dctor-7.C27 #pragma omp atomic in B()
33 #pragma omp atomic in ~B()
39 #pragma omp atomic in doit()
H A Dctor-2.C33 #pragma omp atomic in B()
40 #pragma omp atomic in ~B()
46 #pragma omp atomic in doit()
H A Dctor-3.C30 #pragma omp atomic in B()
41 #pragma omp atomic in ~B()
49 #pragma omp atomic
H A Dctor-4.C36 #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 DBUILD.gn2 visibility = [ ":atomic" ]
3 libs = [ "atomic" ]
6 group("atomic") {
/openbsd-src/sbin/dump/
H A Dtape.c70 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 …]

12345678910>>...19