move all declarations to a same .h file
Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r230825
This commit is contained in:
parent
caadda8e35
commit
cf98f0f49b
@ -1,3 +1,18 @@
|
||||
2015-11-23 Aditya Kumar <aditya.k7@samsung.com>
|
||||
Sebastian Pop <s.pop@samsung.com>
|
||||
|
||||
* graphite-dependences.c: Only include graphite.h.
|
||||
* graphite-isl-ast-to-gimple.c: Same.
|
||||
* graphite-optimize-isl.c: Same.
|
||||
* graphite-poly.c: Same.
|
||||
* graphite-scop-detection.c: Same.
|
||||
* graphite-sese-to-poly.c: Same.
|
||||
* graphite.c: Same.
|
||||
* graphite-isl-ast-to-gimple.h: Move to graphite.h.
|
||||
* graphite-poly.h: Same.
|
||||
* graphite-scop-detection.h: Same.
|
||||
* graphite.h: New.
|
||||
|
||||
2015-11-24 Pierre-Marie de Rodat <derodat@adacore.com>
|
||||
|
||||
* dwarf2out.c (gen_decl_die): Generate DW_TAG_imported_* instead of
|
||||
|
@ -45,7 +45,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include <isl/flow.h>
|
||||
#include <isl/constraint.h>
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite.h"
|
||||
|
||||
|
||||
/* Add the constraints from the set S to the domain of MAP. */
|
||||
|
@ -70,8 +70,7 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite-isl-ast-to-gimple.h"
|
||||
#include "graphite.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -1,26 +0,0 @@
|
||||
/* Translation of ISL AST to Gimple.
|
||||
Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
||||
Contributed by Roman Gareev <gareevroman@gmail.com>.
|
||||
|
||||
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 GCC_GRAPHITE_ISL_AST_TO_GIMPLE_H
|
||||
#define GCC_GRAPHITE_ISL_AST_TO_GIMPLE_H
|
||||
|
||||
extern bool graphite_regenerate_ast_isl (scop_p);
|
||||
|
||||
#endif
|
@ -52,7 +52,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include <isl/schedule_node.h>
|
||||
#endif
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite.h"
|
||||
|
||||
#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
|
||||
|
||||
|
@ -57,7 +57,7 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite.h"
|
||||
|
||||
#define OPENSCOP_MAX_STRING 256
|
||||
|
||||
|
@ -54,8 +54,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include <isl/map.h>
|
||||
#include <isl/union_map.h>
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite-scop-detection.h"
|
||||
#include "graphite.h"
|
||||
|
||||
class debug_printer
|
||||
{
|
||||
|
@ -1,29 +0,0 @@
|
||||
/* Detection of Static Control Parts (SCoP) for Graphite.
|
||||
Copyright (C) 2009-2015 Free Software Foundation, Inc.
|
||||
Contributed by Sebastian Pop <sebastian.pop@amd.com> and
|
||||
Tobias Grosser <grosser@fim.uni-passau.de>.
|
||||
|
||||
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 GCC_GRAPHITE_SCOP_DETECTION_H
|
||||
#define GCC_GRAPHITE_SCOP_DETECTION_H
|
||||
|
||||
extern void build_scops (vec<scop_p> *);
|
||||
extern void dot_all_scops (vec<scop_p>);
|
||||
extern void dot_scop (scop_p);
|
||||
|
||||
#endif /* GCC_GRAPHITE_SCOP_DETECTION_H */
|
@ -65,7 +65,7 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite.h"
|
||||
|
||||
/* Assigns to RES the value of the INTEGER_CST T. */
|
||||
|
||||
|
@ -59,9 +59,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include <isl/options.h>
|
||||
#include <isl/union_map.h>
|
||||
|
||||
#include "graphite-poly.h"
|
||||
#include "graphite-scop-detection.h"
|
||||
#include "graphite-isl-ast-to-gimple.h"
|
||||
#include "graphite.h"
|
||||
|
||||
/* Print global statistics to FILE. */
|
||||
|
||||
|
@ -461,6 +461,11 @@ carries_deps (__isl_keep isl_union_map *schedule,
|
||||
__isl_keep isl_union_map *deps,
|
||||
int depth);
|
||||
|
||||
bool build_poly_scop (scop_p);
|
||||
extern bool build_poly_scop (scop_p);
|
||||
extern bool graphite_regenerate_ast_isl (scop_p);
|
||||
|
||||
extern void build_scops (vec<scop_p> *);
|
||||
extern void dot_all_scops (vec<scop_p>);
|
||||
extern void dot_scop (scop_p);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user