Makefile.in: Add ipa-predicate.o and ipa-predicate.h
authorJan Hubicka <hubicka@gcc.gnu.org>
Thu, 18 May 2017 16:14:10 +0000 (16:14 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 18 May 2017 16:14:10 +0000 (16:14 +0000)
commitb679b55b5eb8ea463af3459092c19ba05cde664b
treee3393d1db3f70a23661e59bd26269ba67b9d40e3
parent00d600138536a4978f40b25233c2f37c0fc426d4
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: r248241
gcc/Makefile.in
gcc/ipa-inline-analysis.c
gcc/ipa-inline.h
gcc/ipa-predicate.c [new file with mode: 0644]
gcc/ipa-predicate.h [new file with mode: 0644]