Home
last modified time | relevance | path

Searched refs:hashcode (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/gcc/gcc/
H A Dtree.c3371 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 Dtree-vn.c55 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 Dgenattrtab.c292 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 Dtree-ssa-pre.c372 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 Dtree.c2538 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 Dgenattrtab.c477 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 DChangeLog.311673 (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 Dtree.c397 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 DChangeLog.213267 (hash_tree_cons): Initialize hashcode to 0.
/openbsd-src/gnu/gcc/gcc/cp/
H A Dtree.c732 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 DChangeLog-19986479 (hash_tree_cons): Initialize hashcode to 0.