Hi, I need the description of LLVM instructions on bitcode file. I can't find it on any document. Reading the code costs much time. Does a description like this exist ? It should look like the JVM Instruction set on the link bellow: http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht ml Thanks for any advise. Quang
On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote:> Hi, > I need the description of LLVM instructions on bitcode file. I can't > find it > on any document. Reading the code costs much time. Does a > description like > this exist ? It should look like the JVM Instruction set on the link > bellow: > http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht > mlhttp://llvm.org/docs/LangRef.html -Chris
On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote:> Hi, > I need the description of LLVM instructions on bitcode file. I can't > find it > on any document. Reading the code costs much time. Does a > description like > this exist ? It should look like the JVM Instruction set on the link > bellow: > http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht > mlhttp://llvm.org/docs/LangRef.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4260 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080713/25437ff4/attachment.bin>
Hi Chris, Owen Thank for your answers. I have read it before. I mean something different. For example, I read a burst of bytes from a bitcode, which corresponds a LOAD instruction: [0,3,0], it actually means something like "%tmp1 = load i32* @x,align 4" Is there a document, that describes how the information in instructions decoded was ? In the case of JVM, it was described detail, what the next bytes after the mnemonic mean.. Thanks Quang -----Ursprüngliche Nachricht----- Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im Auftrag von Chris Lattner Gesendet: Sonntag, 13. Juli 2008 22:44 An: LLVM Developers Mailing List Betreff: Re: [LLVMdev] instruction description On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote:> Hi, > I need the description of LLVM instructions on bitcode file. I can't > find it > on any document. Reading the code costs much time. Does a > description like > this exist ? It should look like the JVM Instruction set on the link > bellow: >http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht> mlhttp://llvm.org/docs/LangRef.html -Chris _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev