Hi , Can anyone help me where regarding lexer code for LLVM IR code.I mean where is the lexer code for LLVM.(not lexer code for clang,I need after IR code generation) -- Thanks & Regards, Prashant Sharma M.Tech(2nd Year),Research Assistant Computer Science & Engineering IIT Hyderabad ᐧ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141010/06f54f04/attachment.html>
Hi, On Fri, Oct 10, 2014 at 11:26:41PM +0530, Prashanth Sharma wrote:> Hi , > Can anyone help me where regarding lexer code for LLVM IR code.I mean where is > the lexer code for LLVM.(not lexer code for clang,I need after IR code > generation)Take a look on IRReader.cpp might be helpful, also see [1]. [1] http://stackoverflow.com/questions/9167347/parsing-and-modifying-llvm-ir-code Regards, chenwj -- Wei-Ren Chen (陳韋任) Homepage: http://people.cs.nctu.edu.tw/~chenwj
Hi Prashanth, On Fri, Oct 10, 2014 at 10:56 AM, Prashanth Sharma <cs13m1017 at iith.ac.in> wrote:> Hi , > Can anyone help me where regarding lexer code for LLVM IR code.I mean > where is the lexer code for LLVM.(not lexer code for clang,I need after IR > code generation) >The IR lexer is in lib/AsmParser/LLLexer.cpp. - Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141013/e9d82abf/attachment.html>