- constify
[libfirm] / ir / ir / irtypes.h
index 2652e14..671b4ee 100644 (file)
@@ -174,7 +174,7 @@ typedef struct {
 
 /** Sel attributes. */
 typedef struct {
-       ir_entity *ent;    /**< entity to select */
+       ir_entity *entity;    /**< entity to select */
 } sel_attr;
 
 /** Exception attributes. */
@@ -190,7 +190,7 @@ typedef struct {
 /** Call attributes. */
 typedef struct {
        except_attr    exc;           /**< the exception attribute. MUST be the first one. */
-       ir_type *cld_tp;              /**< type of called procedure */
+       ir_type *type;                /**< type of called procedure */
        ir_entity ** callee_arr;      /**< result of callee analysis */
 } call_attr;
 
@@ -198,7 +198,7 @@ typedef struct {
 typedef struct {
        except_attr     exc;           /**< the exception attribute. MUST be the first one. */
        ir_builtin_kind kind;          /**< kind of the called builtin procedure */
-       ir_type         *builtin_tp;   /**< type of called builtin procedure */
+       ir_type         *type;         /**< type of called builtin procedure */
 } builtin_attr;
 
 /** Alloc attributes. */
@@ -234,7 +234,7 @@ typedef struct {
 
 /** Cast attributes. */
 typedef struct {
-       ir_type *totype;              /**< Type of the casted node. */
+       ir_type *type;                /**< Type of the casted node. */
 } cast_attr;
 
 /** Load attributes. */
@@ -242,7 +242,7 @@ typedef struct {
        except_attr   exc;            /**< The exception attribute. MUST be the first one. */
     unsigned      volatility:1;   /**< The volatility of this Load operation. */
     unsigned      aligned:1;      /**< The align attribute of this Load operation. */
-       ir_mode       *load_mode;     /**< The mode of this Load operation. */
+       ir_mode       *mode;          /**< The mode of this Load operation. */
 } load_attr;
 
 /** Store attributes. */
@@ -274,7 +274,7 @@ typedef struct {
 /** CopyB attribute. */
 typedef struct {
        except_attr    exc;           /**< The exception attribute. MUST be the first one. */
-       ir_type        *data_type;    /**< Type of the copied entity. */
+       ir_type        *type;         /**< Type of the copied entity. */
 } copyb_attr;
 
 /** Bound attribute. */
@@ -290,7 +290,7 @@ typedef struct {
 /** Div/Mod/DivMod/Quot attribute. */
 typedef struct {
        except_attr    exc;           /**< The exception attribute. MUST be the first one. */
-       ir_mode        *res_mode;     /**< Result mode for the division. */
+       ir_mode        *resmode;      /**< Result mode for the division. */
        char           no_remainder;  /**< Set, if known that a division can be done without a remainder. */
 } divmod_attr;