aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2006-12-11 15:19:11 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2006-12-11 14:19:11 +0000
commit34d85166bb9c4e6d27e52ab2f70b9130d9e1a47a (patch)
tree77f1ba617455cbee2a407e6f38b6978a81655463 /gcc/tree.h
parentfa283935def9d8589b50e651a6a9a3af774fe9a3 (diff)
downloadgcc-34d85166bb9c4e6d27e52ab2f70b9130d9e1a47a.zip
gcc-34d85166bb9c4e6d27e52ab2f70b9130d9e1a47a.tar.gz
gcc-34d85166bb9c4e6d27e52ab2f70b9130d9e1a47a.tar.bz2
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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h5
1 files changed, 4 insertions, 1 deletions
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);