24#define MEMMODEL_MASK ((1<<16)-1)
30#define MEMMODEL_SYNC (1<<15)
33#define MEMMODEL_BASE_MASK (MEMMODEL_SYNC-1)
enum memmodel memmodel_from_int(unsigned HOST_WIDE_INT val)
Definition memmodel.h:55
bool is_mm_sync(enum memmodel model)
Definition memmodel.h:111
memmodel
Definition memmodel.h:38
@ MEMMODEL_ACQUIRE
Definition memmodel.h:41
@ MEMMODEL_SYNC_RELEASE
Definition memmodel.h:47
@ MEMMODEL_MAX
Definition memmodel.h:50
@ MEMMODEL_ACQ_REL
Definition memmodel.h:43
@ MEMMODEL_CONSUME
Definition memmodel.h:40
@ MEMMODEL_SYNC_SEQ_CST
Definition memmodel.h:48
@ MEMMODEL_RELAXED
Definition memmodel.h:39
@ MEMMODEL_SEQ_CST
Definition memmodel.h:44
@ MEMMODEL_RELEASE
Definition memmodel.h:42
@ MEMMODEL_SYNC_ACQUIRE
Definition memmodel.h:46
@ MEMMODEL_LAST
Definition memmodel.h:45
bool is_mm_release(enum memmodel model)
Definition memmodel.h:90
bool is_mm_acq_rel(enum memmodel model)
Definition memmodel.h:97
#define MEMMODEL_BASE_MASK
Definition memmodel.h:33
bool is_mm_seq_cst(enum memmodel model)
Definition memmodel.h:104
bool is_mm_relaxed(enum memmodel model)
Definition memmodel.h:69
bool is_mm_acquire(enum memmodel model)
Definition memmodel.h:83
#define MEMMODEL_SYNC
Definition memmodel.h:30
enum memmodel memmodel_base(unsigned HOST_WIDE_INT val)
Definition memmodel.h:62
#define MEMMODEL_MASK
Definition memmodel.h:24
bool is_mm_consume(enum memmodel model)
Definition memmodel.h:76
#define INTTYPE_MAXIMUM(t)
Definition system.h:337