Searched refs:AtomicLoc (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_sync_atomic_main.cpp | 89 void testAtomicRMW(volatile Type *AtomicLoc, size_t &TotalTests, size_t &Passes, in testAtomicRMW() argument 114 *AtomicLoc = Value1; in testAtomicRMW() 115 Type ResultSz1 = Funcs[f].FuncSz(fetch_first, AtomicLoc, Value2); in testAtomicRMW() 116 Type ResultSz2 = *AtomicLoc; in testAtomicRMW() 117 *AtomicLoc = Value1; in testAtomicRMW() 118 Type ResultLlc1 = Funcs[f].FuncLlc(fetch_first, AtomicLoc, Value2); in testAtomicRMW() 119 Type ResultLlc2 = *AtomicLoc; in testAtomicRMW() 140 void testValCompareAndSwap(volatile Type *AtomicLoc, size_t &TotalTests, in testValCompareAndSwap() argument 159 *AtomicLoc = Value1; in testValCompareAndSwap() 161 Funcs[f].FuncSz(AtomicLoc, flip ? Value2 : Value1, Value2); in testValCompareAndSwap() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 3205 SourceLocation AtomicLoc = DSAStack->getAtomicDirectiveLoc(); in CheckOMPRequiresDecl() local 3206 if (!TargetLocations.empty() || !AtomicLoc.isInvalid()) { in CheckOMPRequiresDecl() 3219 } else if (!AtomicLoc.isInvalid() && in CheckOMPRequiresDecl() 3223 Diag(AtomicLoc, diag::note_omp_requires_encountered_directive) in CheckOMPRequiresDecl()
|