diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-23 01:07:34 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-23 01:07:34 +0000 |
commit | 54199efd22b74a7c113e06ae8374975cc4ff6f0d (patch) | |
tree | 424e9727423125da907cebf5f0ac9bc19d47e9fd /include/llvm/Bitcode | |
parent | 65b3966a80a124a0645c411a7b0a1eb75400c334 (diff) | |
download | external_llvm-54199efd22b74a7c113e06ae8374975cc4ff6f0d.zip external_llvm-54199efd22b74a7c113e06ae8374975cc4ff6f0d.tar.gz external_llvm-54199efd22b74a7c113e06ae8374975cc4ff6f0d.tar.bz2 |
Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into METADATA_BLOCK in bitcode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r-- | include/llvm/Bitcode/LLVMBitCodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h index 6847ac9..3d8c246 100644 --- a/include/llvm/Bitcode/LLVMBitCodes.h +++ b/include/llvm/Bitcode/LLVMBitCodes.h @@ -108,7 +108,8 @@ namespace bitc { }; enum MetadataCodes { - METADATA_STRING = 1 // MDString: [values] + METADATA_STRING = 1, // MDString: [values] + METADATA_NODE = 2 // MDNODE: [n x (type num, value num)] }; // The constants block (CONSTANTS_BLOCK_ID) describes emission for each // constant and maintains an implicit current type value. @@ -131,8 +132,7 @@ namespace bitc { CST_CODE_CE_SHUFFLEVEC = 16, // CE_SHUFFLEVEC: [opval, opval, opval] CST_CODE_CE_CMP = 17, // CE_CMP: [opty, opval, opval, pred] CST_CODE_INLINEASM = 18, // INLINEASM: [sideeffect,asmstr,conststr] - CST_CODE_CE_SHUFVEC_EX = 19, // SHUFVEC_EX: [opty, opval, opval, opval] - CST_CODE_MDNODE = 21 // MDNODE: [n x (type num, value num)] + CST_CODE_CE_SHUFVEC_EX = 19 // SHUFVEC_EX: [opty, opval, opval, opval] }; /// CastOpcodes - These are values used in the bitcode files to encode which |