projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f1749
)
add isl_pw_*_get_tuple_name
author
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 25 Aug 2011 10:09:18 +0000
(12:09 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 2 Oct 2011 09:03:35 +0000
(11:03 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_pw_templ.c
patch
|
blob
|
history
diff --git
a/isl_pw_templ.c
b/isl_pw_templ.c
index
c1200b9
..
474b31a
100644
(file)
--- a/
isl_pw_templ.c
+++ b/
isl_pw_templ.c
@@
-173,6
+173,11
@@
void *FN(PW,free)(__isl_take PW *pw)
return NULL;
}
+const char *FN(PW,get_tuple_name)(__isl_keep PW *pw, enum isl_dim_type type)
+{
+ return pw ? isl_space_get_tuple_name(pw->dim, type) : NULL;
+}
+
int FN(PW,IS_ZERO)(__isl_keep PW *pw)
{
if (!pw)