[LLVMdev] Extending LLVM: Adding instructions, intrinsics, types, etc.

Bill Wendling isanbard at gmail.com
Wed Sep 23 12:54:35 PDT 2009


Hi Juan,

We no longer use lex and yacc for compiling LLVM's IR. Check out the
new lexer/parser. :-)

-bw

On Wed, Sep 23, 2009 at 11:23 AM, Juan Carlos Martinez Santos
<juanc.martinez.santos at gmail.com> wrote:
> Hello all,
>
> I am trying to add a new type; however, I found the information in the web
> site out of date. The modification was: 2008-12-11 12:23:24 -0600.
>
> I am interested in the below files:
>
> llvm/lib/AsmReader/Lexer.l: add ability to parse in the type from text
> assembly
> llvm/lib/AsmReader/llvmAsmParser.y: add a token for that type
>
> I could not find them.
>
> Could someone tell me what will be new way to add a type.
>
> Thanks in advance,
>
> --
> Juan Carlos
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list