Hi Tobias , thanks for our answer and sorry for the delay !
Just to let you know where I am in my reflexion. Now, I'm pretty sure that I need this functionality in order to realize what I want to do (yeah , took that much time ^^ ) so I'm actually working on it !
My goal here is to be able to access the polyhedral model through the plugin interface in order to do some basic data analysis on that, I'm not doing any code transformation. Basically, the data I want to manipulate in my plugin is the result of the build_scops function in graphite_transform_loops.
As far as I know, the plugin interface is working on events also called hooks defined in plugin.def. At the beginning of compilation, you can register callbacks to the events, callbacks are defined in the plugin, then during the compilation phase, events are triggered in GCC with the invoke_plugin_callbacks.
I don't know if this kind of work can interest Graphite team, I can let you know if you're interested.
Cheers ,
Gregory