Home
last modified time | relevance | path

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

1234

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dattribs.cc483 attrs[1] = TYPE_ATTRIBUTES (TREE_TYPE (node)); in diag_attr_exclusions()
491 attrs[0] = TYPE_ATTRIBUTES (node); in diag_attr_exclusions()
898 old_attrs = TYPE_ATTRIBUTES (*anode); in decl_attributes()
922 TYPE_ATTRIBUTES (*anode) = r; in decl_attributes()
930 if (TYPE_ATTRIBUTES (variant) == old_attrs) in decl_attributes()
931 TYPE_ATTRIBUTES (variant) in decl_attributes()
932 = TYPE_ATTRIBUTES (*anode); in decl_attributes()
934 (spec->name, TYPE_ATTRIBUTES (variant))) in decl_attributes()
935 TYPE_ATTRIBUTES (variant) = tree_cons in decl_attributes()
936 (name, args, TYPE_ATTRIBUTES (variant)); in decl_attributes()
[all …]
Dipa-free-lang-data.cc134 || !attribute_list_equal (TYPE_ATTRIBUTES (t), in fld_type_variant_equal_p()
135 TYPE_ATTRIBUTES (v)) in fld_type_variant_equal_p()
161 TYPE_ATTRIBUTES (v) = TYPE_ATTRIBUTES (t); in fld_type_variant()
764 fld_worklist_push (TYPE_ATTRIBUTES (t), fld); in find_decls_types_r()
Dgimple-expr.cc268 if (TYPE_ATTRIBUTES (inner_type) || TYPE_ATTRIBUTES (outer_type)) in useless_type_conversion_p()
Dipa-param-manipulation.cc366 if (args_modified && TYPE_ATTRIBUTES (new_type)) in build_adjusted_function_type()
368 tree t = TYPE_ATTRIBUTES (new_type); in build_adjusted_function_type()
369 tree *last = &TYPE_ATTRIBUTES (new_type); in build_adjusted_function_type()
370 TYPE_ATTRIBUTES (new_type) = NULL; in build_adjusted_function_type()
Dgimple.cc416 if (lookup_attribute ("nocf_check", TYPE_ATTRIBUTES (fntype))) in gimple_build_call_from_tree()
1538 attr = lookup_attribute ("fn spec", TYPE_ATTRIBUTES (type)); in gimple_call_fnspec()
1688 TYPE_ATTRIBUTES (gimple_call_fntype (call)))) in gimple_call_nonnull_result_p()
3068 tree attrs = TYPE_ATTRIBUTES (fntype); in infer_nonnull_range_by_attribute()
3111 TYPE_ATTRIBUTES (TREE_TYPE (current_function_decl)))) in infer_nonnull_range_by_attribute()
Dtree-ssa-uninit.cc409 init_attr_rdwr_indices (&rdwr_idx, TYPE_ATTRIBUTES (fntype)); in maybe_warn_read_write_only()
791 init_attr_rdwr_indices (&rdwr_idx, TYPE_ATTRIBUTES (fntype)); in maybe_warn_pass_by_reference()
Dtree.cc1254 TYPE_ATTRIBUTES (t) = NULL_TREE; in make_node()
5522 || !attribute_list_equal (TYPE_ATTRIBUTES (cand), in check_base_type()
5523 TYPE_ATTRIBUTES (base))) in check_base_type()
5565 && attribute_list_equal (TYPE_ATTRIBUTES (cand), in check_aligned_type()
5566 TYPE_ATTRIBUTES (base)) in check_aligned_type()
5973 for (tree t = TYPE_ATTRIBUTES (type); t; t = TREE_CHAIN (t)) in type_hash_canon_hash()
6044 || !attribute_list_equal (TYPE_ATTRIBUTES (a->type), in equal()
6045 TYPE_ATTRIBUTES (b->type)) in equal()
6911 if (lookup_attribute ("may_alias", TYPE_ATTRIBUTES (to_type))) in build_pointer_type_for_mode()
6983 if (lookup_attribute ("may_alias", TYPE_ATTRIBUTES (to_type))) in build_reference_type_for_mode()
[all …]
Dgimple-ssa-warn-access.cc2266 TYPE_ATTRIBUTES (fntype))) in maybe_warn_alloc_args_overflow()
2427 tree fntypeattrs = TYPE_ATTRIBUTES (fntype); in check_alloc_size_call()
3608 tree fntypeattrs = TYPE_ATTRIBUTES (fntype); in check_call_access()
4003 fnattr = TYPE_ATTRIBUTES (fntype); in get_realloc_lhs()
Dtree-ssa-ccp.cc844 TYPE_ATTRIBUTES (fntype)) in surely_varying_stmt_p()
846 TYPE_ATTRIBUTES (fntype)))) in surely_varying_stmt_p()
2415 TYPE_ATTRIBUTES (fntype)); in evaluate_stmt()
2419 TYPE_ATTRIBUTES (fntype)); in evaluate_stmt()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Di386-options.cc3099 TYPE_ATTRIBUTES (TREE_TYPE (fndecl)))) in ix86_set_func_type()
3125 TYPE_ATTRIBUTES (TREE_TYPE (fndecl)))) in ix86_set_func_type()
3380 if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3385 if (lookup_attribute ("thiscall", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3423 if (lookup_attribute ("cdecl", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3427 if (lookup_attribute ("stdcall", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3431 if (lookup_attribute ("regparm", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3435 if (lookup_attribute ("thiscall", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3445 if (lookup_attribute ("cdecl", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
3449 if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (*node))) in ix86_handle_cconv_attribute()
[all …]
Dwinnt-cxx.cc103 if (lookup_attribute ("dllexport", TYPE_ATTRIBUTES (t)) != NULL_TREE) in i386_pe_adjust_class_at_definition()
141 else if (lookup_attribute ("dllimport", TYPE_ATTRIBUTES (t)) != NULL_TREE) in i386_pe_adjust_class_at_definition()
Di386-builtins.cc452 attrs_type_load = TYPE_ATTRIBUTES (TREE_TYPE (decl)); in ix86_init_tm_builtins()
456 attrs_type_store = TYPE_ATTRIBUTES (TREE_TYPE (decl)); in ix86_init_tm_builtins()
460 attrs_type_log = TYPE_ATTRIBUTES (TREE_TYPE (decl)); in ix86_init_tm_builtins()
Di386.cc1043 attrs = TYPE_ATTRIBUTES (type); in ix86_get_callcvt()
1124 attr = lookup_attribute ("regparm", TYPE_ATTRIBUTES (type)); in ix86_function_regparm()
1214 || (type && lookup_attribute ("sseregparm", TYPE_ATTRIBUTES (type)))) in ix86_function_sseregparm()
1291 TYPE_ATTRIBUTES (fntype)); in ix86_keep_aggregate_return_pointer()
1519 if (fntype == NULL_TREE || TYPE_ATTRIBUTES (fntype) == NULL_TREE) in ix86_function_type_abi()
1523 && lookup_attribute ("ms_abi", TYPE_ATTRIBUTES (fntype))) in ix86_function_type_abi()
1535 && lookup_attribute ("sysv_abi", TYPE_ATTRIBUTES (fntype))) in ix86_function_type_abi()
4351 TYPE_ATTRIBUTES (record) = tree_cons (get_identifier ("sysv_abi va_list"), in ix86_build_builtin_va_list_64()
4352 NULL_TREE, TYPE_ATTRIBUTES (record)); in ix86_build_builtin_va_list_64()
4390 TYPE_ATTRIBUTES (char_ptr_type)); in ix86_build_builtin_va_list()
[all …]
Dwinnt.cc149 if (assoc && lookup_attribute ("dllimport", TYPE_ATTRIBUTES (assoc)) in i386_pe_determine_dllimport_p()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/bfin/
Dbfin.cc119 tree attrs = TYPE_ATTRIBUTES (funtype); in funkind()
615 tree attrs = TYPE_ATTRIBUTES (TREE_TYPE (current_function_decl)); in n_regs_saved_by_prologue()
939 tree attrs = TYPE_ATTRIBUTES (TREE_TYPE (current_function_decl)); in expand_interrupt_handler_prologue()
1003 tree attrs = TYPE_ATTRIBUTES (TREE_TYPE (current_function_decl)); in expand_interrupt_handler_epilogue()
1070 tree attrs = TYPE_ATTRIBUTES (TREE_TYPE (current_function_decl)); in bfin_expand_prologue()
1154 tree attrs = TYPE_ATTRIBUTES (TREE_TYPE (current_function_decl)); in bfin_expand_epilogue()
1643 if (fntype && lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype))) in init_cumulative_args()
1645 else if (fntype && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype))) in init_cumulative_args()
4723 if (!lookup_attribute ("nesting", TYPE_ATTRIBUTES (type1)) in bfin_comp_type_attributes()
4724 != !lookup_attribute ("nesting", TYPE_ATTRIBUTES (type2))) in bfin_comp_type_attributes()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Ddecl2.cc170 if (tree attrs = TYPE_ATTRIBUTES (fntype)) in build_memfn_type()
204 if (tree attrs = TYPE_ATTRIBUTES (fntype)) in change_return_type()
310 if (TYPE_ATTRIBUTES (TREE_TYPE (fn))) in maybe_retrofit_in_chrg()
312 (fntype, TYPE_ATTRIBUTES (TREE_TYPE (fn)))); in maybe_retrofit_in_chrg()
1415 q = &TYPE_ATTRIBUTES (*decl_p); in save_template_attributes()
1431 TYPE_ATTRIBUTES (*decl_p) = late_attrs; in save_template_attributes()
1446 gcc_assert (TYPE_ATTRIBUTES (variant) == old_attrs); in save_template_attributes()
1447 TYPE_ATTRIBUTES (variant) = TYPE_ATTRIBUTES (*decl_p); in save_template_attributes()
1537 if (TYPE_ATTRIBUTES (type)) in cp_reconstruct_complex_type()
1538 outer = cp_build_type_attribute_variant (outer, TYPE_ATTRIBUTES (type)); in cp_reconstruct_complex_type()
[all …]
Dclass.cc1533 attr = TYPE_ATTRIBUTES (t); in mark_or_check_tags()
1732 tree attr = lookup_attribute ("abi_tag", TYPE_ATTRIBUTES (t)); in inherit_targ_abi_tags()
1736 TYPE_ATTRIBUTES (t) in inherit_targ_abi_tags()
1737 = tree_cons (abi_tag_identifier, data.tags, TYPE_ATTRIBUTES (t)); in inherit_targ_abi_tags()
1900 tree tm_attr = find_tm_attribute (TYPE_ATTRIBUTES (basetype)); in check_bases()
1910 if (seen_tm_mask && !find_tm_attribute (TYPE_ATTRIBUTES (t))) in check_bases()
1913 TYPE_ATTRIBUTES (t) = tree_cons (tm_attr, NULL, TYPE_ATTRIBUTES (t)); in check_bases()
2121 tree attrs = TYPE_ATTRIBUTES (t); in fixup_attribute_variants()
2136 TYPE_ATTRIBUTES (variants) = attrs; in fixup_attribute_variants()
3405 && !lookup_attribute ("mode", TYPE_ATTRIBUTES (type))) in enum_min_precision()
[all …]
Dcvt.cc1078 && (attr = lookup_attribute ("nodiscard", TYPE_ATTRIBUTES (rettype)))) in maybe_warn_nodiscard()
1102 && lookup_attribute ("warn_unused_result", TYPE_ATTRIBUTES (type))) in maybe_warn_nodiscard()
2069 return !!lookup_attribute ("transaction_safe", TYPE_ATTRIBUTES (t)); in tx_safe_fn_type_p()
2080 TYPE_ATTRIBUTES (t)); in tx_unsafe_fn_variant()
Dtree.cc1142 && TYPE_ATTRIBUTES (t) == NULL_TREE) in build_cplus_array_type()
1395 && attribute_list_equal (TYPE_ATTRIBUTES (t), in cp_build_qualified_type_real()
1396 TYPE_ATTRIBUTES (type))) in cp_build_qualified_type_real()
1520 gcc_assert (attribs == TYPE_ATTRIBUTES (result)); in apply_identity_attributes()
1667 && (TYPE_ATTRIBUTES (t) || TYPE_USER_ALIGN (t))) in strip_typedefs()
1857 if (TYPE_ATTRIBUTES (t)) in strip_typedefs()
1860 result = apply_identity_attributes (result, TYPE_ATTRIBUTES (t), in strip_typedefs()
1864 TYPE_ATTRIBUTES (t)); in strip_typedefs()
5248 tree attributes = TYPE_ATTRIBUTES (*node); in handle_abi_tag_attribute()
Dmangle.cc524 attrs = TYPE_ATTRIBUTES (t); in get_abi_tags()
2166 if (TYPE_ATTRIBUTES (t) && !OVERLOAD_TYPE_P (t)) in write_type()
2498 for (tree a = TYPE_ATTRIBUTES (type); a; a = TREE_CHAIN (a)) in write_CV_qualifiers_for_type()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/arc/
Darc.cc2218 l1 = lookup_attribute ("long_call", TYPE_ATTRIBUTES (type1)) != NULL; in arc_comp_type_attributes()
2219 l2 = lookup_attribute ("long_call", TYPE_ATTRIBUTES (type2)) != NULL; in arc_comp_type_attributes()
2220 m1 = lookup_attribute ("medium_call", TYPE_ATTRIBUTES (type1)) != NULL; in arc_comp_type_attributes()
2221 m2 = lookup_attribute ("medium_call", TYPE_ATTRIBUTES (type2)) != NULL; in arc_comp_type_attributes()
2222 s1 = lookup_attribute ("short_call", TYPE_ATTRIBUTES (type1)) != NULL; in arc_comp_type_attributes()
2223 s2 = lookup_attribute ("short_call", TYPE_ATTRIBUTES (type2)) != NULL; in arc_comp_type_attributes()
4449 attrs = TYPE_ATTRIBUTES (TREE_TYPE (decl)); in arc_add_jli_section()
4725 ? TYPE_ATTRIBUTES (TREE_TYPE (SYMBOL_REF_DECL (x))) in arc_print_operand()
4751 ? TYPE_ATTRIBUTES (TREE_TYPE (SYMBOL_REF_DECL (x))) in arc_print_operand()
5750 ? TYPE_ATTRIBUTES (TREE_TYPE (decl)) : NULL_TREE); in arc_encode_section_info()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/lto/
Dlto-common.cc715 CHECK_NO_VAR (TYPE_ATTRIBUTES (t)); in mentions_vars_p_type()
987 else if (!TYPE_ATTRIBUTES (t)) in lto_fixup_prevailing_type()
1494 compare_tree_edges (TYPE_ATTRIBUTES (t1), TYPE_ATTRIBUTES (t2)); in compare_tree_sccs_1()
2571 LTO_NO_PREVAIL (TYPE_ATTRIBUTES (t)); in lto_fixup_prevailing_decls()
Dlto-lang.cc410 || !TYPE_ATTRIBUTES (type) in handle_nonnull_attribute()
411 || lookup_attribute ("type generic", TYPE_ATTRIBUTES (type))); in handle_nonnull_attribute()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/rs6000/
Drs6000-call.cc598 && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype)) in init_cumulative_args()
599 && !lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype)))) in init_cumulative_args()
612 && lookup_attribute ("noplt", TYPE_ATTRIBUTES (fntype))) in init_cumulative_args()
618 && lookup_attribute ("plt", TYPE_ATTRIBUTES (fntype)))) in init_cumulative_args()
/netbsd/src/external/gpl3/gcc/dist/gcc/objc/
Dobjc-act.cc2549 ltyp_attr = TYPE_ATTRIBUTES (ltyp); in objc_compare_types()
2551 rtyp_attr = TYPE_ATTRIBUTES (rtyp); in objc_compare_types()
3676 if (or_strong_p && lookup_attribute ("objc_gc", TYPE_ATTRIBUTES (type))) in objc_is_gcable_type()
3836 TYPE_ATTRIBUTES (TREE_TYPE (lhstype))); in objc_generate_write_barrier()
5157 METHOD_TYPE_ATTRIBUTES (*node) = TYPE_ATTRIBUTES (TREE_TYPE (*node)); in objc_decl_method_attributes()
7086 TYPE_ATTRIBUTES (implementation_template))) in start_class()
7129 TYPE_ATTRIBUTES (klass) = attributes; in start_class()
8345 TYPE_ATTRIBUTES (protocol) = attributes; in objc_declare_protocol()
8416 TYPE_ATTRIBUTES (protocol) = attributes; in start_protocol()
8781 tree type_attr = TYPE_ATTRIBUTES (type); in objc_type_valid_for_messaging()

1234