[LLVMdev] Run pass on a particular Function or Module object

ryan stdstack at gmail.com
Mon Jul 9 00:06:24 PDT 2012


Hi,
This question may be bit dumb. But I couldn't find it in the doc.
Can I call instantiated a Pass and call methods like
runOnFunction on a single Function object that I want to look at ? Or I
have to
use opt and then loop until that function?
Thanks

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120709/bd1d6064/attachment.html>


More information about the llvm-dev mailing list