diff --git a/docs/BytecodeFormat.html b/docs/BytecodeFormat.html index 3169f162eef..48b9f09e2a3 100644 --- a/docs/BytecodeFormat.html +++ b/docs/BytecodeFormat.html @@ -67,9 +67,21 @@ the next block. The possible types of blocks are described below in the section it is possible for entire blocks to be omitted from the file if they are empty. The block identifier helps the reader determine which kind of block is next in the file.

-

-Except for the Header Block all blocks are variable -length. The consume just enough bytes to express their contents.

+

The following block identifiers are currently in use +(from llvm/Bytecode/Format.h):

+
    +
  1. Module (0x01).
  2. +
  3. Function (0x11).
  4. +
  5. ConstantPool (0x12).
  6. +
  7. SymbolTable (0x13).
  8. +
  9. ModuleGlobalInfo (0x14).
  10. +
  11. GlobalTypePlane (0x15).
  12. +
  13. BasicBlock (0x31).
  14. +
  15. InstructionList (0x32).
  16. +
  17. CompactionTable (0x33).
  18. +
+

Except for the Header Block all blocks are variable +length. They consume just enough bytes to express their contents.

Lists
@@ -130,6 +142,7 @@ will be added to ensure that the next entry is aligned to a 32-bit boundary.
  • Align? Indicates if this field is aligned to 32 bits or not. This indicates where the next field starts, always on a 32 bit boundary.
  • +
  • Type. The basic type of information contained in the field.
  • Description. Descripts the contents of the field.
  • @@ -168,42 +181,43 @@ bytecode version. This block is fixed length and always eight bytes, as follows: Byte(s) Bit(s) Align? + Type Field Description - 0000-07No - Constant "l" + 0000-07NoChar + Constant "l" (0x6C) - 0100-07No - Constant "l" + 0100-07NoChar + Constant "l" (0x6C) - 0200-07No - Constant "v" + 0200-07NoChar + Constant "v" (0x76) - 0300-07No - Constant "m" + 0300-07NoChar + Constant "m" (0x6D) - 04-0700No - Target is big endian + 04-0700NoBool + Target is big endian? - 04-0701No - Target has long pointers + 04-0701NoBool + Target has long pointers? - 04-0702No - Target has no endianess + 04-0702NoBool + Target has no endianess? - 04-0703No - Target has no pointer size + 04-0703NoBool + Target has no pointer size? - 04-0704-31Yes + 04-0704-31YesUnsigned The LLVM bytecode format version number @@ -227,6 +241,7 @@ bytecode version. This block is fixed length and always eight bytes, as follows:
    Module Symbol Table
    +

    The module symbol table is a list of