diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2016-10-09 04:48:50 +0000 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh3492@gcc.gnu.org> | 2016-10-09 04:48:50 +0000 |
commit | 67b974787c1e77ebebb4f36cdf09ac11a5690f43 (patch) | |
tree | 152594ddc68b650d1a9417e3b3ee8df10731b94a /gcc/ipa-prop.h | |
parent | e525cfa7e30afee5c4c5a4224c5c340ae95cf75f (diff) | |
download | gcc-67b974787c1e77ebebb4f36cdf09ac11a5690f43.zip gcc-67b974787c1e77ebebb4f36cdf09ac11a5690f43.tar.gz gcc-67b974787c1e77ebebb4f36cdf09ac11a5690f43.tar.bz2 |
ipa-cp.c (ipcp_alignment_lattice): Remove.
2016-10-09 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
* ipa-cp.c (ipcp_alignment_lattice): Remove.
(ipcp_param_lattices): Remove field alignment.
(print_all_lattices): Remove call to ipcp_alignment_lattice::print.
(set_all_contains_variable): Remove call to
ipcp_alignment_lattice::set_to_bottom.
(initialize_node_lattices): Likewise.
(propagate_alignment_accross_jump_function): Remove.
(propagate_constants_accross_call): Remove call to
propagate_alignment_accross_jump_function.
(ipcp_store_alignment_results): Remove.
(ipcp_driver): Remove call to ipcp_store_alignment_results.
(propagate_bits_accross_jump_function): Handle ancestor jump function.
* ipa-prop.c (ipa_print_node_jump_functions_for_edge): Remove
pretty-printing of alignment jump function.
(ipa_set_jf_unknown): Remove assignment to jfunc->alignment.known.
(ipa_compute_jump_functions_for_edge): Adjust ipa_bits jump function for
alignments and remove computing ipa_alignment jump function.
(ipa_node_params_t::duplicate): Remove copying of src_trans->alignments.
(ipa_write_jump_functions): Remove streaming for ipa_alignment.
(ipa_read_jump_function): Remove reading of ipa_alignment.
(write_ipcp_transformation_info): Remove streaming for alignment
propagation summary.
(read_ipcp_transformation_info): Remove reading of alignment
propagation summary.
(ipcp_update_alignments): Remove.
(ipcp_update_bits): Adjust to set alignment for parameters of pointer
type.
(ipcp_transform_function): Remove call to ipcp_update_alignments()
and remove assignment to (*ipcp_transformations)[node->uid].alignments.
* ipa-prop.h (ipa_alignment): Remove.
(ipa_jump_func): Remove field alignment.
(ipcp_transformation_summary): Remove field alignments.
* doc/invoke.texi: Mark fipa-cp-alignment as obsolete.
* opts.c (default_options_table): Remove entry for fipa-cp-alignment.
(enable_fdo_optimizations): Remove checking for fipa-cp-alignment.
testsuite/
* gcc.dg/ipa/propalign-1.c: Adjust scan-ipa-dump.
* gcc.dg/ipa/propalign-2.c: Likewise
* gcc.dg/ipa/propalign-3.c: Likewise.
* gcc.dg/ipa/propalign-4.c: Likewise.
* gcc.dg/ipa/propalign-5.c: Likewise.
From-SVN: r240898
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r-- | gcc/ipa-prop.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index a123978..4eeae88 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -143,17 +143,6 @@ struct GTY(()) ipa_agg_jump_function typedef struct ipa_agg_jump_function *ipa_agg_jump_function_p; -/* Info about pointer alignments. */ -struct GTY(()) ipa_alignment -{ - /* The data fields below are valid only if known is true. */ - bool known; - /* See ptr_info_def and get_pointer_alignment_1 for description of these - two. */ - unsigned align; - unsigned misalign; -}; - /* Information about zero/non-zero bits. */ struct GTY(()) ipa_bits { @@ -186,9 +175,6 @@ struct GTY (()) ipa_jump_func description. */ struct ipa_agg_jump_function agg; - /* Information about alignment of pointers. */ - struct ipa_alignment alignment; - /* Information about zero/non-zero bits. */ struct ipa_bits bits; @@ -531,8 +517,6 @@ struct GTY(()) ipcp_transformation_summary { /* Linked list of known aggregate values. */ ipa_agg_replacement_value *agg_values; - /* Alignment information for pointers. */ - vec<ipa_alignment, va_gc> *alignments; /* Known bits information. */ vec<ipa_bits, va_gc> *bits; /* Value range information. */ |