summaryrefslogtreecommitdiff
path: root/gcc/graphite-cloog-compat.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:16:57 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:16:57 +0000
commitf366948c989a94a31c0566a53df00d57630f08e0 (patch)
treec06207d5dba872ebf8c5b7f095aa36ca13df3ca2 /gcc/graphite-cloog-compat.h
parent086610ebab0fd84f8884080410357cdcf10f0241 (diff)
downloadgcc-f366948c989a94a31c0566a53df00d57630f08e0.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164776 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-cloog-compat.h')
-rw-r--r--gcc/graphite-cloog-compat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/graphite-cloog-compat.h b/gcc/graphite-cloog-compat.h
index c39b18ea3bc..061aa47e643 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 */