Home
last modified time | relevance | path

Searched refs:cas_flag (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DAtomic.h24 typedef long cas_flag; typedef
26 typedef uint32_t cas_flag; typedef
28 cas_flag CompareAndSwap(volatile cas_flag* ptr,
29 cas_flag new_value,
30 cas_flag old_value);
31 cas_flag AtomicIncrement(volatile cas_flag* ptr);
32 cas_flag AtomicDecrement(volatile cas_flag* ptr);
33 cas_flag AtomicAdd(volatile cas_flag* ptr, cas_flag val);
34 cas_flag AtomicMul(volatile cas_flag* ptr, cas_flag val);
35 cas_flag AtomicDiv(volatile cas_flag* ptr, cas_flag val);
/external/swiftshader/third_party/LLVM/lib/Support/
DAtomic.cpp39 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap()
40 sys::cas_flag new_value, in CompareAndSwap()
41 sys::cas_flag old_value) { in CompareAndSwap()
43 sys::cas_flag result = *ptr; in CompareAndSwap()
56 sys::cas_flag sys::AtomicIncrement(volatile sys::cas_flag* ptr) { in AtomicIncrement()
69 sys::cas_flag sys::AtomicDecrement(volatile sys::cas_flag* ptr) { in AtomicDecrement()
82 sys::cas_flag sys::AtomicAdd(volatile sys::cas_flag* ptr, sys::cas_flag val) { in AtomicAdd()
95 sys::cas_flag sys::AtomicMul(volatile sys::cas_flag* ptr, sys::cas_flag val) { in AtomicMul()
96 sys::cas_flag original, result; in AtomicMul()
105 sys::cas_flag sys::AtomicDiv(volatile sys::cas_flag* ptr, sys::cas_flag val) { in AtomicDiv()
[all …]
/external/llvm/include/llvm/Support/
DAtomic.h28 typedef long cas_flag; typedef
30 typedef uint32_t cas_flag; typedef
32 cas_flag CompareAndSwap(volatile cas_flag* ptr,
33 cas_flag new_value,
34 cas_flag old_value);
DThreading.h70 typedef volatile sys::cas_flag once_flag;
98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once()
108 sys::cas_flag tmp = flag; in call_once()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DAtomic.h28 typedef long cas_flag; typedef
30 typedef uint32_t cas_flag; typedef
32 cas_flag CompareAndSwap(volatile cas_flag* ptr,
33 cas_flag new_value,
34 cas_flag old_value);
DThreading.h70 typedef volatile sys::cas_flag once_flag;
98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once()
108 sys::cas_flag tmp = flag; in call_once()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DAtomic.h33 typedef long cas_flag; typedef
35 typedef uint32_t cas_flag; typedef
37 cas_flag CompareAndSwap(volatile cas_flag* ptr,
38 cas_flag new_value,
39 cas_flag old_value);
DThreading.h81 volatile sys::cas_flag status = Uninitialized;
106 sys::cas_flag old_val = sys::CompareAndSwap(&flag.status, Wait, Uninitialized); in call_once()
116 sys::cas_flag tmp = flag.status; in call_once()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAtomic.cpp45 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap()
46 sys::cas_flag new_value, in CompareAndSwap()
47 sys::cas_flag old_value) { in CompareAndSwap()
49 sys::cas_flag result = *ptr; in CompareAndSwap()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAtomic.cpp45 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap()
46 sys::cas_flag new_value, in CompareAndSwap()
47 sys::cas_flag old_value) { in CompareAndSwap()
49 sys::cas_flag result = *ptr; in CompareAndSwap()
/external/llvm/lib/Support/
DAtomic.cpp43 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap()
44 sys::cas_flag new_value, in CompareAndSwap()
45 sys::cas_flag old_value) { in CompareAndSwap()
47 sys::cas_flag result = *ptr; in CompareAndSwap()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStatistic.h38 volatile llvm::sys::cas_flag Value;
41 llvm::sys::cas_flag getValue() const { return Value; } in getValue()
/external/swiftshader/third_party/LLVM/include/llvm/
DPassSupport.h133 static volatile sys::cas_flag initialized = 0; \
134 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \
140 sys::cas_flag tmp = initialized; \
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp123 sys::cas_flag RefCount;
145 sys::cas_flag new_val = --RefCount; in DropRef()