/openbsd-src/gnu/gcc/gcc/ |
H A D | tree.c | 3371 hashval_t hashcode = 0; in build_type_attribute_qual_variant() local 3386 hashcode = iterative_hash_object (code, hashcode); in build_type_attribute_qual_variant() 3388 hashcode = iterative_hash_object (TYPE_HASH (TREE_TYPE (ntype)), in build_type_attribute_qual_variant() 3389 hashcode); in build_type_attribute_qual_variant() 3390 hashcode = attribute_hash_list (attribute, hashcode); in build_type_attribute_qual_variant() 3395 hashcode = type_hash_list (TYPE_ARG_TYPES (ntype), hashcode); in build_type_attribute_qual_variant() 3398 hashcode = iterative_hash_object (TYPE_HASH (TYPE_DOMAIN (ntype)), in build_type_attribute_qual_variant() 3399 hashcode); in build_type_attribute_qual_variant() 3402 hashcode = iterative_hash_object in build_type_attribute_qual_variant() 3403 (TREE_INT_CST_LOW (TYPE_MAX_VALUE (ntype)), hashcode); in build_type_attribute_qual_variant() [all …]
|
H A D | tree-vn.c | 55 hashval_t hashcode; member 142 return ve->hashcode; in val_expr_pair_hash() 261 new_pair->hashcode = vn_compute (expr, 0); in vn_add_with_vuses() 262 slot = htab_find_slot_with_hash (value_table, new_pair, new_pair->hashcode, in vn_add_with_vuses() 302 vep.hashcode = vn_compute (expr, 0); in vn_lookup_with_vuses() 303 slot = htab_find_slot_with_hash (value_table, &vep, vep.hashcode, NO_INSERT); in vn_lookup_with_vuses()
|
H A D | genattrtab.c | 292 int hashcode; /* Hash code of this rtx or string. */ member 317 attr_hash_add_rtx (int hashcode, rtx rtl) in attr_hash_add_rtx() argument 322 h->hashcode = hashcode; in attr_hash_add_rtx() 324 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_rtx() 325 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_rtx() 331 attr_hash_add_string (int hashcode, char *str) in attr_hash_add_string() argument 336 h->hashcode = -hashcode; in attr_hash_add_string() 338 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; in attr_hash_add_string() 339 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; in attr_hash_add_string() 356 int hashcode; in attr_rtx_1() local [all …]
|
H A D | tree-ssa-pre.c | 372 hashval_t hashcode; member 381 return ve->hashcode; in expr_pred_trans_hash() 437 ept.hashcode = vn_compute (e, (unsigned long) pred); in phi_trans_lookup() 438 slot = htab_find_slot_with_hash (phi_translate_table, &ept, ept.hashcode, in phi_trans_lookup() 459 new_pair->hashcode = vn_compute (e, (unsigned long) pred); in phi_trans_add() 461 new_pair->hashcode, INSERT); in phi_trans_add()
|
/openbsd-src/gnu/usr.bin/gcc/gcc/ |
H A D | tree.c | 2538 unsigned int hashcode; local 2552 hashcode = (TYPE_HASH (TREE_CODE (ntype)) 2559 hashcode += TYPE_HASH (TYPE_ARG_TYPES (ntype)); 2562 hashcode += TYPE_HASH (TYPE_DOMAIN (ntype)); 2565 hashcode += TYPE_HASH (TYPE_MAX_VALUE (ntype)); 2568 hashcode += TYPE_HASH (TYPE_PRECISION (ntype)); 2574 ntype = type_hash_canon (hashcode, ntype); 2873 unsigned int hashcode; local 2876 for (hashcode = 0, tail = list; tail; tail = TREE_CHAIN (tail)) 2877 hashcode += TYPE_HASH (TREE_VALUE (tail)); [all …]
|
H A D | genattrtab.c | 477 int hashcode; /* Hash code of this rtx or string. */ member 502 attr_hash_add_rtx (hashcode, rtl) in attr_hash_add_rtx() argument 503 int hashcode; in attr_hash_add_rtx() 510 h->hashcode = hashcode; 512 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; 513 attr_hash_table[hashcode % RTL_HASH_SIZE] = h; 519 attr_hash_add_string (hashcode, str) in attr_hash_add_string() argument 520 int hashcode; in attr_hash_add_string() 527 h->hashcode = -hashcode; 529 h->next = attr_hash_table[hashcode % RTL_HASH_SIZE]; [all …]
|
H A D | ChangeLog.3 | 11673 (attribute_hash_list, type_hash_canon): hashcode is now unsigned. 11723 * tree.c (struct type_hash): hashcode is unsigned.
|
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
H A D | tree.c | 397 int hashcode; local 414 hashcode = TYPE_HASH (basetype) + TYPE_HASH (rettype) + 417 t = type_hash_canon (hashcode, t); 728 hashval_t hashcode = 0; local 731 hashcode += TYPE_HASH (chain); 734 hashcode += TYPE_HASH (value); 736 hashcode += 1007; 738 hashcode += TYPE_HASH (purpose); 740 hashcode += 1009; 741 return hashcode; [all …]
|
H A D | ChangeLog.2 | 13267 (hash_tree_cons): Initialize hashcode to 0.
|
/openbsd-src/gnu/gcc/gcc/cp/ |
H A D | tree.c | 732 hashval_t hashcode = 0; in list_hash_pieces() local 735 hashcode += TREE_HASH (chain); in list_hash_pieces() 738 hashcode += TREE_HASH (value); in list_hash_pieces() 740 hashcode += 1007; in list_hash_pieces() 742 hashcode += TREE_HASH (purpose); in list_hash_pieces() 744 hashcode += 1009; in list_hash_pieces() 745 return hashcode; in list_hash_pieces() 766 int hashcode = 0; in hash_tree_cons() local 771 hashcode = list_hash_pieces (purpose, value, chain); in hash_tree_cons() 778 slot = htab_find_slot_with_hash (list_hash_table, &proxy, hashcode, in hash_tree_cons()
|
H A D | ChangeLog-1998 | 6479 (hash_tree_cons): Initialize hashcode to 0.
|