[cfe-dev] Inserting a high level transformation pass that uses TreeTransform

Olaf Krzikalla Olaf.Krzikalla at tu-dresden.de
Fri Mar 8 01:55:18 PST 2013


Am 04.03.2013 21:48, schrieb JohnH:
> I should have told that I want to do a bit more than inserting calls. I also
> want to duplicate some pieces of code like:
>
>    for(...)
>      S;
>
> to:
>
>    if(...)
>    {
>      for(...)
>        S;
>    }
>    else
>    {
>      for(...)
>        S;
>    }
Looks a little bit like loop unswitching. I do this in Scout 
(http://scout.zih.tu-dresden.de/) but without using TreeTransform.
However you will also find a TreeTransform example in Scout.

Best Olaf



More information about the cfe-dev mailing list