diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-31 13:57:05 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-31 13:57:05 +0000 |
commit | c8a2b4ff9b521b6b455caf9b45137c7153738a64 (patch) | |
tree | 724d536345f0d153b316b5c50064d6336fea231b /gcc/tree-ssanames.h | |
parent | fc08b993096e47f63278b70ea0df4e3ae54115cc (diff) | |
download | gcc-c8a2b4ff9b521b6b455caf9b45137c7153738a64.tar.gz |
* tree.c (tree_ctz): New function.
* tree.h (tree_ctz): New prototype.
* tree-ssanames.h (get_range_info, get_nonzero_bits): Change
first argument from tree to const_tree.
* tree-ssanames.c (get_range_info, get_nonzero_bits): Likewise.
* tree-vectorizer.h (vect_generate_tmps_on_preheader): New prototype.
* tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): No longer
static.
* expr.c (highest_pow2_factor): Reimplemented using tree_ctz.
* tree-vect-loop.c (vect_analyze_loop_operations,
vect_transform_loop): Don't force scalar loop for bound just because
number of iterations is unknown, only do it if it is not known to be
a multiple of vectorization_factor.
* builtins.c (get_object_alignment_2): Use tree_ctz on offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssanames.h')
-rw-r--r-- | gcc/tree-ssanames.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssanames.h b/gcc/tree-ssanames.h index 1d02d966fd7..d0a65425211 100644 --- a/gcc/tree-ssanames.h +++ b/gcc/tree-ssanames.h @@ -72,9 +72,10 @@ enum value_range_type { VR_UNDEFINED, VR_RANGE, VR_ANTI_RANGE, VR_VARYING }; /* Sets the value range to SSA. */ extern void set_range_info (tree, double_int, double_int); /* Gets the value range from SSA. */ -extern enum value_range_type get_range_info (tree, double_int *, double_int *); +extern enum value_range_type get_range_info (const_tree, double_int *, + double_int *); extern void set_nonzero_bits (tree, double_int); -extern double_int get_nonzero_bits (tree); +extern double_int get_nonzero_bits (const_tree); extern void init_ssanames (struct function *, int); extern void fini_ssanames (void); extern void ssanames_print_statistics (void); |