This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 07/44] Add necessary accessors for CloogMatrix (CLOOG_ORG).
- From: Sebastian Pop <sebpop at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: gcc-graphite at googlegroups dot com
- Date: Thu, 30 Sep 2010 13:00:59 -0500
- Subject: [PATCH 07/44] Add necessary accessors for CloogMatrix (CLOOG_ORG).
- References: <1285869696-10915-1-git-send-email-sebpop@gmail.com>
From: spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
2010-08-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de>
* graphite-cloog-compat.h (cloog_matrix_ncolumns): New.
(cloog_matrix_nrows): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@163173 138bc75d-0d04-0410-961f-82ee72b054a4
---
gcc/ChangeLog | 5 +++++
gcc/ChangeLog.graphite | 5 +++++
gcc/graphite-cloog-compat.h | 10 ++++++++++
3 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6219c2b..710bef9 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 */
--
1.7.0.4