diff options
author | Andreas Simbuerger <simbuerg@fim.uni-passau.de> | 2010-09-30 21:16:57 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-09-30 21:16:57 +0000 |
commit | 562c1b02f197f69821c08af274de794b21499681 (patch) | |
tree | c06207d5dba872ebf8c5b7f095aa36ca13df3ca2 /gcc | |
parent | 7241f8c55c81f6322ba7bec76463c93e2722818e (diff) | |
download | gcc-562c1b02f197f69821c08af274de794b21499681.zip gcc-562c1b02f197f69821c08af274de794b21499681.tar.gz gcc-562c1b02f197f69821c08af274de794b21499681.tar.bz2 |
Add necessary accessors for CloogMatrix (CLOOG_ORG).
2010-08-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
* graphite-cloog-compat.h (cloog_matrix_ncolumns): New.
(cloog_matrix_nrows): New.
From-SVN: r164776
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ChangeLog.graphite | 5 | ||||
-rw-r--r-- | gcc/graphite-cloog-compat.h | 10 |
3 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5c2ff0..ebf7fdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-09-30 Andreas Simbuerger <simbuerg@fim.uni-passau.de> + + * graphite-cloog-compat.h (cloog_matrix_ncolumns): New. + (cloog_matrix_nrows): New. + 2010-09-30 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 75252e4..1a1ff39 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-08-11 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces diff --git a/gcc/graphite-cloog-compat.h b/gcc/graphite-cloog-compat.h index c39b18e..061aa47 100644 --- a/gcc/graphite-cloog-compat.h +++ b/gcc/graphite-cloog-compat.h @@ -259,5 +259,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 */ |