Home
last modified time | relevance | path

Searched refs:TYPE_DOMAIN (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-12.1/contrib/gcc/
H A Dsdbout.c567 = (TYPE_DOMAIN (type) in plain_type_1()
568 && TYPE_MIN_VALUE (TYPE_DOMAIN (type)) != 0 in plain_type_1()
569 && TYPE_MAX_VALUE (TYPE_DOMAIN (type)) != 0 in plain_type_1()
570 && host_integerp (TYPE_MAX_VALUE (TYPE_DOMAIN (type)), 0) in plain_type_1()
571 && host_integerp (TYPE_MIN_VALUE (TYPE_DOMAIN (type)), 0) in plain_type_1()
572 ? (tree_low_cst (TYPE_MAX_VALUE (TYPE_DOMAIN (type)), 0) in plain_type_1()
573 - tree_low_cst (TYPE_MIN_VALUE (TYPE_DOMAIN (type)), 0) + 1) in plain_type_1()
H A Dc-typeck.c204 if (TYPE_DOMAIN (type)) in c_incomplete_type_error()
331 tree d1 = TYPE_DOMAIN (t1); in composite_type()
332 tree d2 = TYPE_DOMAIN (t2); in composite_type()
359 if (elt == TREE_TYPE (t1) && !TYPE_DOMAIN (t2) && !TYPE_DOMAIN (t1)) in composite_type()
361 if (elt == TREE_TYPE (t2) && !TYPE_DOMAIN (t2) && !TYPE_DOMAIN (t1)) in composite_type()
372 TYPE_DOMAIN ((TYPE_DOMAIN (t1) in composite_type()
883 tree d1 = TYPE_DOMAIN (t1); in comptypes_internal()
884 tree d2 = TYPE_DOMAIN (t2); in comptypes_internal()
4692 && TYPE_DOMAIN (type) == 0 in store_init_value()
4711 TYPE_DOMAIN (type) = TYPE_DOMAIN (TREE_TYPE (cldecl)); in store_init_value()
[all …]
H A Dtree-ssa-ccp.c1605 if (TYPE_DOMAIN (array_type)) in maybe_fold_offset_to_array_ref()
1607 if (TYPE_MIN_VALUE (TYPE_DOMAIN (array_type))) in maybe_fold_offset_to_array_ref()
1608 min_idx = TYPE_MIN_VALUE (TYPE_DOMAIN (array_type)); in maybe_fold_offset_to_array_ref()
1610 min_idx = fold_convert (TYPE_DOMAIN (array_type), min_idx); in maybe_fold_offset_to_array_ref()
1615 idx = fold_convert (TYPE_DOMAIN (array_type), idx); in maybe_fold_offset_to_array_ref()
1616 elt_offset = fold_convert (TYPE_DOMAIN (array_type), elt_offset); in maybe_fold_offset_to_array_ref()
1894 min_idx = TYPE_DOMAIN (TREE_TYPE (array_obj)); in maybe_fold_stmt_addition()
H A Dtree-sra.c273 t = TYPE_DOMAIN (type); in sra_type_can_be_decomposed_p()
613 tree domain = TYPE_DOMAIN (TREE_TYPE (expr)); in maybe_lookup_element_for_expr()
1346 i = TYPE_MIN_VALUE (TYPE_DOMAIN (type)); in instantiate_missing_elements()
1347 max = TYPE_MAX_VALUE (TYPE_DOMAIN (type)); in instantiate_missing_elements()
H A Dc-pretty-print.c545 if (TYPE_DOMAIN (t) && TYPE_MAX_VALUE (TYPE_DOMAIN (t))) in pp_c_direct_abstract_declarator()
547 tree maxval = TYPE_MAX_VALUE (TYPE_DOMAIN (t)); in pp_c_direct_abstract_declarator()
H A Dc-decl.c576 && TYPE_DOMAIN (type) == 0) in c_finish_incomplete_decl()
2249 && !TYPE_DOMAIN (TREE_TYPE (b->decl)) in pushdecl()
2251 && TYPE_DOMAIN (type) in pushdecl()
2252 && TYPE_MAX_VALUE (TYPE_DOMAIN (type)) in pushdecl()
2253 && !integer_zerop (TYPE_MAX_VALUE (TYPE_DOMAIN (type)))) in pushdecl()
3180 && TYPE_DOMAIN (type) != NULL_TREE in add_flexible_array_elts_to_size()
3181 && TYPE_MAX_VALUE (TYPE_DOMAIN (type)) == NULL_TREE) in add_flexible_array_elts_to_size()
3867 && TYPE_DOMAIN (type) == 0 in finish_decl()
4255 && TYPE_DOMAIN (TREE_TYPE (x)) != NULL_TREE in flexible_array_type_p()
4256 && TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (x))) == NULL_TREE) in flexible_array_type_p()
[all …]
H A Dtree.c1918 if (! TYPE_DOMAIN (type)) in array_type_nelts()
1921 index_type = TYPE_DOMAIN (type); in array_type_nelts()
2287 return type_contains_placeholder_p (TYPE_DOMAIN (type)); in type_contains_placeholder_1()
3403 hashcode = iterative_hash_object (TYPE_HASH (TYPE_DOMAIN (ntype)), in build_type_attribute_qual_variant()
4215 return TYPE_DOMAIN (a->type) == TYPE_DOMAIN (b->type); in type_hash_eq()
5231 TYPE_DOMAIN (t) = index_type; in build_array_type()
6868 outer = build_array_type (inner, TYPE_DOMAIN (type)); in reconstruct_complex_type()
7063 tree domain_type = TYPE_DOMAIN (TREE_TYPE (ref)); in range_in_array_bounds_p()
7471 WALK_SUBTREE (TYPE_DOMAIN (type)); in walk_type_fields()
H A Dgimplify.c1596 || !TYPE_DOMAIN (datype) || !TYPE_MIN_VALUE (TYPE_DOMAIN (datype)) in canonicalize_addr_expr()
1597 || TREE_CODE (TYPE_MIN_VALUE (TYPE_DOMAIN (datype))) != INTEGER_CST) in canonicalize_addr_expr()
1602 TYPE_MIN_VALUE (TYPE_DOMAIN (datype)), in canonicalize_addr_expr()
3245 tree type_domain = TYPE_DOMAIN (optype); in fold_indirect_ref_rhs()
3263 type_domain = TYPE_DOMAIN (TREE_TYPE (sub)); in fold_indirect_ref_rhs()
4375 omp_firstprivatize_type_sizes (ctx, TYPE_DOMAIN (type)); in omp_firstprivatize_type_sizes()
6115 gimplify_type_sizes (TYPE_DOMAIN (type), list_p); in gimplify_type_sizes()
H A Dtree-browser.c304 TB_SET_HEAD (TYPE_DOMAIN (head)); in browse_tree()
H A Dvarasm.c4184 tmp = TYPE_MIN_VALUE (TYPE_DOMAIN (TREE_TYPE (val))); in array_size_for_constructor()
4220 && TYPE_DOMAIN (type) != 0) in output_constructor()
4221 min_index = TYPE_MIN_VALUE (TYPE_DOMAIN (type)); in output_constructor()
4329 && TYPE_DOMAIN (TREE_TYPE (field)) in output_constructor()
4330 && ! TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (field)))) in output_constructor()
H A Dprint-tree.c621 print_node (file, "domain", TYPE_DOMAIN (node), indent + 4); in print_node()
H A Dtree-dump.c475 dump_child ("domn", TYPE_DOMAIN (t)); in dequeue_and_dump()
H A Ddbxout.c1972 dbxout_type (TYPE_DOMAIN (type), 0); in dbxout_type()
1989 tem = TYPE_DOMAIN (type); in dbxout_type()
H A Dtree-inline.c286 TYPE_DOMAIN (new) = remap_type (TYPE_DOMAIN (new), id); in remap_type_1()
H A Dexpr.c4743 && TYPE_DOMAIN (tf) in count_type_elements()
4744 && TYPE_MIN_VALUE (TYPE_DOMAIN (tf)) in count_type_elements()
4745 && integer_zerop (TYPE_MIN_VALUE (TYPE_DOMAIN (tf))) in count_type_elements()
4746 && !TYPE_MAX_VALUE (TYPE_DOMAIN (tf)) in count_type_elements()
5065 domain = TYPE_DOMAIN (type); in store_constructor()
5876 tree domain_type = TYPE_DOMAIN (TREE_TYPE (TREE_OPERAND (exp, 0))); in array_ref_low_bound()
5897 tree domain_type = TYPE_DOMAIN (TREE_TYPE (TREE_OPERAND (exp, 0))); in array_ref_up_bound()
H A Dtree-pretty-print.c667 dump_array_domain (buffer, TYPE_DOMAIN (tmp), spc, flags); in dump_generic_node()
1966 dump_array_domain (buffer, TYPE_DOMAIN (tmp), spc, flags); in print_declaration()
H A Dstor-layout.c1706 tree index = TYPE_DOMAIN (type); in layout_type()
/freebsd-12.1/contrib/gcc/cp/
H A Dtypeck2.c392 if (TYPE_DOMAIN (type)) in cxx_incomplete_type_diagnostic()
697 if (TYPE_DOMAIN (type) != 0 && TREE_CONSTANT (TYPE_SIZE (type))) in digest_init()
792 tree domain = TYPE_DOMAIN (type); in process_init_constructor_array()
1069 if (TREE_CODE (type) == ARRAY_TYPE && TYPE_DOMAIN (type) == NULL_TREE) in process_init_constructor()
H A Derror.c639 if (TYPE_DOMAIN (t)) in dump_type_suffix()
641 if (host_integerp (TYPE_MAX_VALUE (TYPE_DOMAIN (t)), 0)) in dump_type_suffix()
643 (cxx_pp, tree_low_cst (TYPE_MAX_VALUE (TYPE_DOMAIN (t)), 0) + 1); in dump_type_suffix()
644 else if (TREE_CODE (TYPE_MAX_VALUE (TYPE_DOMAIN (t))) == MINUS_EXPR) in dump_type_suffix()
645 dump_expr (TREE_OPERAND (TYPE_MAX_VALUE (TYPE_DOMAIN (t)), 0), in dump_type_suffix()
649 (PLUS_EXPR, TYPE_MAX_VALUE (TYPE_DOMAIN (t)), in dump_type_suffix()
H A Dmangle.c1758 type = TYPE_DOMAIN (type); in write_builtin_type()
2395 if (TYPE_DOMAIN (type)) in write_array_type()
2400 index_type = TYPE_DOMAIN (type); in write_array_type()
H A Dtypeck.c109 else if (TREE_CODE (type) == ARRAY_TYPE && TYPE_DOMAIN (type)) in complete_type()
672 if (elt == TREE_TYPE (t1) && TYPE_DOMAIN (t1)) in merge_types()
674 if (elt == TREE_TYPE (t2) && TYPE_DOMAIN (t2)) in merge_types()
678 (elt, TYPE_DOMAIN (TYPE_DOMAIN (t1) ? t1 : t2)); in merge_types()
905 d1 = TYPE_DOMAIN (t1); in comp_array_types()
906 d2 = TYPE_DOMAIN (t2); in comp_array_types()
2509 && TYPE_DOMAIN (TREE_TYPE (array)) in build_array_ref()
2510 && ! int_fits_type_p (idx, TYPE_DOMAIN (TREE_TYPE (array)))) in build_array_ref()
H A Dinit.c1642 TYPE_DOMAIN (full_type) = index; in build_new_1()
2416 if (TYPE_DOMAIN (atype)) in build_vec_init()
2759 if (TYPE_DOMAIN (type) == NULL_TREE) in build_delete()
H A Dpt.c5671 else if (TREE_CODE (type) == ARRAY_TYPE && TYPE_DOMAIN (type)) in can_complete_type_without_circularity()
7663 tree domain = tsubst (TYPE_DOMAIN (t), args, complain, in_decl); in tsubst()
7669 if (type == TREE_TYPE (t) && domain == TYPE_DOMAIN (t)) in tsubst()
10733 if ((TYPE_DOMAIN (parm) == NULL_TREE) in unify()
10734 != (TYPE_DOMAIN (arg) == NULL_TREE)) in unify()
10736 if (TYPE_DOMAIN (parm) != NULL_TREE) in unify()
10748 parm_max = TYPE_MAX_VALUE (TYPE_DOMAIN (parm)); in unify()
10755 arg_max = TYPE_MAX_VALUE (TYPE_DOMAIN (arg)); in unify()
12755 if (TYPE_DOMAIN (type) in dependent_type_p_r()
12757 (TYPE_MAX_VALUE (TYPE_DOMAIN (type)))) in dependent_type_p_r()
[all …]
H A Ddecl.c4252 && TYPE_DOMAIN (type) == NULL_TREE in maybe_deduce_size_from_array_init()
4336 && !TYPE_DOMAIN (type) in layout_var_decl()
4536 if (TYPE_DOMAIN (type)) in reshape_init_array()
4570 if (rtype && TYPE_DOMAIN (TREE_TYPE (TYPE_FIELDS (rtype)))) in reshape_init_vector()
6336 if (TYPE_DOMAIN (type)) in cp_complete_array_type()
7287 if (TREE_CODE (type) == ARRAY_TYPE && !TYPE_DOMAIN (type)) in create_array_type_for_decl()
8696 && TREE_CODE (type) == ARRAY_TYPE && !TYPE_DOMAIN (type) in grokdeclarator()
8869 && TYPE_DOMAIN (type) == NULL_TREE) in grokdeclarator()
9516 else if (!TYPE_DOMAIN (t)) in grokparms()
H A Dtree.c424 TYPE_DOMAIN (t) = index_type; in build_cplus_array_type_1()

12