Skip to content
Snippets Groups Projects
Commit ec400377 authored by Daniel Maier's avatar Daniel Maier
Browse files

save scop

parent 76d81fa0
No related branches found
No related tags found
No related merge requests found
......@@ -32,18 +32,22 @@ int main() {
return -1;
}
scop = osl_scop_read(fp);
//osl_scop_dump(stdout, scop);
fclose(fp);
for(auto s = scop->statement; s; s = s->next) {
auto d = s->domain;
osl_relation_dump(stdout, d);
osl_relation_dump(stdout, s->domain);
auto n = perforate(d);
s->domain = n;
osl_relation_free(d);
}
fp = fopen("perf.openscop", "w");
osl_scop_print(fp, scop);
fclose(fp);
// Dump the content of the scop data structure.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment