Home
last modified time | relevance | path

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

/openbsd-src/gnu/gcc/gcc/cp/
H A Dtypeck2.c503 VEC_ordered_remove (constructor_elt, CONSTRUCTOR_ELTS (init), in split_nonconstant_init_1()
784 constructor_elt *ce; in process_init_constructor_array()
785 VEC(constructor_elt,gc) *v = CONSTRUCTOR_ELTS (init); in process_init_constructor_array()
807 gcc_assert (VEC_length (constructor_elt, v) <= len); in process_init_constructor_array()
809 for (i = 0; VEC_iterate (constructor_elt, v, i, ce); ++i) in process_init_constructor_array()
875 VEC(constructor_elt,gc) *v = NULL; in process_init_constructor_record()
903 if (idx < VEC_length (constructor_elt, CONSTRUCTOR_ELTS (init))) in process_init_constructor_record()
905 constructor_elt *ce = VEC_index (constructor_elt, in process_init_constructor_record()
981 constructor_elt *ce; in process_init_constructor_union()
984 if (VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (init))) in process_init_constructor_union()
[all …]
H A Dinit.c186 VEC(constructor_elt,gc) *v = NULL; in build_zero_init()
217 VEC(constructor_elt,gc) *v = NULL; in build_zero_init()
236 constructor_elt *ce; in build_zero_init()
238 v = VEC_alloc (constructor_elt, gc, 1); in build_zero_init()
239 ce = VEC_quick_push (constructor_elt, v, NULL); in build_zero_init()
2434 && (VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (init)) in build_vec_init()
H A Ddecl.c4169 check_array_designated_initializer (const constructor_elt *ce) in check_array_designated_initializer()
4210 VEC(constructor_elt,gc) *v = CONSTRUCTOR_ELTS (initializer); in maybe_deduce_size_from_array_init()
4211 constructor_elt *ce; in maybe_deduce_size_from_array_init()
4214 VEC_iterate (constructor_elt, v, i, ce); in maybe_deduce_size_from_array_init()
4398 constructor_elt *cur;
4399 constructor_elt *end;
4651 && VEC_length (constructor_elt, CONSTRUCTOR_ELTS (str_init)) == 1) in reshape_init_r()
4653 str_init = VEC_index (constructor_elt, in reshape_init_r()
4728 VEC(constructor_elt, gc) *v; in reshape_init()
4738 if (VEC_empty (constructor_elt, v)) in reshape_init()
[all …]
H A Derror.c1281 dump_expr_init_vec (VEC(constructor_elt,gc) *v, int flags) in dump_expr_init_vec() argument
1289 if (idx != VEC_length (constructor_elt, v) - 1) in dump_expr_init_vec()
H A Dcp-tree.h2487 && VEC_empty (constructor_elt, \
4314 extern tree finish_compound_literal (tree, VEC(constructor_elt,gc) *);
H A Dpt.c9363 VEC(constructor_elt,gc) *n; in tsubst_copy_and_build()
9364 constructor_elt *ce; in tsubst_copy_and_build()
9381 n = VEC_copy (constructor_elt, gc, CONSTRUCTOR_ELTS (t)); in tsubst_copy_and_build()
9382 for (idx = 0; VEC_iterate (constructor_elt, n, idx, ce); idx++) in tsubst_copy_and_build()
H A Dparser.c1646 static VEC(constructor_elt,gc) *cp_parser_initializer_list
4251 VEC(constructor_elt,gc) *initializer_list = NULL; in cp_parser_postfix_expression()
12850 static VEC(constructor_elt,gc) * in VEC() argument
12853 VEC(constructor_elt,gc) *v = NULL; in VEC()
H A Dtypeck.c5964 VEC(constructor_elt, gc) *v; in build_ptrmemfunc1()
5974 v = VEC_alloc(constructor_elt, gc, 2); in build_ptrmemfunc1()
H A Dsemantics.c2008 finish_compound_literal (tree type, VEC(constructor_elt,gc) *initializer_list) in finish_compound_literal() argument
/openbsd-src/gnu/gcc/gcc/
H A Dtree-vect-generic.c205 VEC(constructor_elt,gc) *v; in expand_vector_piecewise()
213 v = VEC_alloc(constructor_elt, gc, (nunits + delta - 1) / delta); in expand_vector_piecewise()
218 constructor_elt *ce = VEC_quick_push (constructor_elt, v, NULL); in expand_vector_piecewise()
H A Dvarasm.c2588 VEC(constructor_elt, gc) *v1, *v2; in compare_constant()
2614 if (VEC_length (constructor_elt, v1) in compare_constant()
2615 != VEC_length (constructor_elt, v2)) in compare_constant()
2618 for (idx = 0; idx < VEC_length (constructor_elt, v1); ++idx) in compare_constant()
2620 constructor_elt *c1 = VEC_index (constructor_elt, v1, idx); in compare_constant()
2621 constructor_elt *c2 = VEC_index (constructor_elt, v2, idx); in compare_constant()
2723 VEC(constructor_elt, gc) *v; in copy_constant()
2727 v = VEC_alloc(constructor_elt, gc, VEC_length(constructor_elt, in copy_constant()
2731 constructor_elt *ce = VEC_quick_push (constructor_elt, v, NULL); in copy_constant()
3704 && !VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (ctor))); in constructor_static_from_elts_p()
[all …]
H A Dtree.c990 build_vector_from_ctor (tree type, VEC(constructor_elt,gc) *v) in build_vector_from_ctor() argument
1004 build_constructor (tree type, VEC(constructor_elt,gc) *vals) in build_constructor() argument
1017 VEC(constructor_elt,gc) *v; in build_constructor_single()
1018 constructor_elt *elt; in build_constructor_single()
1021 v = VEC_alloc (constructor_elt, gc, 1); in build_constructor_single()
1022 elt = VEC_quick_push (constructor_elt, v, NULL); in build_constructor_single()
1038 VEC(constructor_elt,gc) *v = NULL; in build_constructor_from_list()
1043 v = VEC_alloc (constructor_elt, gc, list_length (vals)); in build_constructor_from_list()
1046 constructor_elt *elt = VEC_quick_push (constructor_elt, v, NULL); in build_constructor_from_list()
4664 VEC(constructor_elt, gc) *v1 = CONSTRUCTOR_ELTS (t1); in simple_cst_equal()
[all …]
H A Dtree.h1369 for (IX = 0; (IX >= VEC_length (constructor_elt, V)) \
1371 : ((VAL = VEC_index (constructor_elt, V, IX)->value), \
1379 for (IX = 0; (IX >= VEC_length (constructor_elt, V)) \
1381 : ((VAL = VEC_index (constructor_elt, V, IX)->value), \
1382 (INDEX = VEC_index (constructor_elt, V, IX)->index), \
1389 constructor_elt *_ce___ = VEC_safe_push (constructor_elt, gc, V, NULL); \
1402 } constructor_elt; typedef
1404 DEF_VEC_O(constructor_elt);
1405 DEF_VEC_ALLOC_O(constructor_elt,gc);
1410 VEC(constructor_elt,gc) *elts;
[all …]
H A Dgimplify.c2686 constructor_elt *ce; in gimplify_init_ctor_preeval()
2687 VEC(constructor_elt,gc) *v = CONSTRUCTOR_ELTS (*expr_p); in gimplify_init_ctor_preeval()
2689 for (ix = 0; VEC_iterate (constructor_elt, v, ix, ce); ix++) in gimplify_init_ctor_preeval()
2748 static void gimplify_init_ctor_eval (tree, VEC(constructor_elt,gc) *,
2849 gimplify_init_ctor_eval (tree object, VEC(constructor_elt,gc) *elts, in gimplify_init_ctor_eval() argument
2940 VEC(constructor_elt,gc) *elts; in gimplify_init_constructor()
2969 if (VEC_empty (constructor_elt, elts)) in gimplify_init_constructor()
3124 gcc_assert (VEC_length (constructor_elt, elts) == 2); in gimplify_init_constructor()
3125 r = VEC_index (constructor_elt, elts, 0)->value; in gimplify_init_constructor()
3126 i = VEC_index (constructor_elt, elts, 1)->value; in gimplify_init_constructor()
[all …]
H A Dc-typeck.c4861 static VEC(constructor_elt,gc) *constructor_elements;
4935 VEC(constructor_elt,gc) *elements;
4979 VEC(constructor_elt,gc) *elements;
5315 if (!VEC_empty (constructor_elt, constructor_elements) in push_init_level()
5448 if (VEC_length (constructor_elt,constructor_elements) == 0) in pop_init_level()
5450 else if (VEC_length (constructor_elt,constructor_elements) == 1 && in pop_init_level()
5451 initializer_zerop (VEC_index (constructor_elt,constructor_elements,0)->value)) in pop_init_level()
5500 if (VEC_empty (constructor_elt,constructor_elements)) in pop_init_level()
5506 else if (VEC_length (constructor_elt,constructor_elements) != 1) in pop_init_level()
5509 ret.value = VEC_index (constructor_elt,constructor_elements,0)->value; in pop_init_level()
[all …]
H A Dc-pretty-print.h198 void pp_c_constructor_elts (c_pretty_printer *, VEC(constructor_elt,gc) *);
H A Dc-pretty-print.c1410 pp_c_constructor_elts (c_pretty_printer *pp, VEC(constructor_elt,gc) *v) in pp_c_constructor_elts() argument
1418 if (ix != VEC_length (constructor_elt, v) - 1) in pp_c_constructor_elts()
H A Dc-common.c6169 VEC(constructor_elt,gc) *v = CONSTRUCTOR_ELTS (initial_value); in complete_array_type()
6171 if (VEC_empty (constructor_elt, v)) in complete_array_type()
6181 constructor_elt *ce; in complete_array_type()
6183 if (VEC_index (constructor_elt, v, 0)->index) in complete_array_type()
6185 VEC_index (constructor_elt, in complete_array_type()
6190 VEC_iterate (constructor_elt, v, cnt, ce); in complete_array_type()
H A Dtree-ssa-operands.c2015 constructor_elt *ce; in get_expr_operands()
2019 VEC_iterate (constructor_elt, CONSTRUCTOR_ELTS (expr), idx, ce); in get_expr_operands()
H A Dtree-dump.c613 dump_int (di, "lngt", VEC_length (constructor_elt, in dequeue_and_dump()
H A Dexpr.c4642 if (!VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (ctor))) in categorize_ctor_elements_1()
4646 gcc_assert (VEC_length (constructor_elt, CONSTRUCTOR_ELTS (ctor)) in categorize_ctor_elements_1()
4649 init_sub_type = TREE_TYPE (VEC_index (constructor_elt, in categorize_ctor_elements_1()
4937 && (((int)VEC_length (constructor_elt, CONSTRUCTOR_ELTS (exp)) in store_constructor()
5325 constructor_elt *ce; in store_constructor()
5400 VEC_iterate (constructor_elt, CONSTRUCTOR_ELTS (exp), idx, ce); in store_constructor()
6141 constructor_elt *ce; in safe_from_p()
6145 VEC_iterate (constructor_elt, CONSTRUCTOR_ELTS (exp), idx, ce); in safe_from_p()
H A Dtree.def441 struct constructor_elt.
444 The field INDEX of each constructor_elt is the corresponding index.
H A Dtree-inline.c2362 CONSTRUCTOR_ELTS (new) = VEC_copy (constructor_elt, gc, in copy_tree_r()
H A Dtree-pretty-print.c955 if (ix != VEC_length (constructor_elt, CONSTRUCTOR_ELTS (node)) - 1) in dump_generic_node()
H A Dc-decl.c3125 if (VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (init))) in add_flexible_array_elts_to_size()
3128 elt = VEC_last (constructor_elt, CONSTRUCTOR_ELTS (init))->value; in add_flexible_array_elts_to_size()