*** empty log message ***
[libfirm] / ir / ir / irmode_t.h
1
2 # ifndef _IRMODE_T_H_
3 # define _IRMODE_T_H_
4
5 # include "irmode.h"
6
7 struct ir_mode {
8   modecode code;
9   ident *name;            /* Name of this mode */
10   int    size;            /* size of the mode in Bytes. */
11   int    ld_align;        /* ld means log2 */
12   tarval *min;            /* largest value to be represented by this mode */
13   tarval *max;            /* smallest value to be represented by this mode */
14   tarval *null;           /* Representation of zero in this mode */
15   unsigned fsigned:1;     /* signedness of this mode */
16   unsigned ffloat:1;      /* true if this is a float */
17 };
18
19
20 void init_mode (void);
21
22 #endif