]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[hsa] Rename hsa.[ch] to hsa-common.[ch]
authorMartin Jambor <mjambor@suse.cz>
Fri, 20 Jan 2017 13:33:29 +0000 (14:33 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 20 Jan 2017 13:33:29 +0000 (14:33 +0100)
2017-01-20  Martin Jambor  <mjambor@suse.cz>

        * hsa.h: Renaed to hsa-common.h.  Adjusted a comment.
        * hsa.c: Renaed to hsa-common.c.  Change include of gt-hsa.h to
        gt-hsa-common.h.
        * Makefile.in (OBJS): Rename hsa.o to hsa-common.o.
        (GTFILES): Rename hsa.c to hsa-common.c.
        * hsa-brig.c: Change include of hsa.h to hsa-common.h.
        * hsa-dump.c: Likewise.
        * hsa-gen.c: Likewise.
        * hsa-regalloc.c: Likewise.
        * ipa-hsa.c: Likewise.
        * omp-expand.c: Likewise.
        * omp-low.c: Likewise.
        * toplev.c: Likewise.

From-SVN: r244711

12 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/hsa-brig.c
gcc/hsa-common.c [moved from gcc/hsa.c with 99% similarity]
gcc/hsa-common.h [moved from gcc/hsa.h with 99% similarity]
gcc/hsa-dump.c
gcc/hsa-gen.c
gcc/hsa-regalloc.c
gcc/ipa-hsa.c
gcc/omp-expand.c
gcc/omp-low.c
gcc/toplev.c

index 38eeb5a21b9af9ca23b2609a044f54c72b38bbee..a27331249b8ef017eccb37d6066bb94162923293 100644 (file)
@@ -1,3 +1,19 @@
+2017-01-20  Martin Jambor  <mjambor@suse.cz>
+
+        * hsa.h: Renaed to hsa-common.h.  Adjusted a comment.
+        * hsa.c: Renaed to hsa-common.c.  Change include of gt-hsa.h to
+        gt-hsa-common.h.
+        * Makefile.in (OBJS): Rename hsa.o to hsa-common.o.
+        (GTFILES): Rename hsa.c to hsa-common.c.
+        * hsa-brig.c: Change include of hsa.h to hsa-common.h.
+        * hsa-dump.c: Likewise.
+        * hsa-gen.c: Likewise.
+        * hsa-regalloc.c: Likewise.
+        * ipa-hsa.c: Likewise.
+        * omp-expand.c: Likewise.
+        * omp-low.c: Likewise.
+        * toplev.c: Likewise.
+
 2017-01-20  Marek Polacek  <polacek@redhat.com>
 
        PR c/64279
index 7a7e27ac2955c227dfc0914c959d06a2ebf7aef6..df02246e31e3d37ed919b96016780db58d0d3afd 100644 (file)
@@ -1320,7 +1320,7 @@ OBJS = \
        haifa-sched.o \
        hash-map-tests.o \
        hash-set-tests.o \
-       hsa.o \
+       hsa-common.o \
        hsa-gen.o \
        hsa-regalloc.o \
        hsa-brig.o \
@@ -2508,7 +2508,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
   $(srcdir)/sancov.c \
   $(srcdir)/ipa-devirt.c \
   $(srcdir)/internal-fn.h \
-  $(srcdir)/hsa.c \
+  $(srcdir)/hsa-common.c \
   @all_gtfiles@
 
 # Compute the list of GT header files from the corresponding C sources,
index 5fe302f25f5b0b1ed6e7ca847af7a192a4dc8aa2..1a2d45fcc527216c517d865dec5628ed5a9aec6d 100644 (file)
@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "dumpfile.h"
 #include "print-tree.h"
 #include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
 #include "gomp-constants.h"
 
 /* Convert VAL to little endian form, if necessary.  */
similarity index 99%
rename from gcc/hsa.c
rename to gcc/hsa-common.c
index 2035ce446a15f14bd9fa0ddb9b29bebb1032957b..95636ebc9a83d0afa076f1b55dcb2a2c64834424 100644 (file)
--- a/gcc/hsa.c
@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "print-tree.h"
 #include "stringpool.h"
 #include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
 #include "internal-fn.h"
 #include "ctype.h"
 #include "builtins.h"
@@ -991,4 +991,4 @@ hsa_internal_fn::get_argument_type (int n)
     }
 }
 
-#include "gt-hsa.h"
+#include "gt-hsa-common.h"
similarity index 99%
rename from gcc/hsa.h
rename to gcc/hsa-common.h
index a74f2d9553bb0b4743dfe2e94ead9805402e5497..a24bf6e5ad178b1d8fcbf0cfd6f0e4c394caece9 100644 (file)
--- a/gcc/hsa.h
@@ -1309,7 +1309,7 @@ hsa_internal_fn_hasher::equal (const value_type a, const compare_type b)
   return a->m_fn == b->m_fn && a->m_type_bit_size == b->m_type_bit_size;
 }
 
-/* in hsa.c */
+/* in hsa-common.c */
 extern struct hsa_function_representation *hsa_cfun;
 extern hash_map <tree, vec <const char *> *> *hsa_decl_kernel_dependencies;
 extern hsa_summary_t *hsa_summaries;
index 1cd128ea3b42697036687dfd7b249b4033eef31f..e2ef58693c9601961f4f2a46f74a7fc69e234a31 100644 (file)
@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "cgraph.h"
 #include "print-tree.h"
 #include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
 
 /* Return textual name of TYPE.  */
 
index 632561d5e45df6d2456c57feb1bb38820f20659e..7721fcc933415f1ba430341b5d693ebe0d29b252 100644 (file)
@@ -49,7 +49,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "cgraph.h"
 #include "print-tree.h"
 #include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
 #include "cfghooks.h"
 #include "tree-cfg.h"
 #include "cfgloop.h"
index 5f2ac13c8239696421db309097583f04e2477021..4d9441c91d4efd51783de08824dbc3ebe2d3cb5d 100644 (file)
@@ -35,7 +35,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "print-tree.h"
 #include "cfghooks.h"
 #include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
 
 
 /* Process a PHI node PHI of basic block BB as a part of naive out-f-ssa.  */
index 6a3f660672e7d234962d6f21dae8897836c335c6..af70b0a92307fc3a50c0c5ece4593e4b25410f9d 100644 (file)
@@ -41,7 +41,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "cgraph.h"
 #include "print-tree.h"
 #include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
 
 namespace {
 
index f0e98873e28127cdd6fc666596bf126a7dadb01a..57d9fdea85ace02dff364bd9ee72953e01b6983c 100644 (file)
@@ -56,7 +56,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "cilk.h"
 #include "gomp-constants.h"
 #include "gimple-pretty-print.h"
-#include "hsa.h"
+#include "hsa-common.h"
 
 
 /* OMP region information.  Every parallel and workshare
index e8d78a91abc9463c7f626655d7a91a77832d27c2..6d30ca617b32d5bb8d2fff792b4aa5ad1690c983 100644 (file)
@@ -57,7 +57,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "context.h"
 #include "gomp-constants.h"
 #include "gimple-pretty-print.h"
-#include "hsa.h"
+#include "hsa-common.h"
 
 /* Lowering of OMP parallel and workshare constructs proceeds in two
    phases.  The first phase scans the function looking for OMP statements
index c0f1a2df517c991910e388400bab8d01604c21a9..2335ad716ae7bb8449c49cd2036a8d5cbb7bc60f 100644 (file)
@@ -77,7 +77,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "gcse.h"
 #include "tree-chkp.h"
 #include "omp-offload.h"
-#include "hsa.h"
+#include "hsa-common.h"
 #include "edit-context.h"
 
 #if defined(DBX_DEBUGGING_INFO) || defined(XCOFF_DEBUGGING_INFO)