Home
last modified time | relevance | path

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

123456

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dmultiple_target.cc298 DECL_ATTRIBUTES (new_decl) = attributes; in create_target_clone()
315 DECL_ATTRIBUTES (node->decl)); in expand_target_clones()
338 if (lookup_attribute ("noclone", DECL_ATTRIBUTES (node->decl))) in expand_target_clones()
399 DECL_ATTRIBUTES (node->decl)); in expand_target_clones()
431 DECL_ATTRIBUTES (node->decl)); in expand_target_clones()
432 DECL_ATTRIBUTES (node->decl) = attributes; in expand_target_clones()
448 tree attr_target = lookup_attribute ("target", DECL_ATTRIBUTES (node->decl)); in redirect_to_specific_clone()
460 DECL_ATTRIBUTES (e->callee->decl)); in redirect_to_specific_clone()
474 DECL_ATTRIBUTES (callee->decl)); in redirect_to_specific_clone()
Dtree-profile.cc147 DECL_ATTRIBUTES (tree_interval_profiler_fn) in gimple_init_gcov_profiler()
149 DECL_ATTRIBUTES (tree_interval_profiler_fn)); in gimple_init_gcov_profiler()
160 DECL_ATTRIBUTES (tree_pow2_profiler_fn) in gimple_init_gcov_profiler()
162 DECL_ATTRIBUTES (tree_pow2_profiler_fn)); in gimple_init_gcov_profiler()
175 DECL_ATTRIBUTES (tree_topn_values_profiler_fn) in gimple_init_gcov_profiler()
177 DECL_ATTRIBUTES (tree_topn_values_profiler_fn)); in gimple_init_gcov_profiler()
193 DECL_ATTRIBUTES (tree_indirect_call_profiler_fn) in gimple_init_gcov_profiler()
195 DECL_ATTRIBUTES (tree_indirect_call_profiler_fn)); in gimple_init_gcov_profiler()
216 DECL_ATTRIBUTES (tree_average_profiler_fn) in gimple_init_gcov_profiler()
218 DECL_ATTRIBUTES (tree_average_profiler_fn)); in gimple_init_gcov_profiler()
[all …]
Dcgraphunit.cc723 tree value = lookup_attribute ("symver", DECL_ATTRIBUTES (n->decl)); in process_symver_attribute()
794 DECL_ATTRIBUTES (new_decl) = NULL; in process_symver_attribute()
810 tree weakref = lookup_attribute ("weakref", DECL_ATTRIBUTES (decl)); in process_common_attributes()
812 if (weakref && !lookup_attribute ("alias", DECL_ATTRIBUTES (decl))) in process_common_attributes()
818 DECL_ATTRIBUTES (decl) = remove_attribute ("weakref", in process_common_attributes()
819 DECL_ATTRIBUTES (decl)); in process_common_attributes()
822 if (lookup_attribute ("no_reorder", DECL_ATTRIBUTES (decl))) in process_common_attributes()
864 && lookup_attribute ("flatten", DECL_ATTRIBUTES (decl))) in process_function_and_variable_attributes()
868 || !lookup_attribute ("flatten", DECL_ATTRIBUTES (tdecl))) in process_function_and_variable_attributes()
874 else if (lookup_attribute ("externally_visible", DECL_ATTRIBUTES (decl))) in process_function_and_variable_attributes()
[all …]
Domp-offload.cc128 && lookup_attribute ("omp declare target link", DECL_ATTRIBUTES (it)); in add_decls_addresses_to_decl_constructor()
175 && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl)) in omp_declare_target_fn_p()
177 DECL_ATTRIBUTES (decl)) in omp_declare_target_fn_p()
189 && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl)) in omp_declare_target_var_p()
191 DECL_ATTRIBUTES (decl))); in omp_declare_target_var_p()
206 DECL_ATTRIBUTES (TREE_OPERAND (CALL_EXPR_FN (*tp), in omp_discover_declare_target_tgt_fn_r()
210 for (tree attr = DECL_ATTRIBUTES (fn); attr; attr = TREE_CHAIN (attr)) in omp_discover_declare_target_tgt_fn_r()
232 DECL_ATTRIBUTES (node->decl))) in omp_discover_declare_target_tgt_fn_r()
235 DECL_ATTRIBUTES (node->decl) in omp_discover_declare_target_tgt_fn_r()
236 = tree_cons (id, NULL_TREE, DECL_ATTRIBUTES (node->decl)); in omp_discover_declare_target_tgt_fn_r()
[all …]
Dipa-visibility.cc101 && !lookup_attribute ("noipa", DECL_ATTRIBUTES (node->decl)) in non_local_p()
215 DECL_ATTRIBUTES (node->decl))) in cgraph_externally_visible_p()
217 if (lookup_attribute ("noipa", DECL_ATTRIBUTES (node->decl))) in cgraph_externally_visible_p()
221 DECL_ATTRIBUTES (node->decl))) in cgraph_externally_visible_p()
288 DECL_ATTRIBUTES (decl))) in externally_visible_p()
292 DECL_ATTRIBUTES (decl))) in externally_visible_p()
506 DECL_ATTRIBUTES (node->decl) = remove_attribute ("weakref", in optimize_weakref()
507 DECL_ATTRIBUTES in optimize_weakref()
631 || lookup_attribute ("noipa", DECL_ATTRIBUTES (node->decl))) in function_and_variable_visibility()
837 DECL_ATTRIBUTES (vnode->decl))) in function_and_variable_visibility()
Dattribs.cc481 attrs[0] = DECL_ATTRIBUTES (node); in diag_attr_exclusions()
896 old_attrs = DECL_ATTRIBUTES (*anode); in decl_attributes()
919 DECL_ATTRIBUTES (*anode) = r; in decl_attributes()
1132 attr1 = lookup_attribute ("target", DECL_ATTRIBUTES (fn1)); in common_function_versions()
1133 attr2 = lookup_attribute ("target", DECL_ATTRIBUTES (fn2)); in common_function_versions()
1156 DECL_ATTRIBUTES (fn2) in common_function_versions()
1159 DECL_ATTRIBUTES (fn2)); in common_function_versions()
1221 tree attr = lookup_attribute ("target", DECL_ATTRIBUTES (decl)); in is_function_default_version()
1234 DECL_ATTRIBUTES (ddecl) = attribute; in build_decl_attribute_variant()
1687 return merge_attributes (DECL_ATTRIBUTES (olddecl), in merge_decl_attributes()
[all …]
Dasan.h244 tree value = lookup_attribute ("no_sanitize", DECL_ATTRIBUTES (fn));
260 DECL_ATTRIBUTES (fn)) == NULL_TREE));
Domp-general.cc1087 DECL_ATTRIBUTES (current_function_decl))) in omp_maybe_offloaded()
1220 DECL_ATTRIBUTES (variant)); in omp_mark_declare_variant()
1225 DECL_ATTRIBUTES (variant)); in omp_mark_declare_variant()
1226 DECL_ATTRIBUTES (variant) = attr; in omp_mark_declare_variant()
1562 = DECL_ATTRIBUTES (current_function_decl); in omp_context_selector_matches()
2250 for (tree attr = DECL_ATTRIBUTES (base); attr; attr = TREE_CHAIN (attr)) in omp_resolve_declare_variant()
2396 tree attributes = DECL_ATTRIBUTES (base); in omp_resolve_declare_variant()
2410 DECL_ATTRIBUTES (alt) = attributes; in omp_resolve_declare_variant()
2550 for (tree attr = DECL_ATTRIBUTES (entryp->base->decl); in omp_lto_output_declare_variant_alt()
2604 for (tree attr = DECL_ATTRIBUTES (entryp->base->decl); in omp_lto_input_declare_variant_alt()
[all …]
Dipa-inline.cc268 if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (callee))) in sanitize_attrs_match_for_inline_p()
480 DECL_ATTRIBUTES (caller->decl)) in can_inline_edge_by_limits_p()
498 DECL_ATTRIBUTES (callee->decl))); in can_inline_edge_by_limits_p()
553 else if (lookup_attribute ("optimize", DECL_ATTRIBUTES (callee->decl)) in can_inline_edge_by_limits_p()
567 DECL_ATTRIBUTES (caller->decl))) in can_inline_edge_by_limits_p()
651 DECL_ATTRIBUTES (caller->decl)) == NULL_TREE) in can_early_inline_edge_p()
653 DECL_ATTRIBUTES (callee->decl)) == NULL_TREE))) in can_early_inline_edge_p()
2647 if (lookup_attribute ("flatten", DECL_ATTRIBUTES (node->decl)) == NULL) in flatten_remove_node_hook()
2707 DECL_ATTRIBUTES (node->decl)) != NULL) in ipa_inline()
2876 DECL_ATTRIBUTES (callee->decl)) != NULL) in inline_always_inline_functions()
[all …]
Dsymtab.cc1111 else if ((lookup_attribute ("ifunc", DECL_ATTRIBUTES (decl)) in verify_base()
1299 && !lookup_attribute ("section", DECL_ATTRIBUTES (decl))) in verify_base()
1529 DECL_ATTRIBUTES (decl) = remove_attribute ("weakref", in make_decl_local()
1530 DECL_ATTRIBUTES (decl)); in make_decl_local()
2029 || DECL_ATTRIBUTES (node->decl) != DECL_ATTRIBUTES (fn->decl)) in noninterposable_alias()
2059 else if (lookup_attribute ("target_clones", DECL_ATTRIBUTES (node->decl))) in noninterposable_alias()
2380 && (lookup_attribute ("non overlapping", DECL_ATTRIBUTES (decl)) in equal_address_to()
2381 || lookup_attribute ("non overlapping", DECL_ATTRIBUTES (s2->decl)))) in equal_address_to()
Dvarpool.cc154 && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl))) in get_create()
482 if (lookup_attribute ("no_reorder", DECL_ATTRIBUTES (decl))) in add()
785 if (lookup_attribute ("weakref", DECL_ATTRIBUTES (alias)) != NULL) in create_alias()
Dgimple-warn-recursion.cc181 noreturn_p = lookup_attribute ("noreturn", DECL_ATTRIBUTES (m_func->decl)); in execute()
Dgimple-expr.cc382 DECL_ATTRIBUTES (copy) = DECL_ATTRIBUTES (var); in copy_var_decl()
Dipa-icf.cc388 if (!attribute_list_equal (DECL_ATTRIBUTES (n1->decl), in compare_referenced_symbol_properties()
389 DECL_ATTRIBUTES (n2->decl))) in compare_referenced_symbol_properties()
665 if (!attribute_list_equal (DECL_ATTRIBUTES (decl), in equals_wpa()
666 DECL_ATTRIBUTES (item->decl))) in equals_wpa()
1163 else if (lookup_attribute ("noinline", DECL_ATTRIBUTES (alias->decl))) in merge()
1520 if (lookup_attribute_by_prefix ("omp ", DECL_ATTRIBUTES (node->decl)) != NULL) in parse()
1524 DECL_ATTRIBUTES (node->decl)) != NULL) in parse()
3421 if (lookup_attribute ("no_icf", DECL_ATTRIBUTES (alias->decl))) in merge_classes()
Dipa-split.cc937 if (lookup_attribute ("warning", DECL_ATTRIBUTES (decl)) in visit_bb()
938 || lookup_attribute ("error", DECL_ATTRIBUTES (decl))) in visit_bb()
1800 if (lookup_attribute ("noinline", DECL_ATTRIBUTES (current_function_decl))) in execute_split_functions()
1806 if (lookup_attribute ("section", DECL_ATTRIBUTES (current_function_decl))) in execute_split_functions()
Dtree-inline.cc545 DECL_ATTRIBUTES (v) in remap_type_1()
547 DECL_ATTRIBUTES (v)); in remap_type_1()
2478 && !lookup_attribute ("omp simd array", DECL_ATTRIBUTES (var))) in add_clobbers_to_eh_landing_pad()
3949 && !lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn))) in inline_forbidden_p_stmt()
4105 for (a = DECL_ATTRIBUTES (fndecl); a; a = TREE_CHAIN (a)) in function_attribute_inlinable_p()
4140 always_inline = lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)); in tree_inlinable_function_p()
4825 if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)) in expand_call_inline()
4853 && !lookup_attribute ("noinline", DECL_ATTRIBUTES (fn)) in expand_call_inline()
5013 if (lookup_attribute ("cold", DECL_ATTRIBUTES (fn))) in expand_call_inline()
5971 if (!lookup_attribute ("omp simt private", DECL_ATTRIBUTES (copy))) in copy_decl_for_dup_finish()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/
Dsol2.cc56 if (lookup_attribute ("aligned", DECL_ATTRIBUTES (decl)) in solaris_insert_attributes()
110 if (lookup_attribute ("init", DECL_ATTRIBUTES (decl))) in solaris_output_init_fini()
117 if (lookup_attribute ("fini", DECL_ATTRIBUTES (decl))) in solaris_output_init_fini()
Ddarwin.cc1283 && ! lookup_attribute ("weakref", DECL_ATTRIBUTES (decl)) in darwin_encode_section_info()
1296 || lookup_attribute ("weakref", DECL_ATTRIBUTES (decl))) in darwin_encode_section_info()
1303 tree o2meta = lookup_attribute ("OBJC2META", DECL_ATTRIBUTES (decl)); in darwin_encode_section_info()
1432 && DECL_ATTRIBUTES (decl)) in is_objc_metadata()
1434 tree meta = lookup_attribute ("OBJC2META", DECL_ATTRIBUTES (decl)); in is_objc_metadata()
1437 meta = lookup_attribute ("OBJC1META", DECL_ATTRIBUTES (decl)); in is_objc_metadata()
1618 && !lookup_attribute ("weak_import", DECL_ATTRIBUTES (decl))); in machopic_select_section()
1733 && DECL_ATTRIBUTES (decl)) in machopic_select_section()
1735 tree meta = lookup_attribute ("OBJC2META", DECL_ATTRIBUTES (decl)); in machopic_select_section()
1738 meta = lookup_attribute ("OBJC1META", DECL_ATTRIBUTES (decl)); in machopic_select_section()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/lto/
Dlto-symtab.cc576 if (DECL_ATTRIBUTES (prevailing) != DECL_ATTRIBUTES (decl)) in lto_symtab_merge_p()
578 tree prev_attr = lookup_attribute ("error", DECL_ATTRIBUTES (prevailing)); in lto_symtab_merge_p()
579 tree attr = lookup_attribute ("error", DECL_ATTRIBUTES (decl)); in lto_symtab_merge_p()
589 prev_attr = lookup_attribute ("warning", DECL_ATTRIBUTES (prevailing)); in lto_symtab_merge_p()
590 attr = lookup_attribute ("warning", DECL_ATTRIBUTES (decl)); in lto_symtab_merge_p()
600 prev_attr = lookup_attribute ("noreturn", DECL_ATTRIBUTES (prevailing)); in lto_symtab_merge_p()
601 attr = lookup_attribute ("noreturn", DECL_ATTRIBUTES (decl)); in lto_symtab_merge_p()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Dwinnt-cxx.cc86 tree decl_attrs = DECL_ATTRIBUTES (decl); in maybe_add_dllexport()
90 DECL_ATTRIBUTES (decl) = tree_cons (get_identifier ("dllexport"), in maybe_add_dllexport()
Dwinnt.cc125 if (lookup_attribute ("dllexport", DECL_ATTRIBUTES (decl))) in i386_pe_determine_dllexport_p()
262 || !lookup_attribute ("visibility", DECL_ATTRIBUTES (decl))) in i386_pe_assemble_visibility()
345 && !lookup_attribute ("weakref", DECL_ATTRIBUTES (exp)) in i386_pe_binds_local_p()
463 && lookup_attribute ("shared", DECL_ATTRIBUTES (decl))) in i386_pe_section_type_flags()
526 DECL_ATTRIBUTES (decl))); in i386_pe_asm_named_section()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dvtable-class-hierarchy.cc195 DECL_ATTRIBUTES (verify_vtbl_ptr_fndecl) in vtv_build_vtable_verify_fndecl()
197 DECL_ATTRIBUTES (verify_vtbl_ptr_fndecl)); in vtv_build_vtable_verify_fndecl()
258 DECL_ATTRIBUTES (vlt_register_set_fndecl) = in init_functions()
260 DECL_ATTRIBUTES (vlt_register_set_fndecl)); in init_functions()
302 DECL_ATTRIBUTES (vlt_register_pairs_fndecl) = in init_functions()
304 DECL_ATTRIBUTES (vlt_register_pairs_fndecl)); in init_functions()
Doptimize.cc513 DECL_ATTRIBUTES (clone) = copy_list (DECL_ATTRIBUTES (fn)); in maybe_clone_body()
/netbsd/src/external/gpl3/gcc/dist/gcc/objc/
Dobjc-next-metadata-tags.h178 DECL_ATTRIBUTES (DECL) = build_tree_list ((VERS), (KIND));
/netbsd/src/external/gpl3/gcc/dist/gcc/config/v850/
Dv850.cc1968 if (lookup_attribute ("sda", DECL_ATTRIBUTES (decl)) != NULL_TREE) in v850_get_data_area()
1971 if (lookup_attribute ("tda", DECL_ATTRIBUTES (decl)) != NULL_TREE) in v850_get_data_area()
1974 if (lookup_attribute ("zda", DECL_ATTRIBUTES (decl)) != NULL_TREE) in v850_get_data_area()
1996 DECL_ATTRIBUTES (decl) = tree_cons in v850_set_data_area()
1997 (name, NULL, DECL_ATTRIBUTES (decl)); in v850_set_data_area()
2086 a = lookup_attribute ("interrupt_handler", DECL_ATTRIBUTES (func)); in v850_interrupt_function_p()
2092 a = lookup_attribute ("interrupt", DECL_ATTRIBUTES (func)); in v850_interrupt_function_p()

123456