[LLVMdev] source - target code of a pass

Giacomo Tagliabue giacomo.tag at gmail.com
Sun Apr 14 11:00:01 PDT 2013


That sound promising, Thanks.
Giacomo


On 14 April 2013 12:52, edA-qa mort-ora-y <eda-qa at disemia.com> wrote:

> On 14/04/13 19:50, edA-qa mort-ora-y wrote:
> > I don't know if there is an explicit clone method, but you could do the
> > printing and then parse it again. That would effectively create a clone
> > of the object.
>
> It appears the "llvm" namespace has several Clone functions. Thus you
> should be able to do what I suggested: Clone the function, run the
> original through the optimizer, and then compare the results.
>
>
> --
> edA-qa mort-ora-y
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Sign: Please digitally sign your emails.
> Encrypt: I'm also happy to receive encrypted mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130414/81069bf9/attachment.html>


More information about the llvm-dev mailing list