]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add necessary accessors for CloogMatrix (CLOOG_ORG).
authorAndreas Simbuerger <simbuerg@fim.uni-passau.de>
Thu, 30 Sep 2010 21:16:57 +0000 (21:16 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 30 Sep 2010 21:16:57 +0000 (21:16 +0000)
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

gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/graphite-cloog-compat.h

index a5c2ff0a6c548e2deb314d29a67e60503a6aa70f..ebf7fdf3c6c442a2932eab98dd691b7be00a91a2 100644 (file)
@@ -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
index 75252e445644730a3051606bd3509aba24708c5b..1a1ff39bc0910bb7e6946ea5e7a80a0a1fb9282c 100644 (file)
@@ -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
index c39b18ea3bcbabeb838355d96347ae972b72cc76..061aa47e64380e321b3c7bf41bb0d7e4ae3ca123 100644 (file)
@@ -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  */