diff options
author | Nathan Sidwell <nathan@acm.org> | 2015-12-15 20:46:37 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-12-15 20:46:37 +0000 |
commit | 1f0659546bcf5b95c3263cdc73149f6c2a05ebe1 (patch) | |
tree | d0a23bb9a9a7efb5ef9976ff502db9fbb183f3a4 /gcc/tree.c | |
parent | b110e777bd7dbccc5e73a7955263c4c969155a16 (diff) | |
download | gcc-1f0659546bcf5b95c3263cdc73149f6c2a05ebe1.zip gcc-1f0659546bcf5b95c3263cdc73149f6c2a05ebe1.tar.gz gcc-1f0659546bcf5b95c3263cdc73149f6c2a05ebe1.tar.bz2 |
nvptx.c (write_one_arg): Rename to ...
* config/nvptx/nvptx.c (write_one_arg): Rename to ...
(write_arg_mode): ... here. Update callers.
(write_arg): Rename to ...
(write__arg_type): ... here. Update callers.
(write_return_mode): New fn, broken out of ...
(write_return): ... here. Rename to ...
(write_return_type): ... here. Call it. Update callers.
(write_fn_proto_from_insn): Use write_arg_mode and
write_return_mode.
(init_frame): New fn.
(nvptx_declare_function_name): Call it for frame and varargs. Only
emit outgoing static chain, if it's live.
(nvptx_output_return): Use reg_names for return reg name.
(nvptx_output_call_insn): Likewise.
(nvptx_reorg): Mark unused hard regs too.
From-SVN: r231663
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions