nvptx-protos.h (nvptx_record_needed_decl): Don't declaree.
authorNathan Sidwell <nathan@acm.org>
Fri, 27 Nov 2015 13:57:09 +0000 (13:57 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 27 Nov 2015 13:57:09 +0000 (13:57 +0000)
commit00e5241831c1227615a45b7bcba29c393671cb3f
tree2f56b0db575f922105988159228e63ec4aad4e9c
parentf574fc3ac5a136886dbdaf5124326d744f1e06de
nvptx-protos.h (nvptx_record_needed_decl): Don't declaree.

* config/nvptx/nvptx-protos.h (nvptx_record_needed_decl): Don't
declaree.
* config/nvptx/nvptx.c (write_func_decl_from_insn): Move earlier.
(nvptx_record_fndecl): Don't return value, remove force
argyment. Require fndecl.
(nvptx_record_libfunc): New.
(nvptx_record_needed_decl): Deteermine how to record decl here.
(nvptx_maybe_record_fnsym): New.
(nvptx_expand_call): Don't record libfuncs here,
(nvptx_maybe_convert_symbolic_operand): Use
nvptx_maye_record_fnsym.
(nvptx_assemble_integer): Reimplement with single switch.
(nvptx_output_call_insn): Register libfuncs here.
(nvptx_file_end): Adjust  nvptx_record_fndecl call.
* config/nvptx/nvptx.md (expand_movdi): Don't call
nvptx_record_needed_decl.

From-SVN: r231013
gcc/ChangeLog
gcc/config/nvptx/nvptx-protos.h
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.md