finding the induction variable after graphite (before ivcanon pass)?
Basile Starynkevitch
basile@starynkevitch.net
Thu May 19 14:22:00 GMT 2011
Hello
I am coding a pass in MELT which should ideally transform some OpenCL things
into Gimple (yes, I do know that this has been done by Andrey Belevantset et
al in their http://www.gccsummit.org/2010/view_abstract.php?content_key=15
paperat GCC Summit 2010).
That meltopengpu_detect pass is in the MELT branch file
gcc/melt/xtramelt-opengpu.melt
It is currently installed before the ivcanon pass.
How should I find the induction variable? I could loop at the internal name
of the variable, and check if it starts with graphite_IV. But is there a
better way?
(I want to code a MELT extension to gcc-4.6 thru the MELT plugin)
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***
More information about the Gcc
mailing list