Lines Matching refs:hash
37 HASH(uint32_t hash, unsigned data)
39 return XXH32(&data, sizeof(data), hash);
43 hash_index(uint32_t hash, bi_index index)
45 hash = HASH(hash, index.value);
46 hash = HASH(hash, index.abs);
47 hash = HASH(hash, index.neg);
48 hash = HASH(hash, index.swizzle);
49 hash = HASH(hash, index.offset);
50 hash = HASH(hash, index.reg);
51 hash = HASH(hash, index.type);
52 return hash;
60 uint32_t hash = 0;
62 hash = HASH(hash, I->op);
66 hash = HASH(hash, I->dest[d].swizzle);
70 hash = hash_index(hash, I->src[s]);
74 hash = HASH(hash, I->dest_mod);
77 hash = HASH(hash, I->shift);
80 hash = HASH(hash, I->flags[i]);
82 return hash;