Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
2096478b
Commit
2096478b
authored
Sep 22, 2011
by
Matthias Braun
Browse files
cleanup in firm_types.h
parent
031bf436
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/firm_types.h
View file @
2096478b
...
...
@@ -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_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. */
typedef
const
ir_node
*
ir_node_cnst_ptr
;
...
...
include/libfirm/irarch.h
View file @
2096478b
...
...
@@ -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
* optimizations.
*/
struct
ir_settings_arch_dep_t
{
typedef
struct
ir_settings_arch_dep_t
{
/* Mul optimization */
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. */
...
...
@@ -72,7 +72,7 @@ struct ir_settings_arch_dep_t {
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.
Modes with higher amount of bits will use Mulh */
};
}
ir_settings_arch_dep_t
;
/**
* A factory function, that provides architecture parameters for
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment