49 hashval_t
end ()
const
61 template<
unsigned int N,
typename T>
64 for (
unsigned int i = 0;
i <
N; ++
i)
75 template<
unsigned int N,
typename T>
78 for (
unsigned int i = 0;
i <
N; ++
i)
87 for (
unsigned i = 0;
i < x.get_len ();
i++)
96 add (&ptr,
sizeof (ptr));
119 add (&obj,
sizeof(T));
141 if (
a.end() >
b.end())
163 a -= b; a -= c; a ^= (c>>13); \
164 b -= c; b -= a; b ^= (a<< 8); \
165 c -= a; c -= b; c ^= ((b&0xffffffff)>>13); \
166 a -= b; a -= c; a ^= ((c&0xffffffff)>>12); \
167 b -= c; b -= a; b = (b ^ (a<<16)) & 0xffffffff; \
168 c -= a; c -= b; c = (c ^ (b>> 5)) & 0xffffffff; \
169 a -= b; a -= c; a = (a ^ (c>> 3)) & 0xffffffff; \
170 b -= c; b -= a; b = (b ^ (a<<10)) & 0xffffffff; \
171 c -= a; c -= b; c = (c ^ (b>>15)) & 0xffffffff; \
181 hashval_t
a = 0x9e3779b9;
193 if (
sizeof (HOST_WIDE_INT) ==
sizeof (hashval_t))
197 hashval_t
a = (hashval_t) val;
201 hashval_t
b = (hashval_t) (val >> (
sizeof (hashval_t) * 8 + zero));
203 if (
sizeof (HOST_WIDE_INT) > 2 *
sizeof (hashval_t))
205 hashval_t
a = (hashval_t) (val >> (
sizeof (hashval_t) * 16 + zero));
206 hashval_t
b = (hashval_t) (val >> (
sizeof (hashval_t) * 24 + zero));
Definition genoutput.cc:150
Definition wide-int.h:776
HOST_WIDE_INT sext_elt(unsigned int) const
Definition wide-int.h:984
hashval_t val
Definition inchash.h:154
hash(hashval_t seed=0)
Definition inchash.h:42
void commit_flag()
Definition inchash.h:129
void add_int(unsigned v)
Definition inchash.h:55
void add_poly_hwi(const poly_int< N, T > &v)
Definition inchash.h:76
hashval_t end() const
Definition inchash.h:49
void merge_hash(hashval_t other)
Definition inchash.h:106
void add_hwi(HOST_WIDE_INT v)
Definition inchash.h:69
unsigned bits
Definition inchash.h:155
void add_commutative(const hash &a, const hash &b)
Definition inchash.h:139
void add_real_value(const class real_value &v)
Definition inchash.cc:36
void merge(const hash &other)
Definition inchash.h:112
void add(const void *data, size_t len)
Definition inchash.h:100
void add_flag(bool flag)
Definition inchash.h:124
void add_wide_int(const generic_wide_int< T > &x)
Definition inchash.h:84
void add_poly_int(const poly_int< N, T > &v)
Definition inchash.h:62
void add_object(T &obj)
Definition inchash.h:117
void add_ptr(const void *ptr)
Definition inchash.h:94
Definition poly-int.h:378
C coeffs[N]
Definition poly-int.h:433
#define N
Definition gensupport.cc:202
hashval_t iterative_hash_hashval_t(hashval_t, hashval_t)
Definition inchash.h:178
#define mix(a, b, c)
Definition inchash.h:161
hashval_t iterative_hash_host_wide_int(HOST_WIDE_INT, hashval_t)
Definition inchash.h:191
Definition fold-const.cc:4328
i
Definition poly-int.h:776
Ca const poly_int< N, Cb > & b
Definition poly-int.h:771
Ca & a
Definition poly-int.h:770