[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h
Chris Lattner
sabre at nondot.org
Sat May 5 17:53:37 PDT 2007
Changes in directory llvm/include/llvm/Bitcode:
LLVMBitCodes.h updated: 1.17 -> 1.18
---
Log message:
add a denser encoding for null terminated strings, add a 6-bit abbrev as
well. This shrinks kc++ from 2724088 to 2717360 bytes.
---
Diffs of the changes: (+9 -8)
LLVMBitCodes.h | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
Index: llvm/include/llvm/Bitcode/LLVMBitCodes.h
diff -u llvm/include/llvm/Bitcode/LLVMBitCodes.h:1.17 llvm/include/llvm/Bitcode/LLVMBitCodes.h:1.18
--- llvm/include/llvm/Bitcode/LLVMBitCodes.h:1.17 Sat May 5 19:35:24 2007
+++ llvm/include/llvm/Bitcode/LLVMBitCodes.h Sat May 5 19:53:07 2007
@@ -107,14 +107,15 @@
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
More information about the llvm-commits
mailing list