reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
   84 template<typename T> T func_nand(volatile T *v, T op) {
   84 template<typename T> T func_nand(volatile T *v, T op) {
   84 template<typename T> T func_nand(volatile T *v, T op) {
   86   T cmp = *v;
   88     T newv = ~(cmp & op);
   89     T cur = __sync_val_compare_and_swap(v, cmp, newv);