This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Loop information reuse for machine dependent reorg pass
- From: "Yoav Teboulle" <Yoav dot Teboulle at ceva-dsp dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 28 May 2007 12:16:09 +0300
- Subject: Loop information reuse for machine dependent reorg pass
Hi,
I'm working on a new gcc port for which I'm writing a loop reorganization as a part of the machine dependant pass. This reorg requires information regarding the number of iterations in each loop. I tried to rebuild current_loops and extract the info from there using different loop initialization passes but noticed that the loop iterations are calculated in several different passes. I am also hesitant in re-running these passes as I don't want to cause unwanted side effects.
I was interested in learning if there is an accepted method for acquiring this information.
Regards and thanks in advance,
Yoav Teboulle ??