Commit 2096478b authored by Matthias Braun's avatar Matthias Braun
Browse files

cleanup in firm_types.h

parent 031bf436
...@@ -64,9 +64,6 @@ typedef union ir_initializer_t ir_initializer_t, *ir_initializer_ptr; ...@@ -64,9 +64,6 @@ typedef union ir_initializer_t ir_initializer_t, *ir_initializer_ptr;
typedef void irg_walk_func(ir_node *, void *); typedef void irg_walk_func(ir_node *, void *);
typedef void irg_reg_walk_func(ir_region *, void *); typedef void irg_reg_walk_func(ir_region *, void *);
/* settings */
typedef struct ir_settings_arch_dep_t ir_settings_arch_dep_t;
/* Needed for MSVC to suppress warnings because it doest NOT handle const right. */ /* Needed for MSVC to suppress warnings because it doest NOT handle const right. */
typedef const ir_node *ir_node_cnst_ptr; typedef const ir_node *ir_node_cnst_ptr;
......
...@@ -58,7 +58,7 @@ typedef int (*evaluate_costs_func)(insn_kind kind, const ir_mode *mode, ir_tarva ...@@ -58,7 +58,7 @@ typedef int (*evaluate_costs_func)(insn_kind kind, const ir_mode *mode, ir_tarva
* A parameter structure that drives the machine dependent Firm * A parameter structure that drives the machine dependent Firm
* optimizations. * optimizations.
*/ */
struct ir_settings_arch_dep_t { typedef struct ir_settings_arch_dep_t {
/* Mul optimization */ /* Mul optimization */
unsigned also_use_subs : 1; /**< Use also Subs when resolving Muls to shifts */ unsigned also_use_subs : 1; /**< Use also Subs when resolving Muls to shifts */
unsigned maximum_shifts; /**< The maximum number of shifts that shall be inserted for a mul. */ unsigned maximum_shifts; /**< The maximum number of shifts that shall be inserted for a mul. */
...@@ -72,7 +72,7 @@ struct ir_settings_arch_dep_t { ...@@ -72,7 +72,7 @@ struct ir_settings_arch_dep_t {
unsigned allow_mulhu : 1; /**< Use the Mulhu operation for division by constant */ unsigned allow_mulhu : 1; /**< Use the Mulhu operation for division by constant */
unsigned max_bits_for_mulh; /**< Maximum number of bits the Mulh operation can take. unsigned max_bits_for_mulh; /**< Maximum number of bits the Mulh operation can take.
Modes with higher amount of bits will use Mulh */ Modes with higher amount of bits will use Mulh */
}; } ir_settings_arch_dep_t;
/** /**
* A factory function, that provides architecture parameters for * A factory function, that provides architecture parameters for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment