]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/builtins.c
* emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 May 2003 14:25:22 +0000 (14:25 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 May 2003 14:25:22 +0000 (14:25 +0000)
commitd5f9786fae594d6d9f449e98620f3009d9a6710d
tree7ad4bd29e44c9c37b87311753f154d5fa72e515b
parentfcf31ac6ce1b003bd96382d41e617bf1a803aff2
* emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
* rtl.h (last_call_insn, add_function_usage_to): New prototypes.
* builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
* calls.c (emit_call_1): Likewise.
(expand_call): For calls initializing constant memory, replace
emission of standalone mem /u clobber with function usage entry.
* expr.c (emit_block_move_via_libcall): Likewise.
* cse.c (count_reg_usage, case EXPR_LIST): New case.
* flow.c (propagate_one_insn): Pass entire operand of
CALL_INSN_FUNCTION_USAGE to mark_used_regs.
* integrate.c (try_constants): For CALL_INSNs, substitute constants
within the FUNCTION_USAGE also.
* loop.c (prescan_loop): Note clobbers of const mem mentioned in
FUNCTION_USAGE lists.
* reload1.c (replace_pseudos_in): Renamed.
(reload): Use it for clobbers surviving until the end of the reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66429 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/calls.c
gcc/cse.c
gcc/emit-rtl.c
gcc/expr.c
gcc/flow.c
gcc/integrate.c
gcc/loop.c
gcc/reload1.c
gcc/rtl.h