Lines Matching refs:attributes
85 vec<attribute_spec> attributes; member
125 register_scoped_attributes (const struct attribute_spec *attributes, in register_scoped_attributes() argument
143 sa.attributes.create (64); in register_scoped_attributes()
149 for (unsigned i = 0; attributes[i].name != NULL; ++i) in register_scoped_attributes()
151 result->attributes.safe_push (attributes[i]); in register_scoped_attributes()
152 register_scoped_attribute (&attributes[i], result); in register_scoped_attributes()
469 decl_attributes (tree *node, tree attributes, int flags, in decl_attributes() argument
474 if (TREE_TYPE (*node) == error_mark_node || attributes == error_mark_node) in decl_attributes()
484 tree cur_attr = lookup_attribute ("optimize", attributes); in decl_attributes()
488 attributes in decl_attributes()
489 = tree_cons (get_identifier ("optimize"), opts, attributes); in decl_attributes()
506 tree cur_attr = lookup_attribute ("target", attributes); in decl_attributes()
510 attributes = tree_cons (get_identifier ("target"), opts, attributes); in decl_attributes()
518 && attributes in decl_attributes()
519 && lookup_attribute ("naked", attributes) != NULL in decl_attributes()
522 if (lookup_attribute ("noinline", attributes) == NULL) in decl_attributes()
523 attributes = tree_cons (get_identifier ("noinline"), NULL, attributes); in decl_attributes()
525 if (lookup_attribute ("noclone", attributes) == NULL) in decl_attributes()
526 attributes = tree_cons (get_identifier ("noclone"), NULL, attributes); in decl_attributes()
532 && attributes in decl_attributes()
533 && lookup_attribute ("noipa", attributes) != NULL in decl_attributes()
536 if (lookup_attribute ("noinline", attributes) == NULL) in decl_attributes()
537 attributes = tree_cons (get_identifier ("noinline"), NULL, attributes); in decl_attributes()
539 if (lookup_attribute ("noclone", attributes) == NULL) in decl_attributes()
540 attributes = tree_cons (get_identifier ("noclone"), NULL, attributes); in decl_attributes()
542 if (lookup_attribute ("no_icf", attributes) == NULL) in decl_attributes()
543 attributes = tree_cons (get_identifier ("no_icf"), NULL, attributes); in decl_attributes()
546 targetm.insert_attributes (*node, &attributes); in decl_attributes()
550 for (tree attr = attributes; attr; attr = TREE_CHAIN (attr)) in decl_attributes()
1431 tree attributes; in merge_attributes() local
1435 if ((attributes = a1) == 0) in merge_attributes()
1436 attributes = a2; in merge_attributes()
1443 attributes = a2; in merge_attributes()
1449 attributes = a2, a2 = a1; in merge_attributes()
1455 attributes); in merge_attributes()
1463 TREE_CHAIN (a1) = attributes; in merge_attributes()
1464 attributes = a1; in merge_attributes()
1469 return attributes; in merge_attributes()