[LLVMdev] share between AST and IR?

ret val retval386 at gmail.com
Wed Jul 20 19:32:00 PDT 2011


I wrote a plugin using ASTConsumer and RecursiveASTVisitor to find
"interesting" variables and functions. I'm wonder if there is a way to
save/flag/metadata these so later on at the IR level I can use this
information in a Pass.

As far as I can tell nothing currently would allow me todo this and I'm
wondering what exactly it would take to do something like this. After
stairing at the ode for awhile I'm not even really sure where to begin or
what the key files are.

Any advice?
Thanks you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110720/4ef26aee/attachment.html>


More information about the llvm-dev mailing list