[LLVMdev] instruction description

Chris Lattner clattner at apple.com
Sun Jul 13 14:26:46 PDT 2008


On Jul 13, 2008, at 2:10 PM, Le Anh Quang wrote:

> 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..

All of the documentation is available here:
http://llvm.org/docs/

You are probably looking for this one:
http://llvm.org/docs/BitCodeFormat.html

Note that it is not complete so you will end up having to read the  
code.  Patches welcome,

-Chris



More information about the llvm-dev mailing list