[LLVMdev] LLVM IR generation as one of LLVM passes

Wojciech Daniło wojtek.danilo.ml at gmail.com
Tue Nov 6 10:36:38 PST 2012


Ah I see - this is the ModulePass. Thank you and sorry for so easy question
but now its clear :)

2012/11/6 Eli Friedman <eli.friedman at gmail.com>

> On Tue, Nov 6, 2012 at 1:10 AM, Wojciech Daniło
> <wojtek.danilo.ml at gmail.com> wrote:
> > Thank you, I have seen this page, but before I start developing my tool
> and
> > digging deeply into LLVM I would love to know if I can generate LLVM IR
> in
> > one of passes (as a result of one pass, before running other).
> > Please answer this simple question :)
> >
> > Thank you :)
>
> Passes can perform arbitrary modifications to a Module; this includes
> generating IR.
>
> -Eli
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121106/837c0310/attachment.html>


More information about the llvm-dev mailing list