~ubuntu-branches/ubuntu/trusty/cloog/trusty

« back to all changes in this revision

Viewing changes to isl/isl_factorization.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-01-13 04:29:53 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20130113042953-yffow2nvsub33dcd
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 * Copyright 2008-2009 Katholieke Universiteit Leuven
4
4
 * Copyright 2010      INRIA Saclay
5
5
 *
6
 
 * Use of this software is governed by the GNU LGPLv2.1 license
 
6
 * Use of this software is governed by the MIT license
7
7
 *
8
8
 * Written by Sven Verdoolaege, Leiden Institute of Advanced Computer Science,
9
9
 * Universiteit Leiden, Niels Bohrweg 1, 2333 CA Leiden, The Netherlands
58
58
        free(f);
59
59
}
60
60
 
61
 
void isl_factorizer_dump(__isl_take isl_factorizer *f, FILE *out)
 
61
void isl_factorizer_dump(__isl_take isl_factorizer *f)
62
62
{
63
63
        int i;
64
64
 
65
65
        if (!f)
66
66
                return;
67
67
 
68
 
        isl_morph_dump(f->morph, out);
69
 
        fprintf(out, "[");
 
68
        isl_morph_print_internal(f->morph, stderr);
 
69
        fprintf(stderr, "[");
70
70
        for (i = 0; i < f->n_group; ++i) {
71
71
                if (i)
72
 
                        fprintf(out, ", ");
73
 
                fprintf(out, "%d", f->len[i]);
 
72
                        fprintf(stderr, ", ");
 
73
                fprintf(stderr, "%d", f->len[i]);
74
74
        }
75
 
        fprintf(out, "]\n");
 
75
        fprintf(stderr, "]\n");
76
76
}
77
77
 
78
78
__isl_give isl_factorizer *isl_factorizer_identity(__isl_keep isl_basic_set *bset)