+2015-10-07 Aditya Kumar <aditya.k7@samsung.com>
+ Sebastian Pop <s.pop@samsung.com>
+
+ * graphite-scop-detection.c (parameter_index_in_region): Remove
+ use of SESE_ADD_PARAMS.
+ (find_scop_parameters): Same.
+ * sese.c (new_sese_info): Same.
+ * sese.h (struct sese_info_t): Remove add_params.
+ (SESE_ADD_PARAMS): Remove.
+
2015-10-07 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
if (i != -1)
return i;
- gcc_assert (SESE_ADD_PARAMS (region));
-
i = SESE_PARAMS (region).length ();
SESE_PARAMS (region).safe_push (name);
return i;
int nbp = sese_nb_params (region);
scop_set_nb_params (scop, nbp);
- SESE_ADD_PARAMS (region) = false;
}
class sese_dom_walker : public dom_walker
region->region.exit = exit;
SESE_LOOPS (region) = BITMAP_ALLOC (NULL);
SESE_LOOP_NEST (region).create (3);
- SESE_ADD_PARAMS (region) = true;
SESE_PARAMS (region).create (3);
region->parameter_rename_map = new parameter_rename_map_t;
/* Parameters to be renamed. */
parameter_rename_map_t *parameter_rename_map;
- /* Loops completely contained in the SCOP. */
+ /* Loops completely contained in this SESE. */
bitmap loops;
vec<loop_p> loop_nest;
-
- /* Are we allowed to add more params? This is for debugging purpose. We
- can only add new params before generating the bb domains, otherwise they
- become invalid. */
- bool add_params;
} *sese_info_p;
#define SESE_PARAMS(S) (S->params)
#define SESE_LOOPS(S) (S->loops)
#define SESE_LOOP_NEST(S) (S->loop_nest)
-#define SESE_ADD_PARAMS(S) (S->add_params)
extern sese_info_p new_sese_info (edge, edge);
extern void free_sese_info (sese_info_p);