Lines Matching refs:AtomicExpr
939 return SemaAtomicOpsOverloaded(TheCallResult, AtomicExpr::AO##ID); in CheckBuiltinFunctionCall()
2250 static bool isValidOrderingForOp(int64_t Ordering, AtomicExpr::AtomicOp Op) { in isValidOrderingForOp()
2256 case AtomicExpr::AO__c11_atomic_init: in isValidOrderingForOp()
2259 case AtomicExpr::AO__c11_atomic_load: in isValidOrderingForOp()
2260 case AtomicExpr::AO__atomic_load_n: in isValidOrderingForOp()
2261 case AtomicExpr::AO__atomic_load: in isValidOrderingForOp()
2265 case AtomicExpr::AO__c11_atomic_store: in isValidOrderingForOp()
2266 case AtomicExpr::AO__atomic_store: in isValidOrderingForOp()
2267 case AtomicExpr::AO__atomic_store_n: in isValidOrderingForOp()
2278 AtomicExpr::AtomicOp Op) { in SemaAtomicOpsOverloaded()
2312 static_assert(AtomicExpr::AO__c11_atomic_init == 0 && in SemaAtomicOpsOverloaded()
2313 AtomicExpr::AO__c11_atomic_fetch_xor + 1 == in SemaAtomicOpsOverloaded()
2314 AtomicExpr::AO__atomic_load, in SemaAtomicOpsOverloaded()
2316 bool IsC11 = Op >= AtomicExpr::AO__c11_atomic_init && in SemaAtomicOpsOverloaded()
2317 Op <= AtomicExpr::AO__c11_atomic_fetch_xor; in SemaAtomicOpsOverloaded()
2318 bool IsN = Op == AtomicExpr::AO__atomic_load_n || in SemaAtomicOpsOverloaded()
2319 Op == AtomicExpr::AO__atomic_store_n || in SemaAtomicOpsOverloaded()
2320 Op == AtomicExpr::AO__atomic_exchange_n || in SemaAtomicOpsOverloaded()
2321 Op == AtomicExpr::AO__atomic_compare_exchange_n; in SemaAtomicOpsOverloaded()
2325 case AtomicExpr::AO__c11_atomic_init: in SemaAtomicOpsOverloaded()
2329 case AtomicExpr::AO__c11_atomic_load: in SemaAtomicOpsOverloaded()
2330 case AtomicExpr::AO__atomic_load_n: in SemaAtomicOpsOverloaded()
2334 case AtomicExpr::AO__atomic_load: in SemaAtomicOpsOverloaded()
2338 case AtomicExpr::AO__c11_atomic_store: in SemaAtomicOpsOverloaded()
2339 case AtomicExpr::AO__atomic_store: in SemaAtomicOpsOverloaded()
2340 case AtomicExpr::AO__atomic_store_n: in SemaAtomicOpsOverloaded()
2344 case AtomicExpr::AO__c11_atomic_fetch_add: in SemaAtomicOpsOverloaded()
2345 case AtomicExpr::AO__c11_atomic_fetch_sub: in SemaAtomicOpsOverloaded()
2346 case AtomicExpr::AO__atomic_fetch_add: in SemaAtomicOpsOverloaded()
2347 case AtomicExpr::AO__atomic_fetch_sub: in SemaAtomicOpsOverloaded()
2348 case AtomicExpr::AO__atomic_add_fetch: in SemaAtomicOpsOverloaded()
2349 case AtomicExpr::AO__atomic_sub_fetch: in SemaAtomicOpsOverloaded()
2352 case AtomicExpr::AO__c11_atomic_fetch_and: in SemaAtomicOpsOverloaded()
2353 case AtomicExpr::AO__c11_atomic_fetch_or: in SemaAtomicOpsOverloaded()
2354 case AtomicExpr::AO__c11_atomic_fetch_xor: in SemaAtomicOpsOverloaded()
2355 case AtomicExpr::AO__atomic_fetch_and: in SemaAtomicOpsOverloaded()
2356 case AtomicExpr::AO__atomic_fetch_or: in SemaAtomicOpsOverloaded()
2357 case AtomicExpr::AO__atomic_fetch_xor: in SemaAtomicOpsOverloaded()
2358 case AtomicExpr::AO__atomic_fetch_nand: in SemaAtomicOpsOverloaded()
2359 case AtomicExpr::AO__atomic_and_fetch: in SemaAtomicOpsOverloaded()
2360 case AtomicExpr::AO__atomic_or_fetch: in SemaAtomicOpsOverloaded()
2361 case AtomicExpr::AO__atomic_xor_fetch: in SemaAtomicOpsOverloaded()
2362 case AtomicExpr::AO__atomic_nand_fetch: in SemaAtomicOpsOverloaded()
2366 case AtomicExpr::AO__c11_atomic_exchange: in SemaAtomicOpsOverloaded()
2367 case AtomicExpr::AO__atomic_exchange_n: in SemaAtomicOpsOverloaded()
2371 case AtomicExpr::AO__atomic_exchange: in SemaAtomicOpsOverloaded()
2375 case AtomicExpr::AO__c11_atomic_compare_exchange_strong: in SemaAtomicOpsOverloaded()
2376 case AtomicExpr::AO__c11_atomic_compare_exchange_weak: in SemaAtomicOpsOverloaded()
2380 case AtomicExpr::AO__atomic_compare_exchange: in SemaAtomicOpsOverloaded()
2381 case AtomicExpr::AO__atomic_compare_exchange_n: in SemaAtomicOpsOverloaded()
2604 AtomicExpr *AE = new (Context) AtomicExpr(TheCall->getCallee()->getLocStart(), in SemaAtomicOpsOverloaded()
2608 if ((Op == AtomicExpr::AO__c11_atomic_load || in SemaAtomicOpsOverloaded()
2609 (Op == AtomicExpr::AO__c11_atomic_store)) && in SemaAtomicOpsOverloaded()
2612 ((Op == AtomicExpr::AO__c11_atomic_load) ? 0 : 1); in SemaAtomicOpsOverloaded()