Lines Matching refs:hashcode

322   unsigned int hashcode;	/* Hash code of this rtx or string.  */  member
347 attr_hash_add_rtx (unsigned int hashcode, rtx rtl) in attr_hash_add_rtx() argument
352 h->hashcode = hashcode; in attr_hash_add_rtx()
354 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx()
355 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx()
361 attr_hash_add_string (unsigned int hashcode, char *str) in attr_hash_add_string() argument
366 h->hashcode = -hashcode; in attr_hash_add_string()
368 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string()
369 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string()
386 unsigned int hashcode; in attr_rtx_1() local
402 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0)); in attr_rtx_1()
403 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
404 if (h->hashcode == hashcode in attr_rtx_1()
427 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
428 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
429 if (h->hashcode == hashcode in attr_rtx_1()
454 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0)); in attr_rtx_1()
455 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
456 if (h->hashcode == hashcode in attr_rtx_1()
480 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
481 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
482 if (h->hashcode == hashcode in attr_rtx_1()
503 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
504 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
505 if (h->hashcode == hashcode in attr_rtx_1()
574 attr_hash_add_rtx (hashcode, rt_val); in attr_rtx_1()
631 unsigned int hashcode; in attr_string() local
636 hashcode = (len + 1) * 613U + (unsigned) str[0]; in attr_string()
638 hashcode = ((hashcode * 613) + (unsigned) str[i]); in attr_string()
639 if ((int) hashcode < 0) in attr_string()
640 hashcode = -hashcode; in attr_string()
643 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_string()
644 if (h->hashcode == -hashcode && h->u.str[0] == str[0] in attr_string()
652 attr_hash_add_string (hashcode, new_str); in attr_string()