[LLVMdev] source - target code of a pass
Giacomo Tagliabue
giacomo.tag at gmail.com
Sun Apr 14 09:40:02 PDT 2013
Hello,
I want to compare a program before and after having run a FunctionPass. The
purpose is merely didactic. What I would like to do is, during the
runOnFunction() method, "save" somehow the instruction set and cfg of the
function, run the optimization. and then compare the two codes, before and
after the transformation.
Is there an automatic way tho do that, or a suggested approach?
Thanks,
GT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130414/5e07ab51/attachment.html>
More information about the llvm-dev
mailing list