mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-22 20:36:20 +08:00
simplify-rtx.c: New file.
* simplify-rtx.c: New file. * Makefile.in (OBJS): Add simplify-rtx.o (simplify-rtx.o): Add dependencies. * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes. * cse.c: Use simplify_gen_binary intead of cse_gen_binary. (cse_gen_binary, simplify_unary_operation): Delete. (simplify_binary_operation, simplify_plus_minus): Likewise. (check_fold_consts, simplify_relation_operation): Likewise. (simplify_ternary_operation): Likewise. (delete_trivially_dead_insns): Simplify the contents of the REG_EQUAL note before trying to substitute it into the source of the reg-reg copy at the end of a libcall sequence. From-SVN: r30295
This commit is contained in:
parent
8fbe10354e
commit
0cedb36cbd
@ -7,6 +7,19 @@ Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* simplify-rtx.c: New file.
|
||||
* Makefile.in (OBJS): Add simplify-rtx.o
|
||||
(simplify-rtx.o): Add dependencies.
|
||||
* rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
|
||||
* cse.c: Use simplify_gen_binary intead of cse_gen_binary.
|
||||
(cse_gen_binary, simplify_unary_operation): Delete.
|
||||
(simplify_binary_operation, simplify_plus_minus): Likewise.
|
||||
(check_fold_consts, simplify_relation_operation): Likewise.
|
||||
(simplify_ternary_operation): Likewise.
|
||||
(delete_trivially_dead_insns): Simplify the contents of the
|
||||
REG_EQUAL note before trying to substitute it into the source
|
||||
of the reg-reg copy at the end of a libcall sequence.
|
||||
|
||||
* combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
|
||||
references/callers changed.
|
||||
|
||||
|
@ -667,7 +667,7 @@ OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \
|
||||
insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o \
|
||||
profile.o insn-attrtab.o $(out_object_file) $(EXTRA_OBJS) convert.o \
|
||||
mbchar.o dyn-string.o splay-tree.o graph.o sbitmap.o resource.o hash.o \
|
||||
lists.o ggc-common.o $(GGC)
|
||||
lists.o ggc-common.o $(GGC) simplify-rtx.o
|
||||
|
||||
# GEN files are listed separately, so they can be built before doing parallel
|
||||
# makes for cc1 or cc1plus. Otherwise sequent parallel make attempts to load
|
||||
@ -1532,6 +1532,9 @@ jump.o : jump.c $(CONFIG_H) system.h $(RTL_H) flags.h hard-reg-set.h $(REGS_H) \
|
||||
stupid.o : stupid.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h \
|
||||
$(BASIC_BLOCK_H) insn-config.h reload.h flags.h function.h toplev.h
|
||||
|
||||
simplify-rtx.o : simplify-rtx.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) \
|
||||
hard-reg-set.h flags.h real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h \
|
||||
output.h function.h
|
||||
cse.o : cse.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h flags.h \
|
||||
real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h output.h function.h \
|
||||
$(srcdir)/../include/hashtab.h ggc.h
|
||||
|
@ -1069,6 +1069,9 @@ extern rtx simplify_unary_operation PROTO((enum rtx_code, enum machine_mode, rtx
|
||||
extern rtx simplify_binary_operation PROTO((enum rtx_code, enum machine_mode, rtx, rtx));
|
||||
extern rtx simplify_ternary_operation PROTO((enum rtx_code, enum machine_mode, enum machine_mode, rtx, rtx, rtx));
|
||||
extern rtx simplify_relational_operation PROTO((enum rtx_code, enum machine_mode, rtx, rtx));
|
||||
extern rtx simplify_gen_binary PROTO((enum rtx_code, enum machine_mode,
|
||||
rtx, rtx));
|
||||
extern rtx simplify_rtx PROTO((rtx));
|
||||
extern rtx gen_move_insn PROTO((rtx, rtx));
|
||||
extern rtx gen_jump PROTO((rtx));
|
||||
extern rtx gen_beq PROTO((rtx));
|
||||
|
1953
gcc/simplify-rtx.c
Normal file
1953
gcc/simplify-rtx.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user