Lines Matching refs:hash_code
86 size_t hash_code = HashCode(instruction); in Add() local
87 size_t index = BucketIndex(hash_code); in Add()
92 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add()
99 size_t hash_code = HashCode(instruction); in Lookup() local
100 size_t index = BucketIndex(hash_code); in Lookup()
103 if (node->GetHashCode() == hash_code) { in Lookup()
115 size_t hash_code = HashCode(instruction); in Contains() local
116 size_t index = BucketIndex(hash_code); in Contains()
188 Node(HInstruction* instruction, size_t hash_code, Node* next) in Node() argument
189 : instruction_(instruction), hash_code_(hash_code), next_(next) {} in Node()
297 size_t hash_code = instruction->ComputeHashCode(); in HashCode() local
306 return (hash_code << 1) | 0; in HashCode()
308 return (hash_code << 1) | 1; in HashCode()
313 size_t BucketIndex(size_t hash_code) const { in BucketIndex()
314 return hash_code & (num_buckets_ - 1); in BucketIndex()