Juan Carlos Martinez Santos
2009-Sep-23 18:23 UTC
[LLVMdev] Extending LLVM: Adding instructions, intrinsics, types, etc.
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: 1. llvm/lib/AsmReader/Lexer.l: add ability to parse in the type from text assembly 2. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090923/b71cfb55/attachment.html>
Bill Wendling
2009-Sep-23 19:54 UTC
[LLVMdev] Extending LLVM: Adding instructions, intrinsics, types, etc.
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 > >
Apparently Analagous Threads
- [LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
- [LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
- [LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
- [LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
- [LLVMdev] The document fault in llvm doc. And a comiling error