OSDN Git Service

Recompute profile after Graphite.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Aug 2009 14:19:33 +0000 (14:19 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Aug 2009 14:19:33 +0000 (14:19 +0000)
commit675d86b2a33c6783fd1c21ae44d47b4fee9e95ea
treef9a4f9f1f654eb461ed80c62939a929783f0bba2
parent525c22c498481eed78b279ca708cf4d60509c90c
Recompute profile after Graphite.

2009-08-05  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (graphite.o): Depends on PREDICT_H.
* graphite.c: Include predict.h.
(graphite_finalize): Call tree_estimate_probability.
* predict.c (predict_loops): Do not call scev_initialize and
scev_finalize.
(tree_estimate_probability_bb): New.
(tree_estimate_probability): Do not initialize loops: move that
code to the driver.  Call tree_estimate_probability_bb.
(tree_estimate_probability_driver): New.
(pass_profile): Use tree_estimate_probability_driver.
* predict.h (tree_estimate_probability): Declared.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150684 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/Makefile.in
gcc/graphite.c
gcc/predict.c
gcc/predict.h