From 34d85166bb9c4e6d27e52ab2f70b9130d9e1a47a Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 11 Dec 2006 15:19:11 +0100 Subject: value-prof.c (tree_stringops_transform): New. * value-prof.c (tree_stringops_transform): New. (tree_value_profile_transformations): Require count to be non-zero; call stringop transform; reset stmt BSI after BB changed. (tree_divmod_fixed_value, tree_mod_pow2): Don't emit unnecesary label. (interesting_stringop_to_profile_p, tree_stringop_fixed_value): New. (tree_stringops_values_to_profile): New. (tree_values_to_profile): Call tree_stringops_values_to_profile. * tree.h (build_string_literal): Tidy prototype. (validate_arglist, builtin_memset_read_str, get_pointer_alignment): Declare. * builtins.c (validate_arglist, builtin_memset_read_str, get_pointer_alignment): Export. From-SVN: r119735 --- gcc/tree.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/tree.h') diff --git a/gcc/tree.h b/gcc/tree.h index 389ea16..6a000ed 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -4362,7 +4362,10 @@ extern tree strip_float_extensions (tree); extern tree c_strlen (tree, int); extern tree std_gimplify_va_arg_expr (tree, tree, tree *, tree *); extern tree build_va_arg_indirect_ref (tree); -tree build_string_literal (int, const char *); +extern tree build_string_literal (int, const char *); +extern int validate_arglist (tree, ...); +extern rtx builtin_memset_read_str (void *, HOST_WIDE_INT, enum machine_mode); +extern int get_pointer_alignment (tree, unsigned int); /* In convert.c */ extern tree strip_float_extensions (tree); -- cgit v1.1