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