Lines Matching refs:hashcode

306   int hashcode;			/* Hash code of this rtx or string.  */  member
331 attr_hash_add_rtx (int hashcode, rtx rtl) in attr_hash_add_rtx() argument
336 h->hashcode = hashcode; in attr_hash_add_rtx()
338 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx()
339 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx()
345 attr_hash_add_string (int hashcode, char *str) in attr_hash_add_string() argument
350 h->hashcode = -hashcode; in attr_hash_add_string()
352 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string()
353 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string()
370 int hashcode; in attr_rtx_1() local
390 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0)); in attr_rtx_1()
391 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
392 if (h->hashcode == hashcode in attr_rtx_1()
421 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
422 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
423 if (h->hashcode == hashcode in attr_rtx_1()
445 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0)); in attr_rtx_1()
446 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
447 if (h->hashcode == hashcode in attr_rtx_1()
471 hashcode = ((HOST_WIDE_INT) code + RTL_HASH (arg0) + RTL_HASH (arg1)); in attr_rtx_1()
472 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_rtx_1()
473 if (h->hashcode == hashcode in attr_rtx_1()
541 attr_hash_add_rtx (hashcode, rt_val); in attr_rtx_1()
598 int hashcode; in attr_string() local
603 hashcode = (len + 1) * 613 + (unsigned) str[0]; in attr_string()
605 hashcode = ((hashcode * 613) + (unsigned) str[i]); in attr_string()
606 if (hashcode < 0) in attr_string()
607 hashcode = -hashcode; in attr_string()
610 for (h = attr_hash_table[hashcode % RTL_HASH_SIZE]; h; h = h->next) in attr_string()
611 if (h->hashcode == -hashcode && h->u.str[0] == str[0] in attr_string()
619 attr_hash_add_string (hashcode, new_str); in attr_string()