Lines Matching refs:hash_code
89 size_t hash_code = HashCode(instruction); in Add() local
90 size_t index = BucketIndex(hash_code); in Add()
95 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add()
102 size_t hash_code = HashCode(instruction); in Lookup() local
103 size_t index = BucketIndex(hash_code); in Lookup()
106 if (node->GetHashCode() == hash_code) { in Lookup()
118 size_t hash_code = HashCode(instruction); in Contains() local
119 size_t index = BucketIndex(hash_code); in Contains()
191 Node(HInstruction* instruction, size_t hash_code, Node* next) in Node() argument
192 : instruction_(instruction), hash_code_(hash_code), next_(next) {} in Node()
300 size_t hash_code = instruction->ComputeHashCode(); in HashCode() local
309 return (hash_code << 1) | 0; in HashCode()
311 return (hash_code << 1) | 1; in HashCode()
316 size_t BucketIndex(size_t hash_code) const { in BucketIndex()
317 return hash_code & (num_buckets_ - 1); in BucketIndex()