diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-18 21:09:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-18 21:09:23 +0000 |
commit | e6f99bd3a91e9bd02cd3f59cf05812f9dd5b2698 (patch) | |
tree | 001fef9950ed64fa3aa677439a6919360965ef37 | |
parent | bc02f4ce97cfde530339c937c879c603a5a10fa7 (diff) | |
download | bcm5719-llvm-e6f99bd3a91e9bd02cd3f59cf05812f9dd5b2698.tar.gz bcm5719-llvm-e6f99bd3a91e9bd02cd3f59cf05812f9dd5b2698.zip |
Add enum for compaction table.
llvm-svn: 10916
-rw-r--r-- | llvm/include/llvm/Bytecode/Format.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/include/llvm/Bytecode/Format.h b/llvm/include/llvm/Bytecode/Format.h index 466865e32db..ebcb3b84416 100644 --- a/llvm/include/llvm/Bytecode/Format.h +++ b/llvm/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, }; }; |