summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-24 15:54:42 +0000
committerChris Lattner <sabre@nondot.org>2007-04-24 15:54:42 +0000
commita11d217c7acbef582a5bd9ee148edace1fa0985d (patch)
treed38f47eafd5912be7eb02c4b4828d8b2726dce76
parent1e16bcf7fff14bc417689f26690dad0b3f77dd08 (diff)
downloadbcm5719-llvm-a11d217c7acbef582a5bd9ee148edace1fa0985d.tar.gz
bcm5719-llvm-a11d217c7acbef582a5bd9ee148edace1fa0985d.zip
comentate
llvm-svn: 36395
-rw-r--r--llvm/include/llvm/Bitcode/LLVMBitCodes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Bitcode/LLVMBitCodes.h b/llvm/include/llvm/Bitcode/LLVMBitCodes.h
index 27fbd2ce968..e8b2d7c22d8 100644
--- a/llvm/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/llvm/include/llvm/Bitcode/LLVMBitCodes.h
@@ -106,6 +106,10 @@ namespace bitc {
CST_CODE_CE_CMP = 15 // CE_CMP: [opty, opval, opval, pred]
};
+ /// CastOpcodes - These are values used in the bitcode files to encode which
+ /// cast a CST_CODE_CE_CAST or a XXX refers to. The values of these enums
+ /// have no fixed relation to the LLVM IR enum values. Changing these will
+ /// break compatibility with old files.
enum CastOpcodes {
CAST_TRUNC = 0,
CAST_ZEXT = 1,
@@ -121,6 +125,10 @@ namespace bitc {
CAST_BITCAST = 11
};
+ /// BinaryOpcodes - These are values used in the bitcode files to encode which
+ /// binop a CST_CODE_CE_BINOP or a XXX refers to. The values of these enums
+ /// have no fixed relation to the LLVM IR enum values. Changing these will
+ /// break compatibility with old files.
enum BinaryOpcodes {
BINOP_ADD = 0,
BINOP_SUB = 1,
OpenPOWER on IntegriCloud