Read and write NamedMDNode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-07-29 22:34:41 +00:00
parent debcb01b0f
commit aa99314251
5 changed files with 78 additions and 3 deletions

View File

@@ -108,8 +108,10 @@ namespace bitc {
};
enum MetadataCodes {
METADATA_STRING = 1, // MDString: [values]
METADATA_NODE = 2 // MDNODE: [n x (type num, value num)]
METADATA_STRING = 1, // MDSTRING: [values]
METADATA_NODE = 2, // MDNODE: [n x (type num, value num)]
METADATA_NAME = 3, // STRING: [values]
METADATA_NAMED_NODE = 4 // NAMEDMDNODE: [n x mdnodes]
};
// The constants block (CONSTANTS_BLOCK_ID) describes emission for each
// constant and maintains an implicit current type value.