aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2017-05-18 17:04:25 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2017-05-18 17:04:25 +0000
commit2f30407b611769efc98967fd9e5070305df752e9 (patch)
tree4c2e859ed48e0eb7934ddee4108338e67aade21c /gcc
parent6ecd23394a6cdc5de261943e480845ac4900c401 (diff)
downloadgcc-2f30407b611769efc98967fd9e5070305df752e9.zip
gcc-2f30407b611769efc98967fd9e5070305df752e9.tar.gz
gcc-2f30407b611769efc98967fd9e5070305df752e9.tar.bz2
Makefile.in: Add ipa-predicate.o and ipa-predicate.h
* Makefile.in: Add ipa-predicate.o and ipa-predicate.h * ipa-inline-analysis.c (NUM_CONDITIONS): turn into predicate::num_conditions (IS_NOT_CONSTANT): turn into predicate::is_not_constant. (CHANGED): turn into predicate::changed. (agg_position_info): Move to ipa-predicate.h (add_condition, predicate::add_clause, predicate::operator &=, predicate::or_with, predicate::evaluate, predicate::probability, dump_condition, dump_clause, predicate::dump, predicate::remap_after_duplication, predicate::remap_after_inlining, predicate::stream_in, predicate::stream_out): Move to ipa-predicate.c (evaluate_conditions_for_known_args): Update. (set_cond_stmt_execution_predicate): Update. * ipa-inline.h: Include ipa-predicate.h (condition, inline_param_summary, conditions, agg_position_info, predicate): Move to ipa-predicate.h * ipa-predicate.c: New file. * ipa-predicate.h: New file. From-SVN: r248243
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a9a861e..6151456 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,24 @@
+2017-05-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * Makefile.in: Add ipa-predicate.o and ipa-predicate.h
+ * ipa-inline-analysis.c (NUM_CONDITIONS): turn into
+ predicate::num_conditions
+ (IS_NOT_CONSTANT): turn into predicate::is_not_constant.
+ (CHANGED): turn into predicate::changed.
+ (agg_position_info): Move to ipa-predicate.h
+ (add_condition, predicate::add_clause, predicate::operator &=,
+ predicate::or_with, predicate::evaluate, predicate::probability,
+ dump_condition, dump_clause, predicate::dump,
+ predicate::remap_after_duplication, predicate::remap_after_inlining,
+ predicate::stream_in, predicate::stream_out): Move to ipa-predicate.c
+ (evaluate_conditions_for_known_args): Update.
+ (set_cond_stmt_execution_predicate): Update.
+ * ipa-inline.h: Include ipa-predicate.h
+ (condition, inline_param_summary, conditions, agg_position_info,
+ predicate): Move to ipa-predicate.h
+ * ipa-predicate.c: New file.
+ * ipa-predicate.h: New file.
+
2017-05-18 Wilco Dijkstra <wdijkstr@arm.com>
* final.c (leaf_function_p): Check we are not in a sequence.