IPA ICF: compare_operand is split to multiple functions.
authorMartin Liska <mliska@suse.cz>
Fri, 9 Jan 2015 10:45:18 +0000 (11:45 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 9 Jan 2015 10:45:18 +0000 (10:45 +0000)
commit520b30221300436cbc178a4110123c12ad3ee0ee
tree796989ae907b8f48345b88fac0d7067a42ea2c98
parentce9401b43fd971f49db251a56f5a32c68de803a2
IPA ICF: compare_operand is split to multiple functions.

* ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
name comparison.
(func_checker::compare_memory_operand): New function.
(func_checker::compare_operand): Split case to newly
added functions.
(func_checker::compare_cst_or_decl): New function.
(func_checker::compare_gimple_call): Identify
memory operands.
(func_checker::compare_gimple_assign): Likewise.
* ipa-icf-gimple.h: New function.

From-SVN: r219379
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/ipa-icf-gimple.h