cfgbuild.h: New.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 22 Oct 2014 14:26:56 +0000 (14:26 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 22 Oct 2014 14:26:56 +0000 (14:26 +0000)
commit893479def2f2b98d16e7311fe3bfff58ed003467
tree9d61392a70f0091f38c55c6d45211065e1032b6c
parent4a7fca26b4c148457bef6da0975f1122aa106271
cfgbuild.h: New.

2014-10-22  Andrew MacLeod  <amacleod@redhat.com>

* cfgbuild.h: New.  Add prototypes for cfgbuild.c.
* cfgcleanup.h: New.  Add prototypes for cfgcleanup.c.
* cfgloopmanip.h: New.  Add prototypes for cfgloopmanip.c.
* dominance.h: New.  Add prototypes for dominance.c.
* cfgloop.h: Move some prototypes/enum to cfgloopmanip.h and include it.
* cfghooks.h: (struct profile_record) Relocate here.
Relocate 2 prototypes from basic-block.h.
* basic-block.h: Move prototypes and struct to new header files.
Include cfgbuild.h, cfgcleanup.h, and dominance.h.
* rtl.h: Move a few prototypes to new header files.
* cfgcleanup.c (merge_memattrs): Make static.
* genopinit.c (main): Add predict.h to list of includes.
* predict.h: Update prototype list to match predict.c.
* predict.c (maybe_hot_count_p): Export.
(cgraph_edge::maybe_hot_p): Move to cgraph.c.
(cgraph_node::optimize_for_size_p): Move to cgraph.h.
* cgraph.h (cgraph_node::optimize_for_size_p): Relocate here.
* cgraph.c (cgraph_edge::maybe_hot_p): Relocate here.
* profile.h: Adjust prototypes.
* ifcvt.h: New.  Relocate struct ce_if_block here.
* ifcvt.c: Include ifcvt.h.

* config/frv/frv.c: Include ifcvt.h.
* config/frv/frv-protos.h: Add 'struct' to ce_if_block * parameters.

From-SVN: r216559
20 files changed:
gcc/ChangeLog
gcc/basic-block.h
gcc/cfgbuild.h [new file with mode: 0644]
gcc/cfgcleanup.c
gcc/cfgcleanup.h [new file with mode: 0644]
gcc/cfghooks.h
gcc/cfgloop.h
gcc/cfgloopmanip.h [new file with mode: 0644]
gcc/cgraph.c
gcc/cgraph.h
gcc/config/frv/frv-protos.h
gcc/config/frv/frv.c
gcc/dominance.h [new file with mode: 0644]
gcc/genopinit.c
gcc/ifcvt.c
gcc/ifcvt.h [new file with mode: 0644]
gcc/predict.c
gcc/predict.h
gcc/profile.h
gcc/rtl.h