Polly
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
i
l
m
p
r
s
v
Enumerations
Enumerator
Related Functions
a
d
f
l
m
s
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
f
i
m
o
r
s
t
Enumerations
a
g
i
m
o
t
Enumerator
i
m
o
t
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
llvm-project
polly
lib
External
isl
isl_pw_hash.c
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Sven Verdoolaege
3
*
4
* Use of this software is governed by the MIT license
5
*
6
* Written by Sven Verdoolaege
7
*/
8
9
#include <
isl_pw_macro.h
>
10
#include <
isl/hash.h
>
11
12
/* Return a hash value that digests "pw".
13
*/
14
uint32_t
FN
(
PW
,get_hash)(
__isl_keep
PW
*pw)
15
{
16
int
i;
17
uint32_t hash;
18
19
if
(!pw)
20
return
0;
21
22
hash =
isl_hash_init
();
23
for
(i = 0; i < pw->n; ++i) {
24
uint32_t set_hash, el_hash;
25
26
set_hash =
isl_set_get_hash
(pw->p[i].set);
27
isl_hash_hash
(hash, set_hash);
28
el_hash =
FN
(
EL
,get_hash)(pw->p[i].FIELD);
29
isl_hash_hash
(hash, el_hash);
30
}
31
32
return
hash;
33
}
FN
#define FN(TYPE, NAME)
Definition:
check_parse_fail_test_templ.c:15
__isl_keep
#define __isl_keep
Definition:
ctx.h:25
hash.h
isl_hash_hash
#define isl_hash_hash(h, h2)
Definition:
hash.h:26
isl_hash_init
#define isl_hash_init()
Definition:
hash.h:21
PW
#define PW
Definition:
isl_aff.c:4582
EL
#define EL
Definition:
isl_aff_private.h:238
isl_pw_macro.h
isl_set_get_hash
uint32_t isl_set_get_hash(__isl_keep isl_set *set)
Definition:
isl_map.c:11245
Generated on Mon Apr 21 2025 04:48:42 for Polly by
1.9.6