diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-06 00:53:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-06 00:53:07 +0000 |
commit | cb3d91b05b36a144dd0f3103ce4fda4cab356ad6 (patch) | |
tree | 16e288d9443b64bea1f6778dc497c455f8bc09f0 /include | |
parent | 817f08a0e5b4d5e697956b547a18968e62586479 (diff) | |
download | external_llvm-cb3d91b05b36a144dd0f3103ce4fda4cab356ad6.zip external_llvm-cb3d91b05b36a144dd0f3103ce4fda4cab356ad6.tar.gz external_llvm-cb3d91b05b36a144dd0f3103ce4fda4cab356ad6.tar.bz2 |
add a denser encoding for null terminated strings, add a 6-bit abbrev as
well. This shrinks kc++ from 2724088 to 2717360 bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Bitcode/LLVMBitCodes.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h index 9850db4..5c58614 100644 --- a/include/llvm/Bitcode/LLVMBitCodes.h +++ b/include/llvm/Bitcode/LLVMBitCodes.h @@ -107,14 +107,15 @@ namespace bitc { CST_CODE_FLOAT = 6, // FLOAT: [fpval] CST_CODE_AGGREGATE = 7, // AGGREGATE: [n x value number] CST_CODE_STRING = 8, // STRING: [values] - CST_CODE_CE_BINOP = 9, // CE_BINOP: [opcode, opval, opval] - CST_CODE_CE_CAST = 10, // CE_CAST: [opcode, opty, opval] - CST_CODE_CE_GEP = 11, // CE_GEP: [n x operands] - CST_CODE_CE_SELECT = 12, // CE_SELECT: [opval, opval, opval] - CST_CODE_CE_EXTRACTELT = 13, // CE_EXTRACTELT: [opty, opval, opval] - CST_CODE_CE_INSERTELT = 14, // CE_INSERTELT: [opval, opval, opval] - CST_CODE_CE_SHUFFLEVEC = 15, // CE_SHUFFLEVEC: [opval, opval, opval] - CST_CODE_CE_CMP = 16 // CE_CMP: [opty, opval, opval, pred] + CST_CODE_CSTRING = 9, // CSTRING: [values] + CST_CODE_CE_BINOP = 10, // CE_BINOP: [opcode, opval, opval] + CST_CODE_CE_CAST = 11, // CE_CAST: [opcode, opty, opval] + CST_CODE_CE_GEP = 12, // CE_GEP: [n x operands] + CST_CODE_CE_SELECT = 13, // CE_SELECT: [opval, opval, opval] + CST_CODE_CE_EXTRACTELT = 14, // CE_EXTRACTELT: [opty, opval, opval] + CST_CODE_CE_INSERTELT = 15, // CE_INSERTELT: [opval, opval, opval] + CST_CODE_CE_SHUFFLEVEC = 16, // CE_SHUFFLEVEC: [opval, opval, opval] + CST_CODE_CE_CMP = 17 // CE_CMP: [opty, opval, opval, pred] }; /// CastOpcodes - These are values used in the bitcode files to encode which |