Home
last modified time | relevance | path

Searched refs:AtomicOrderingCABI (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/Support/
DAtomicOrdering.h29 enum class AtomicOrderingCABI { enum
38 bool operator<(AtomicOrderingCABI, AtomicOrderingCABI) = delete;
39 bool operator>(AtomicOrderingCABI, AtomicOrderingCABI) = delete;
40 bool operator<=(AtomicOrderingCABI, AtomicOrderingCABI) = delete;
41 bool operator>=(AtomicOrderingCABI, AtomicOrderingCABI) = delete;
46 return (Int)AtomicOrderingCABI::relaxed <= I && in isValidAtomicOrderingCABI()
47 I <= (Int)AtomicOrderingCABI::seq_cst; in isValidAtomicOrderingCABI()
137 static inline AtomicOrderingCABI toCABI(AtomicOrdering ao) { in toCABI()
138 static const AtomicOrderingCABI lookup[8] = { in toCABI()
139 /* NotAtomic */ AtomicOrderingCABI::relaxed, in toCABI()
[all …]
/external/clang/lib/CodeGen/
DCGAtomic.cpp417 switch ((llvm::AtomicOrderingCABI)FOS) { in emitAtomicCmpXchgFailureSet()
418 case llvm::AtomicOrderingCABI::relaxed: in emitAtomicCmpXchgFailureSet()
419 case llvm::AtomicOrderingCABI::release: in emitAtomicCmpXchgFailureSet()
420 case llvm::AtomicOrderingCABI::acq_rel: in emitAtomicCmpXchgFailureSet()
423 case llvm::AtomicOrderingCABI::consume: in emitAtomicCmpXchgFailureSet()
424 case llvm::AtomicOrderingCABI::acquire: in emitAtomicCmpXchgFailureSet()
427 case llvm::AtomicOrderingCABI::seq_cst: in emitAtomicCmpXchgFailureSet()
471 SI->addCase(CGF.Builder.getInt32((int)llvm::AtomicOrderingCABI::consume), in emitAtomicCmpXchgFailureSet()
473 SI->addCase(CGF.Builder.getInt32((int)llvm::AtomicOrderingCABI::acquire), in emitAtomicCmpXchgFailureSet()
481 SI->addCase(CGF.Builder.getInt32((int)llvm::AtomicOrderingCABI::seq_cst), in emitAtomicCmpXchgFailureSet()
[all …]
/external/clang/lib/Sema/
DSemaChecking.cpp2254 auto OrderingCABI = (llvm::AtomicOrderingCABI)Ordering; in isValidOrderingForOp()
2262 return OrderingCABI != llvm::AtomicOrderingCABI::release && in isValidOrderingForOp()
2263 OrderingCABI != llvm::AtomicOrderingCABI::acq_rel; in isValidOrderingForOp()
2268 return OrderingCABI != llvm::AtomicOrderingCABI::consume && in isValidOrderingForOp()
2269 OrderingCABI != llvm::AtomicOrderingCABI::acquire && in isValidOrderingForOp()
2270 OrderingCABI != llvm::AtomicOrderingCABI::acq_rel; in isValidOrderingForOp()