Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
943eb501
Commit
943eb501
authored
Oct 13, 2008
by
Michael Beck
Browse files
- Fixed doxygen comment
[r22855]
parent
146262bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irarch.h
View file @
943eb501
...
...
@@ -109,16 +109,8 @@ void arch_dep_init(arch_dep_params_factory_t factory);
void
arch_dep_set_opts
(
arch_dep_opts_t
opts
);
/**
* Replace Muls with Shifts and Add/Subs.
* This function is driven by the 3 parameters:
* - also_use_subs
* - maximum_shifts
* - highest_shift_amount
*
* If irn is a Mul with a Const, the constant is inspected if it meets the
* requirements of the three variables stated above. If a Shl/Add/Sub
* sequence can be generated that meets these requirements, this expression
* is returned. In each other case irn is returned unmodified.
* Replace Muls with Lea/Shifts/Add/Subs if these
* have smaller costs than the original multiplication.
*
* @param irn The Firm node to inspect.
* @return A replacement expression for irn.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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