Home
last modified time | relevance | path

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

12

/dragonfly/contrib/gcc-4.7/libobjc/
HDgc.c401 char *new_type; in class_ivar_set_gcinvisible() local
409 new_type = objc_atomic_malloc (strlen(ivar->ivar_type)); in class_ivar_set_gcinvisible()
411 memcpy (new_type, ivar->ivar_type, len); in class_ivar_set_gcinvisible()
412 new_type[len] = 0; in class_ivar_set_gcinvisible()
413 strcat (new_type, type + 1); in class_ivar_set_gcinvisible()
414 ivar->ivar_type = new_type; in class_ivar_set_gcinvisible()
418 char *new_type; in class_ivar_set_gcinvisible() local
426 new_type = objc_malloc (strlen(ivar->ivar_type) + 2); in class_ivar_set_gcinvisible()
430 memcpy (new_type, ivar->ivar_type, len); in class_ivar_set_gcinvisible()
432 new_type[len++] = _C_GCINVISIBLE; in class_ivar_set_gcinvisible()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDcgraphclones.c152 tree new_type = NULL; in cgraph_build_function_type_skip_args() local
180 new_type = build_distinct_type_copy (orig_type); in cgraph_build_function_type_skip_args()
181 TYPE_ARG_TYPES (new_type) = new_reversed; in cgraph_build_function_type_skip_args()
185 new_type in cgraph_build_function_type_skip_args()
188 TYPE_CONTEXT (new_type) = TYPE_CONTEXT (orig_type); in cgraph_build_function_type_skip_args()
192 TREE_TYPE (new_type) = void_type_node; in cgraph_build_function_type_skip_args()
194 return new_type; in cgraph_build_function_type_skip_args()
209 tree new_type; in build_function_decl_skip_args() local
211 new_type = TREE_TYPE (orig_decl); in build_function_decl_skip_args()
212 if (prototype_p (new_type) in build_function_decl_skip_args()
[all …]
HDipa-chkp.c318 tree new_type = build_tree_list (NULL_TREE, in chkp_copy_function_type_adding_bounds() local
320 TREE_CHAIN (new_type) = TREE_CHAIN (arg_type); in chkp_copy_function_type_adding_bounds()
321 TREE_CHAIN (arg_type) = new_type; in chkp_copy_function_type_adding_bounds()
336 tree new_type = build_tree_list (NULL_TREE, in chkp_copy_function_type_adding_bounds() local
338 TREE_CHAIN (new_type) = TREE_CHAIN (arg_type); in chkp_copy_function_type_adding_bounds()
339 TREE_CHAIN (arg_type) = new_type; in chkp_copy_function_type_adding_bounds()
HDipa-param-manipulation.c203 tree new_type = NULL; in ipa_modify_formal_parameters() local
208 new_type = build_distinct_type_copy (orig_type); in ipa_modify_formal_parameters()
209 TYPE_ARG_TYPES (new_type) = new_reversed; in ipa_modify_formal_parameters()
213 new_type in ipa_modify_formal_parameters()
216 TYPE_CONTEXT (new_type) = TYPE_CONTEXT (orig_type); in ipa_modify_formal_parameters()
227 TREE_TYPE (fndecl) = new_type; in ipa_modify_formal_parameters()
HDtree-vect-patterns.c714 tree new_type, new_oprnd; in vect_handle_widen_op_by_const() local
738 new_type = build_nonstandard_integer_type (TYPE_PRECISION (type) / 2, in vect_handle_widen_op_by_const()
740 if ((code == MULT_EXPR && !int_fits_type_p (const_oprnd, new_type)) in vect_handle_widen_op_by_const()
742 && compare_tree_int (const_oprnd, TYPE_PRECISION (new_type)) == 1)) in vect_handle_widen_op_by_const()
747 new_oprnd = make_ssa_name (new_type); in vect_handle_widen_op_by_const()
751 *half_type = new_type; in vect_handle_widen_op_by_const()
1328 vect_operation_fits_smaller_type (gimple *stmt, tree def, tree *new_type, in vect_operation_fits_smaller_type() argument
1366 if (*new_type) in vect_operation_fits_smaller_type()
1368 half_type = *new_type; in vect_operation_fits_smaller_type()
1503 *new_type = interm_type; in vect_operation_fits_smaller_type()
[all …]
HDtree-inline.c948 tree new_type = remap_type (TREE_TYPE (*tp), id); in remap_gimple_op_r() local
950 if (new_type == TREE_TYPE (*tp)) in remap_gimple_op_r()
954 *tp = wide_int_to_tree (new_type, wi::to_wide (*tp)); in remap_gimple_op_r()
958 TREE_TYPE (*tp) = new_type; in remap_gimple_op_r()
1132 tree new_type = remap_type (TREE_TYPE (*tp), id); in copy_tree_body_r() local
1134 if (new_type == TREE_TYPE (*tp)) in copy_tree_body_r()
1138 *tp = wide_int_to_tree (new_type, wi::to_wide (*tp)); in copy_tree_body_r()
1142 TREE_TYPE (*tp) = new_type; in copy_tree_body_r()
5954 tree req_type, new_type; in tree_function_versioning() local
5962 new_type = TREE_TYPE (replace_info->new_tree); in tree_function_versioning()
[all …]
HDomp-simd-clone.c727 tree new_type = build_distinct_type_copy (TREE_TYPE (node->decl)); in simd_clone_adjust_argument_types() local
728 TYPE_ARG_TYPES (new_type) = new_reversed; in simd_clone_adjust_argument_types()
729 TREE_TYPE (node->decl) = new_type; in simd_clone_adjust_argument_types()
/dragonfly/contrib/gdb-7/gdb/
HDgdbtypes.c3411 struct type *new_type; in copy_type_recursive() local
3425 new_type = alloc_type_arch (get_type_arch (type)); in copy_type_recursive()
3432 stored->new = new_type; in copy_type_recursive()
3437 *TYPE_MAIN_TYPE (new_type) = *TYPE_MAIN_TYPE (type); in copy_type_recursive()
3438 TYPE_OBJFILE_OWNED (new_type) = 0; in copy_type_recursive()
3439 TYPE_OWNER (new_type).gdbarch = get_type_arch (type); in copy_type_recursive()
3442 TYPE_NAME (new_type) = xstrdup (TYPE_NAME (type)); in copy_type_recursive()
3444 TYPE_TAG_NAME (new_type) = xstrdup (TYPE_TAG_NAME (type)); in copy_type_recursive()
3446 TYPE_INSTANCE_FLAGS (new_type) = TYPE_INSTANCE_FLAGS (type); in copy_type_recursive()
3447 TYPE_LENGTH (new_type) = TYPE_LENGTH (type); in copy_type_recursive()
[all …]
HDvarobj.c395 struct type *new_type);
454 struct type *new_type);
1659 struct type *new_type; in update_type_if_necessary() local
1662 new_type = value_actual_type (new_value, 0, 0); in update_type_if_necessary()
1663 new_type_str = type_to_string (new_type); in update_type_if_necessary()
1667 var->type = new_type; in update_type_if_necessary()
1939 struct type *new_type) in varobj_value_has_mutated() argument
1949 return var->root->lang->value_has_mutated (var, new_value, new_type); in varobj_value_has_mutated()
2049 struct type *new_type; in VEC() local
2055 new_type = value_type (new); in VEC()
[all …]
HDada-lang.c2051 struct type *new_type; in constrained_packed_array_type() local
2067 new_type = alloc_type_copy (type); in constrained_packed_array_type()
2071 create_array_type (new_type, new_elt_type, index_type); in constrained_packed_array_type()
2072 TYPE_FIELD_BITSIZE (new_type, 0) = *elt_bits; in constrained_packed_array_type()
2073 TYPE_NAME (new_type) = ada_type_name (type); in constrained_packed_array_type()
2078 *elt_bits = TYPE_LENGTH (new_type) = 0; in constrained_packed_array_type()
2082 TYPE_LENGTH (new_type) = in constrained_packed_array_type()
2086 TYPE_FIXED_INSTANCE (new_type) = 1; in constrained_packed_array_type()
2087 return new_type; in constrained_packed_array_type()
7788 struct type *new_type; in template_to_static_fixed_type() local
[all …]
HDvalue.h137 struct type *new_type);
/dragonfly/contrib/gcc-4.7/gcc/
HDtree-vect-patterns.c410 tree new_type, new_oprnd, tmp; in vect_handle_widen_op_by_const() local
437 new_type = build_nonstandard_integer_type (TYPE_PRECISION (type) / 2, in vect_handle_widen_op_by_const()
439 if ((code == MULT_EXPR && !int_fits_type_p (const_oprnd, new_type)) in vect_handle_widen_op_by_const()
441 && compare_tree_int (const_oprnd, TYPE_PRECISION (new_type)) == 1)) in vect_handle_widen_op_by_const()
451 || TREE_TYPE (gimple_assign_lhs (new_stmt)) != new_type) in vect_handle_widen_op_by_const()
461 tmp = create_tmp_var (new_type, NULL); in vect_handle_widen_op_by_const()
471 *half_type = new_type; in vect_handle_widen_op_by_const()
908 vect_operation_fits_smaller_type (gimple stmt, tree def, tree *new_type, in vect_operation_fits_smaller_type() argument
947 if (*new_type) in vect_operation_fits_smaller_type()
949 half_type = *new_type; in vect_operation_fits_smaller_type()
[all …]
HDipa-prop.c2264 tree orig_type, new_type = NULL; in ipa_modify_formal_parameters() local
2373 new_type = build_distinct_type_copy (orig_type); in ipa_modify_formal_parameters()
2374 TYPE_ARG_TYPES (new_type) = new_reversed; in ipa_modify_formal_parameters()
2378 new_type in ipa_modify_formal_parameters()
2381 TYPE_CONTEXT (new_type) = TYPE_CONTEXT (orig_type); in ipa_modify_formal_parameters()
2397 TYPE_MAIN_VARIANT (new_type) = t; in ipa_modify_formal_parameters()
2398 TYPE_NEXT_VARIANT (new_type) = TYPE_NEXT_VARIANT (t); in ipa_modify_formal_parameters()
2399 TYPE_NEXT_VARIANT (t) = new_type; in ipa_modify_formal_parameters()
2403 TYPE_MAIN_VARIANT (new_type) = new_type; in ipa_modify_formal_parameters()
2404 TYPE_NEXT_VARIANT (new_type) = NULL; in ipa_modify_formal_parameters()
[all …]
HDtree.c7599 tree new_type = NULL; in build_function_type_skip_args() local
7627 new_type = build_distinct_type_copy (orig_type); in build_function_type_skip_args()
7628 TYPE_ARG_TYPES (new_type) = new_reversed; in build_function_type_skip_args()
7632 new_type in build_function_type_skip_args()
7635 TYPE_CONTEXT (new_type) = TYPE_CONTEXT (orig_type); in build_function_type_skip_args()
7639 TREE_TYPE (new_type) = void_type_node; in build_function_type_skip_args()
7647 TYPE_MAIN_VARIANT (new_type) = t; in build_function_type_skip_args()
7648 TYPE_NEXT_VARIANT (new_type) = TYPE_NEXT_VARIANT (t); in build_function_type_skip_args()
7649 TYPE_NEXT_VARIANT (t) = new_type; in build_function_type_skip_args()
7653 TYPE_MAIN_VARIANT (new_type) = new_type; in build_function_type_skip_args()
[all …]
HDtree-inline.c837 tree new_type = remap_type (TREE_TYPE (*tp), id); in remap_gimple_op_r() local
839 if (new_type == TREE_TYPE (*tp)) in remap_gimple_op_r()
843 *tp = build_int_cst_wide (new_type, TREE_INT_CST_LOW (*tp), in remap_gimple_op_r()
848 TREE_TYPE (*tp) = new_type; in remap_gimple_op_r()
1012 tree new_type = remap_type (TREE_TYPE (*tp), id); in copy_tree_body_r() local
1014 if (new_type == TREE_TYPE (*tp)) in copy_tree_body_r()
1018 *tp = build_int_cst_wide (new_type, TREE_INT_CST_LOW (*tp), in copy_tree_body_r()
1023 TREE_TYPE (*tp) = new_type; in copy_tree_body_r()
HDgimple.c4446 tree new_type = (tree) *((tree *) slot); in gimple_register_type_1() local
4448 leader->leader = new_type; in gimple_register_type_1()
4449 return new_type; in gimple_register_type_1()
4745 tree new_type = (tree) *((tree *) slot); in gimple_register_canonical_type() local
4747 TYPE_CANONICAL (t) = new_type; in gimple_register_canonical_type()
4748 t = new_type; in gimple_register_canonical_type()
/dragonfly/contrib/gcc-8.0/gcc/cp/
HDname-lookup.c230 void add_type (tree new_type);
472 name_lookup::add_type (tree new_type) in add_type() argument
475 type = new_type; in add_type()
477 || !same_type_p (TREE_TYPE (type), TREE_TYPE (new_type))) in add_type()
478 type = ambiguous (new_type, type); in add_type()
485 name_lookup::process_binding (tree new_val, tree new_type) in process_binding() argument
488 if (new_type in process_binding()
491 && DECL_LANG_SPECIFIC (new_type) in process_binding()
492 && DECL_ANTICIPATED (new_type)))) in process_binding()
493 new_type = NULL_TREE; in process_binding()
[all …]
HDvtable-class-hierarchy.c913 tree new_type; in register_all_pairs() local
925 new_type = build_pointer_type (TREE_TYPE (base_ptr_var_decl)); in register_all_pairs()
926 arg1 = build1 (ADDR_EXPR, new_type, base_ptr_var_decl); in register_all_pairs()
HDtree.c4763 tree new_type; in cp_build_type_attribute_variant() local
4765 new_type = build_type_attribute_variant (type, attributes); in cp_build_type_attribute_variant()
4766 if (TREE_CODE (new_type) == FUNCTION_TYPE in cp_build_type_attribute_variant()
4767 || TREE_CODE (new_type) == METHOD_TYPE) in cp_build_type_attribute_variant()
4769 new_type = build_exception_variant (new_type, in cp_build_type_attribute_variant()
4771 new_type = build_ref_qualified_type (new_type, in cp_build_type_attribute_variant()
4776 gcc_assert (!CLASS_TYPE_P (type) || new_type == type); in cp_build_type_attribute_variant()
4778 return new_type; in cp_build_type_attribute_variant()
HDpt.c2464 tree new_type; in copy_default_args_to_explicit_spec() local
2522 new_type = build_method_type_directly (object_type, in copy_default_args_to_explicit_spec()
2527 new_type = build_function_type (TREE_TYPE (old_type), in copy_default_args_to_explicit_spec()
2529 new_type = cp_build_type_attribute_variant (new_type, in copy_default_args_to_explicit_spec()
2531 new_type = build_exception_variant (new_type, in copy_default_args_to_explicit_spec()
2535 TYPE_HAS_LATE_RETURN_TYPE (new_type) = 1; in copy_default_args_to_explicit_spec()
2537 TREE_TYPE (decl) = new_type; in copy_default_args_to_explicit_spec()
13127 tree new_type = tsubst (TREE_TYPE (t), args, complain, in_decl); in tsubst_template_decl() local
13128 if (new_type == error_mark_node) in tsubst_template_decl()
13132 else if (TREE_CODE (new_type) == TEMPLATE_DECL) in tsubst_template_decl()
[all …]
HDconstraint.cc1655 tree new_type = tsubst (type, args, complain, in_decl); in tsubst_implicit_conversion_constr() local
1656 if (new_type == error_mark_node) in tsubst_implicit_conversion_constr()
1658 return build_nt (ICONV_CONSTR, new_expr, new_type); in tsubst_implicit_conversion_constr()
/dragonfly/contrib/gcc-4.7/gcc/cp/
HDtree.c3205 tree new_type; in cp_build_type_attribute_variant() local
3207 new_type = build_type_attribute_variant (type, attributes); in cp_build_type_attribute_variant()
3208 if (TREE_CODE (new_type) == FUNCTION_TYPE in cp_build_type_attribute_variant()
3209 || TREE_CODE (new_type) == METHOD_TYPE) in cp_build_type_attribute_variant()
3210 new_type = build_exception_variant (new_type, in cp_build_type_attribute_variant()
3214 gcc_assert (!CLASS_TYPE_P (type) || new_type == type); in cp_build_type_attribute_variant()
3216 return new_type; in cp_build_type_attribute_variant()
HDpt.c2164 tree new_type; in copy_default_args_to_explicit_spec() local
2222 new_type = build_method_type_directly (object_type, in copy_default_args_to_explicit_spec()
2227 new_type = build_function_type (TREE_TYPE (old_type), in copy_default_args_to_explicit_spec()
2229 new_type = cp_build_type_attribute_variant (new_type, in copy_default_args_to_explicit_spec()
2231 new_type = build_exception_variant (new_type, in copy_default_args_to_explicit_spec()
2233 TREE_TYPE (decl) = new_type; in copy_default_args_to_explicit_spec()
9754 tree new_type = tsubst (TREE_TYPE (t), args, complain, in_decl); in tsubst_decl() local
9755 if (new_type == error_mark_node) in tsubst_decl()
9760 TREE_TYPE (r) = new_type; in tsubst_decl()
9763 TYPE_DECL, DECL_NAME (decl), new_type); in tsubst_decl()
[all …]
/dragonfly/usr.bin/rpcgen/
HDrpc_parse.c371 check_type_name(const char *name, int new_type) in check_type_name() argument
384 if (new_type) { in check_type_name()
/dragonfly/contrib/gcc-8.0/gcc/c-family/
HDc-attribs.c3031 tree type = *node, new_type, size; in handle_vector_size_attribute() local
3100 new_type = build_vector_type (type, nunits); in handle_vector_size_attribute()
3103 *node = lang_hooks.types.reconstruct_complex_type (*node, new_type); in handle_vector_size_attribute()

12