Initialize per cc objective in PlutoOptions
@@ -2100,8 +2100,7 @@ isl_basic_map_extract_access_func(__isl_take isl_basic_map *bmap, void *user) {
}
/* Extract Pluto access functions from isl_map */
-isl_stat isl_map_extract_access_func(__isl_take isl_map *map,
- void *user) {
+isl_stat isl_map_extract_access_func(__isl_take isl_map *map, void *user) {
/* Extract a PlutoAccess from every isl_basic_map */
isl_stat r =
isl_map_foreach_basic_map(map, &isl_basic_map_extract_access_func, user);
@@ -2531,7 +2530,6 @@ int read_codegen_context_from_file(PlutoConstraints *codegen_context) {
return 1;
}
-
/*
* Extract necessary information from clan_scop to create PlutoProg - a
* representation of the program sufficient to be used throughout Pluto.
@@ -2788,6 +2786,8 @@ PlutoOptions *pluto_options_alloc() {
options->diamondtile = 1;
options->fulldiamondtile = 0;
+ options->per_cc_obj = 0;
+
options->iss = 0;
options->unroll = 0;
@@ -3565,8 +3565,8 @@ char *get_expr(PlutoConstraints *cst, int pos, const char **params,
sprintf(expr + strlen(expr), (cst->val[pos][c] >= 1) ? "+%ld" : "%ld",
cst->val[pos][c]);
} else {
- sprintf(expr + strlen(expr),
- (cst->val[pos][c] <= -1) ? "+%ld" : "%ld", -cst->val[pos][c]);
+ sprintf(expr + strlen(expr), (cst->val[pos][c] <= -1) ? "+%ld" : "%ld",
+ -cst->val[pos][c]);
}
}
