aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-18 21:09:23 +0000
committerChris Lattner <sabre@nondot.org>2004-01-18 21:09:23 +0000
commit8d763d25ecf02f2704f6192a8f96bfe35aad6d98 (patch)
tree19e049856c42d64e727525c11649b6dee59268da /include/llvm/Bytecode
parentcf3e67f70a558792e2764bc107b245f50868288f (diff)
downloadexternal_llvm-8d763d25ecf02f2704f6192a8f96bfe35aad6d98.zip
external_llvm-8d763d25ecf02f2704f6192a8f96bfe35aad6d98.tar.gz
external_llvm-8d763d25ecf02f2704f6192a8f96bfe35aad6d98.tar.bz2
Add enum for compaction table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bytecode')
-rw-r--r--include/llvm/Bytecode/Format.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/Bytecode/Format.h b/include/llvm/Bytecode/Format.h
index 466865e..ebcb3b8 100644
--- a/include/llvm/Bytecode/Format.h
+++ b/include/llvm/Bytecode/Format.h
@@ -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,
};
};