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