> Therefore, the most effective way to address the issue of running redundant > optimization passes in the context is probably to put it in the wider > context > of the work to allow external plugins to influence the pass sequence that is > being applied, and to control this with machine learning. > Joern is right about external plugins. AFAIK, this work was done as a part of GSoC#2009 project leaded by Grigori Fursin. Please check these links for fufther information - 1) http://ctuning.org/wiki/index.php/CTools:ICI:Projects:GSOC09:Function_cloning_and_program_instrumentation#Work_with_adapt_plugin 2) http://ctuning.org/wiki/index.php/CTools:ICI:Projects:GSOC09:Scripts
In my opinion, you can easily edit XML's generated by adapt plugin to exclude particular passes, then run scripts to make adapt plugin substitute passes according to your edited XML files. Thanks!