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
2061cd93
Commit
2061cd93
authored
Jan 05, 2013
by
Christoph Mallon
Browse files
be: Dump register assignments at the inputs of nodes.
parent
13481c7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bearch.c
View file @
2061cd93
...
...
@@ -233,7 +233,9 @@ void arch_dump_reqs_and_registers(FILE *F, const ir_node *node)
const
arch_register_req_t
*
req
=
arch_get_irn_register_req_in
(
node
,
i
);
fprintf
(
F
,
"inreq #%d = "
,
i
);
arch_dump_register_req
(
F
,
req
,
node
);
fputs
(
"
\n
"
,
F
);
ir_node
*
const
op
=
get_irn_n
(
node
,
i
);
arch_register_t
const
*
const
reg
=
be_get_info
(
skip_Proj_const
(
op
))
->
out_infos
?
arch_get_irn_register
(
op
)
:
NULL
;
fprintf
(
F
,
" [%s]
\n
"
,
reg
?
reg
->
name
:
"n/a"
);
}
be_foreach_out
(
node
,
o
)
{
const
arch_register_req_t
*
req
=
arch_get_irn_register_req_out
(
node
,
o
);
...
...
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