aboutsummaryrefslogtreecommitdiff
path: root/gcc/cselib.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-04-17 01:07:12 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2003-04-17 01:07:12 +0000
commit60fa6660d8c9099c8e4b5f1cb08cc0190952ca4e (patch)
tree734df64947b1d93b8aba3d34f7bad616eb0950ba /gcc/cselib.h
parente34d367d2d352f944ef2df4beea0e39e5ede02ce (diff)
downloadgcc-60fa6660d8c9099c8e4b5f1cb08cc0190952ca4e.zip
gcc-60fa6660d8c9099c8e4b5f1cb08cc0190952ca4e.tar.gz
gcc-60fa6660d8c9099c8e4b5f1cb08cc0190952ca4e.tar.bz2
reload1.c (reload_cse_noop_set_p): Return false if mode of SET_DEST is not the same as that returned by...
* reload1.c (reload_cse_noop_set_p): Return false if mode of SET_DEST is not the same as that returned by... * cselib.h (cselib_reg_set_mode): ... new function. * cselib.c (cselib_reg_set_mode): Define it. (REG_VALUES): Document semantics of first element as set mode. (cselib_subst_to_values): Skip first element if ELT is NULL. (cselib_lookup): Likewise. Insert past the first element. (cselib_invalidate_regno): NULLify first element. (cselib_record_set): Set first element. From-SVN: r65713
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r--gcc/cselib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h
index 9cceddb..073384d 100644
--- a/gcc/cselib.h
+++ b/gcc/cselib.h
@@ -1,6 +1,6 @@
/* Common subexpression elimination for GNU compiler.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999 Free Software Foundation, Inc.
+ 1999, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -67,6 +67,7 @@ extern void cselib_update_varray_sizes PARAMS ((void));
extern void cselib_init PARAMS ((void));
extern void cselib_finish PARAMS ((void));
extern void cselib_process_insn PARAMS ((rtx));
+extern enum machine_mode cselib_reg_set_mode PARAMS ((rtx));
extern int rtx_equal_for_cselib_p PARAMS ((rtx, rtx));
extern int references_value_p PARAMS ((rtx, int));
extern rtx cselib_subst_to_values PARAMS ((rtx));