set_ia32_op_type() want ia32_AddrModeS, not ia32_am_Source (though they happen to...
[libfirm] / ir / be / ia32 / ia32_nodes_attr.h
index 199af9a..5bd3ca2 100644 (file)
@@ -52,13 +52,12 @@ typedef     enum {
 typedef enum {
        ia32_am_arity_none = 0,
        ia32_am_unary      = 1,
-       ia32_am_binary     = 2,
-       ia32_am_ternary    = 3,
+       ia32_am_binary     = 2
 } ia32_am_arity_t;
 
 typedef enum {
        match_commutative       = 1 << 0,   /**< inputs are commutative */
-       match_am_and_immediates = 1 << 1,   /**< mode support AM and immediate at
+       match_am_and_immediates = 1 << 1,   /**< node supports AM and immediate at
                                                 the same time */
        match_am                = 1 << 2,   /**< node supports (32bit) source AM */
        match_8bit_am           = 1 << 3,   /**< node supports 8bit source AM */
@@ -117,6 +116,9 @@ struct ia32_attr_t {
                unsigned ins_permuted : 1;      /**< inputs of node have been permuted
                                                     (for commutative nodes) */
                unsigned cmp_unsigned : 1;      /**< compare should be unsigned */
+               unsigned is_reload : 1;         /**< node performs a reload */
+               unsigned is_spill : 1;
+               unsigned is_remat : 1;
        } data;
 
        int       *out_flags;     /**< flags for each produced value */