LLVM IR Documentation

I read the LLVM IR link to the language and format of the bitcode file , but I did not find any documentation containing a list of opcodes or explaining the encoding of the commands.

Is there a place where you could find this information, or is a source code search necessary?

+6
source share
1 answer

You will have to search for the source code. Fortunately for you, all this is pretty neatly laid out in LLVMBitCodes.h .

Just keep in mind that the encoding sometimes changes, so be careful if you depend on it for something (although I think that things are added only to enumerations, not deleted or changed).

+4
source

Source: https://habr.com/ru/post/969560/


All Articles