X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Fentity.h;h=c319920cd1d3d221be5ce2c3e068353056851c3c;hb=6ce54897086db42a2f4a59d946e9895954cc9ef3;hp=656effca97f856af9b89ceecc6e10e3fa4f5f00f;hpb=911e90b3eb1f953a3aa123706030862f5cd08577;p=libfirm diff --git a/ir/tr/entity.h b/ir/tr/entity.h index 656effca9..c319920cd 100644 --- a/ir/tr/entity.h +++ b/ir/tr/entity.h @@ -598,4 +598,8 @@ typedef enum acc_bits { ptr_access_all = ptr_access_rw|ptr_access_store /**< all possible access */ } ptr_access_kind; +#define IS_READ(a) ((a) & ptr_access_read) +#define IS_WRITTEN(a) ((a) & ptr_access_write) +#define IS_STORED(a) ((a) & ptr_access_store) + #endif /* _ENTITY_H_ */