Lines Matching refs:hashcode

327   unsigned int hashcode;	/* Hash code of this rtx or string.  */  member
352 attr_hash_add_rtx (unsigned int hashcode, rtx rtl) in attr_hash_add_rtx() argument
357 h->hashcode = hashcode; in attr_hash_add_rtx()
359 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx()
360 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx()
366 attr_hash_add_string (unsigned int hashcode, char *str) in attr_hash_add_string() argument
371 h->hashcode = -hashcode; in attr_hash_add_string()
373 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string()
374 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string()
391 unsigned int hashcode; in attr_rtx_1() local
407 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0)); in attr_rtx_1()
408 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
409 if (h->hashcode == hashcode in attr_rtx_1()
432 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
433 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
434 if (h->hashcode == hashcode in attr_rtx_1()
459 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0)); in attr_rtx_1()
460 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
461 if (h->hashcode == hashcode in attr_rtx_1()
485 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
486 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
487 if (h->hashcode == hashcode in attr_rtx_1()
508 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
509 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
510 if (h->hashcode == hashcode in attr_rtx_1()
579 attr_hash_add_rtx (hashcode, rt_val); in attr_rtx_1()
636 unsigned int hashcode; in attr_string() local
641 hashcode = (len + 1) * 613U + (unsigned) str[0]; in attr_string()
643 hashcode = ((hashcode * 613) + (unsigned) str[i]); in attr_string()
644 if ((int) hashcode < 0) in attr_string()
645 hashcode = -hashcode; in attr_string()
648 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_string()
649 if (h->hashcode == -hashcode && h->u.str[0] == str[0] in attr_string()
657 attr_hash_add_string (hashcode, new_str); in attr_string()