Commit 13293add by Martin Jambor Committed by Martin Jambor

[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
parent aa348be2
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> 2017-01-20 Marek Polacek <polacek@redhat.com>
PR c/64279 PR c/64279
......
...@@ -1320,7 +1320,7 @@ OBJS = \ ...@@ -1320,7 +1320,7 @@ OBJS = \
haifa-sched.o \ haifa-sched.o \
hash-map-tests.o \ hash-map-tests.o \
hash-set-tests.o \ hash-set-tests.o \
hsa.o \ hsa-common.o \
hsa-gen.o \ hsa-gen.o \
hsa-regalloc.o \ hsa-regalloc.o \
hsa-brig.o \ hsa-brig.o \
...@@ -2508,7 +2508,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \ ...@@ -2508,7 +2508,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
$(srcdir)/sancov.c \ $(srcdir)/sancov.c \
$(srcdir)/ipa-devirt.c \ $(srcdir)/ipa-devirt.c \
$(srcdir)/internal-fn.h \ $(srcdir)/internal-fn.h \
$(srcdir)/hsa.c \ $(srcdir)/hsa-common.c \
@all_gtfiles@ @all_gtfiles@
# Compute the list of GT header files from the corresponding C sources, # Compute the list of GT header files from the corresponding C sources,
......
...@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. If not see
#include "dumpfile.h" #include "dumpfile.h"
#include "print-tree.h" #include "print-tree.h"
#include "symbol-summary.h" #include "symbol-summary.h"
#include "hsa.h" #include "hsa-common.h"
#include "gomp-constants.h" #include "gomp-constants.h"
/* Convert VAL to little endian form, if necessary. */ /* Convert VAL to little endian form, if necessary. */
......
...@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see
#include "print-tree.h" #include "print-tree.h"
#include "stringpool.h" #include "stringpool.h"
#include "symbol-summary.h" #include "symbol-summary.h"
#include "hsa.h" #include "hsa-common.h"
#include "internal-fn.h" #include "internal-fn.h"
#include "ctype.h" #include "ctype.h"
#include "builtins.h" #include "builtins.h"
...@@ -991,4 +991,4 @@ hsa_internal_fn::get_argument_type (int n) ...@@ -991,4 +991,4 @@ hsa_internal_fn::get_argument_type (int n)
} }
} }
#include "gt-hsa.h" #include "gt-hsa-common.h"
...@@ -1309,7 +1309,7 @@ hsa_internal_fn_hasher::equal (const value_type a, const compare_type b) ...@@ -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; 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 struct hsa_function_representation *hsa_cfun;
extern hash_map <tree, vec <const char *> *> *hsa_decl_kernel_dependencies; extern hash_map <tree, vec <const char *> *> *hsa_decl_kernel_dependencies;
extern hsa_summary_t *hsa_summaries; extern hsa_summary_t *hsa_summaries;
......
...@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h" #include "cgraph.h"
#include "print-tree.h" #include "print-tree.h"
#include "symbol-summary.h" #include "symbol-summary.h"
#include "hsa.h" #include "hsa-common.h"
/* Return textual name of TYPE. */ /* Return textual name of TYPE. */
......
...@@ -49,7 +49,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -49,7 +49,7 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h" #include "cgraph.h"
#include "print-tree.h" #include "print-tree.h"
#include "symbol-summary.h" #include "symbol-summary.h"
#include "hsa.h" #include "hsa-common.h"
#include "cfghooks.h" #include "cfghooks.h"
#include "tree-cfg.h" #include "tree-cfg.h"
#include "cfgloop.h" #include "cfgloop.h"
......
...@@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see
#include "print-tree.h" #include "print-tree.h"
#include "cfghooks.h" #include "cfghooks.h"
#include "symbol-summary.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. */ /* Process a PHI node PHI of basic block BB as a part of naive out-f-ssa. */
......
...@@ -41,7 +41,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -41,7 +41,7 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h" #include "cgraph.h"
#include "print-tree.h" #include "print-tree.h"
#include "symbol-summary.h" #include "symbol-summary.h"
#include "hsa.h" #include "hsa-common.h"
namespace { namespace {
......
...@@ -56,7 +56,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -56,7 +56,7 @@ along with GCC; see the file COPYING3. If not see
#include "cilk.h" #include "cilk.h"
#include "gomp-constants.h" #include "gomp-constants.h"
#include "gimple-pretty-print.h" #include "gimple-pretty-print.h"
#include "hsa.h" #include "hsa-common.h"
/* OMP region information. Every parallel and workshare /* OMP region information. Every parallel and workshare
......
...@@ -57,7 +57,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -57,7 +57,7 @@ along with GCC; see the file COPYING3. If not see
#include "context.h" #include "context.h"
#include "gomp-constants.h" #include "gomp-constants.h"
#include "gimple-pretty-print.h" #include "gimple-pretty-print.h"
#include "hsa.h" #include "hsa-common.h"
/* Lowering of OMP parallel and workshare constructs proceeds in two /* Lowering of OMP parallel and workshare constructs proceeds in two
phases. The first phase scans the function looking for OMP statements phases. The first phase scans the function looking for OMP statements
......
...@@ -77,7 +77,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -77,7 +77,7 @@ along with GCC; see the file COPYING3. If not see
#include "gcse.h" #include "gcse.h"
#include "tree-chkp.h" #include "tree-chkp.h"
#include "omp-offload.h" #include "omp-offload.h"
#include "hsa.h" #include "hsa-common.h"
#include "edit-context.h" #include "edit-context.h"
#if defined(DBX_DEBUGGING_INFO) || defined(XCOFF_DEBUGGING_INFO) #if defined(DBX_DEBUGGING_INFO) || defined(XCOFF_DEBUGGING_INFO)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment