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
ced365e6
Commit
ced365e6
authored
Jun 04, 2016
by
Raphael von der Grün
Committed by
yb9976
Jun 14, 2016
Browse files
proc_cloning: Simplfy walk over all nodes of all irgs
parent
929d93cf
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/opt/proc_cloning.c
View file @
ced365e6
...
...
@@ -600,9 +600,7 @@ void proc_cloning(float threshold)
hmap
.
heavy_uses
=
NULL
;
/* initially fill our map by visiting all irgs */
foreach_irp_irg
(
i
,
irg
)
{
irg_walk_graph
(
irg
,
collect_irg_calls
,
NULL
,
&
hmap
);
}
all_irg_walk
(
collect_irg_calls
,
NULL
,
&
hmap
);
/* We have the "Call" nodes to optimize in set "set_entries". Our algorithm
replace one constant parameter and make a new "Call" node for all found "Calls". It exchange the
...
...
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