Message ID | 1281551412-9101-2-git-send-email-simbuerg@googlemail.com |
---|---|
State | New |
Headers | show |
On Wed, Aug 11, 2010 at 13:30, Andreas Simbürger <simbuerg@googlemail.com> wrote: > 2010-08-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> > > * graphite-cloog-compat.h (cloog_matrix_ncolumns): New. > (cloog_matrix_nrows): New. Committed to the graphite branch.
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 6805a5a..486cd37 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,8 @@ +2010-08-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> + + * graphite-cloog-compat.h (cloog_matrix_ncolumns): New. + (cloog_matrix_nrows): New. + 2010-07-29 Sebastian Pop <sebastian.pop@amd.com> * gcc.dg/graphite/graphite.exp: Add compile rules for vect-* files. diff --git a/gcc/graphite-cloog-compat.h b/gcc/graphite-cloog-compat.h index 03fc124..7f2db71 100644 --- a/gcc/graphite-cloog-compat.h +++ b/gcc/graphite-cloog-compat.h @@ -261,5 +261,15 @@ cloog_block_list_set_block (CloogBlockList *bl, CloogBlock *block) { bl->block = block; } + +static inline int cloog_matrix_ncolumns (CloogMatrix * m) +{ + return m->NbColumns; +} + +static inline int cloog_matrix_nrows (CloogMatrix * m) +{ + return m->NbRows; +} #endif /* CLOOG_ORG */ #endif /* GRAPHITE_CLOOG_COMPAT_H */