[LLVMdev] transform an IR code

Renato Golin rengolin at systemcall.org
Mon Apr 11 01:30:34 PDT 2011


On 8 April 2011 17:20, abd nabila <china_girl_nnb at yahoo.fr> wrote:

> Hi all,
> I'm interrested to use llvm in order to instrument the IR llvm code.
> in fact i would like to make transformations into an IR code. those
> transformations would be invoked in the running of the IR code.
> should i write a pass?
> if it is what i would do after in order to transform or instrument the IR
> code
> Any suggestion or tutorials?
>


Hi Abc,

Yes, you should. Try this:

http://llvm.org/docs/WritingAnLLVMPass.html

-- 
cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110411/d4ec6487/attachment.html>


More information about the llvm-dev mailing list