aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlhash.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-08-01 02:51:57 +0000
committerAndi Kleen <ak@gcc.gnu.org>2014-08-01 02:51:57 +0000
commitf768061c4c0d179bb44984e1c20a3bee15faeb1a (patch)
treee3029eaf9c62844fda4c9e4772c56a84c9882344 /gcc/rtlhash.h
parent50de5793fc6004bb8bf6f00e0f02e318f242ca2d (diff)
downloadgcc-f768061c4c0d179bb44984e1c20a3bee15faeb1a.zip
gcc-f768061c4c0d179bb44984e1c20a3bee15faeb1a.tar.gz
gcc-f768061c4c0d179bb44984e1c20a3bee15faeb1a.tar.bz2
RTL & dwarf2out changes
Convert dwarf2out and rtl.c to the new inchash interface. gcc/: 2014-07-31 Andi Kleen <ak@linux.intel.com> * Makefile.in (OBJS): Add rtlhash.o * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash. (loc_checksum): Dito. (loc_checksum_ordered): Dito. (hash_loc_operands): Dito. (hash_locs): Dito. (hash_loc_list): Dito. * rtl.c (iterative_hash_rtx): Moved to rtlhash.c * rtl.h (iterative_hash_rtx): Moved to rtlhash.h * rtlhash.c: New file. * rtlhash.h: New file. From-SVN: r213395
Diffstat (limited to 'gcc/rtlhash.h')
-rw-r--r--gcc/rtlhash.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc/rtlhash.h b/gcc/rtlhash.h
new file mode 100644
index 0000000..158a2c2
--- /dev/null
+++ b/gcc/rtlhash.h
@@ -0,0 +1,32 @@
+/* Register Transfer Language (RTL) hash functions.
+ Copyright (C) 1987-2014 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+#ifndef RTL_HASH_H
+#define RTL_HASH_H 1
+
+#include "inchash.h"
+
+namespace inchash
+{
+
+extern void add_rtx (const_rtx, hash &);
+
+}
+
+#endif