diff options
author | Martin Jambor <mjambor@suse.cz> | 2017-01-20 14:33:29 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2017-01-20 14:33:29 +0100 |
commit | 13293add082aa485e64228b5fd6dfbacc1d47929 (patch) | |
tree | c35b1ecb401a99594a1cb5d4996762b4e36ea7c5 /gcc | |
parent | aa348be2b0bd8d2f7f910337b9ad2de78ca39190 (diff) | |
download | gcc-13293add082aa485e64228b5fd6dfbacc1d47929.zip gcc-13293add082aa485e64228b5fd6dfbacc1d47929.tar.gz gcc-13293add082aa485e64228b5fd6dfbacc1d47929.tar.bz2 |
[hsa] Rename hsa.[ch] to hsa-common.[ch]
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/Makefile.in | 4 | ||||
-rw-r--r-- | gcc/hsa-brig.c | 2 | ||||
-rw-r--r-- | gcc/hsa-common.c (renamed from gcc/hsa.c) | 4 | ||||
-rw-r--r-- | gcc/hsa-common.h (renamed from gcc/hsa.h) | 2 | ||||
-rw-r--r-- | gcc/hsa-dump.c | 2 | ||||
-rw-r--r-- | gcc/hsa-gen.c | 2 | ||||
-rw-r--r-- | gcc/hsa-regalloc.c | 2 | ||||
-rw-r--r-- | gcc/ipa-hsa.c | 2 | ||||
-rw-r--r-- | gcc/omp-expand.c | 2 | ||||
-rw-r--r-- | gcc/omp-low.c | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
12 files changed, 29 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 38eeb5a..a273312 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 7a7e27a..df02246 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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, diff --git a/gcc/hsa-brig.c b/gcc/hsa-brig.c index 5fe302f..1a2d45f 100644 --- a/gcc/hsa-brig.c +++ b/gcc/hsa-brig.c @@ -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. */ diff --git a/gcc/hsa.c b/gcc/hsa-common.c index 2035ce4..95636eb 100644 --- a/gcc/hsa.c +++ b/gcc/hsa-common.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" diff --git a/gcc/hsa.h b/gcc/hsa-common.h index a74f2d9..a24bf6e 100644 --- a/gcc/hsa.h +++ b/gcc/hsa-common.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; diff --git a/gcc/hsa-dump.c b/gcc/hsa-dump.c index 1cd128e..e2ef586 100644 --- a/gcc/hsa-dump.c +++ b/gcc/hsa-dump.c @@ -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. */ diff --git a/gcc/hsa-gen.c b/gcc/hsa-gen.c index 632561d..7721fcc 100644 --- a/gcc/hsa-gen.c +++ b/gcc/hsa-gen.c @@ -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" diff --git a/gcc/hsa-regalloc.c b/gcc/hsa-regalloc.c index 5f2ac13..4d9441c 100644 --- a/gcc/hsa-regalloc.c +++ b/gcc/hsa-regalloc.c @@ -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. */ diff --git a/gcc/ipa-hsa.c b/gcc/ipa-hsa.c index 6a3f660..af70b0a 100644 --- a/gcc/ipa-hsa.c +++ b/gcc/ipa-hsa.c @@ -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 { diff --git a/gcc/omp-expand.c b/gcc/omp-expand.c index f0e9887..57d9fde 100644 --- a/gcc/omp-expand.c +++ b/gcc/omp-expand.c @@ -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 diff --git a/gcc/omp-low.c b/gcc/omp-low.c index e8d78a9..6d30ca6 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -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 diff --git a/gcc/toplev.c b/gcc/toplev.c index c0f1a2d..2335ad7 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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) |