aboutsummaryrefslogtreecommitdiff
path: root/gcc/attribs.h
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2017-05-11 21:51:07 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2017-05-11 21:51:07 +0000
commit1b062c1ac195e221ff72e03b37d630a4fa1f6dbe (patch)
treefa84a1609b174a307898b89d3439589e106fec7d /gcc/attribs.h
parent3619ab8bd4ed2ceaeb202ccaa59341c863679725 (diff)
downloadgcc-1b062c1ac195e221ff72e03b37d630a4fa1f6dbe.zip
gcc-1b062c1ac195e221ff72e03b37d630a4fa1f6dbe.tar.gz
gcc-1b062c1ac195e221ff72e03b37d630a4fa1f6dbe.tar.bz2
attribs.h (sorted_attr_string): Move machine independent functions for target clone support from the i386 port...
2017-05-11 Michael Meissner <meissner@linux.vnet.ibm.com> * attribs.h (sorted_attr_string): Move machine independent functions for target clone support from the i386 port to common code. Rename ix86_function_versions to common_function_versions. Rename make_name to make_unique_name. (common_function_versions): Likewise. (make_unique_name): Likewise. (make_dispatcher_decl): Likewise. (is_function_default_version): Likewise. * attribs.c (attr_strcmp): Likewise. (sorted_attr_string): Likewise. (common_function_versions): Likewise. (make_unique_name): Likewise. (make_dispatcher_decl): Likewise. (is_function_default_version): Likewise. * config/i386/i386.c (attr_strcmp): Likewise. (sorted_attr_string): Likewise. (ix86_function_versions): Likewise. (make_name): Likewise. (make_dispatcher_decl): Likewise. (is_function_default_version): Likewise. (TARGET_OPTION_FUNCTION_VERSIONS): Update target function hook. From-SVN: r247932
Diffstat (limited to 'gcc/attribs.h')
-rw-r--r--gcc/attribs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/attribs.h b/gcc/attribs.h
index 9d3741c..7f13332 100644
--- a/gcc/attribs.h
+++ b/gcc/attribs.h
@@ -41,4 +41,10 @@ extern tree make_attribute (const char *, const char *, tree);
extern struct scoped_attributes* register_scoped_attributes (const struct attribute_spec *,
const char *);
+extern char *sorted_attr_string (tree);
+extern bool common_function_versions (tree, tree);
+extern char *make_unique_name (tree, const char *, bool);
+extern tree make_dispatcher_decl (const tree);
+extern bool is_function_default_version (const tree);
+
#endif // GCC_ATTRIBS_H