+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
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 \
$(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,
#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. */
#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"
}
}
-#include "gt-hsa.h"
+#include "gt-hsa-common.h"
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;
#include "cgraph.h"
#include "print-tree.h"
#include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
/* Return textual name of TYPE. */
#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"
#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. */
#include "cgraph.h"
#include "print-tree.h"
#include "symbol-summary.h"
-#include "hsa.h"
+#include "hsa-common.h"
namespace {
#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
#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
#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)