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