[LLVMdev] LLVM IR generation as one of LLVM passes

Eli Friedman eli.friedman at gmail.com
Tue Nov 6 09:31:53 PST 2012


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




More information about the llvm-dev mailing list