Add enum for compaction table.
authorChris Lattner <sabre@nondot.org>
Sun, 18 Jan 2004 21:09:23 +0000 (21:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Jan 2004 21:09:23 +0000 (21:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10916 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Bytecode/Format.h

index 466865e32db7f34712a36af065b65c8d15a54a1f..ebcb3b84416b3bb510cc1eeaf51f97d9f028c68f 100644 (file)
@@ -36,11 +36,17 @@ public:
     // Function subtypes:
     // Can also have ConstantPool block
     // Can also have SymbolTable block
-    BasicBlock = 0x31,        // May contain many basic blocks
+    BasicBlock = 0x31,// May contain many basic blocks (obsolete since LLVM 1.1)
 
     // InstructionList - The instructions in the body of a function.  This
-    // superceeds the old BasicBlock node.
+    // superceeds the old BasicBlock node used in LLVM 1.0.
     InstructionList = 0x32,
+
+    // CompactionTable - blocks with this id are used to define local remapping
+    // tables for a function, allowing the indices used within the function to
+    // be as small as possible.  This often allows the instructions to be
+    // encoded more efficiently.
+    CompactionTable = 0x33,
   };
 };