search for: metadataspec

Displaying 4 results from an estimated 4 matches for "metadataspec".

2010 Feb 11
0
[LLVMdev] Metadata
...ed in > SourceLevelDebugging.html. I was going to ask about this, but I'll let you > instead. :-) But that's not even a grammar. I simply want to know what the syntax is for specifying metadata on an instruction. From what I gather, it is this: <instruction> ',' <MetadataSpec> <MetadataSpec>: '!' <ID> '!' <ID> <ID>: [a-zA-Z_][a-zA-Z0-9_]* And the second <ID> needs to be the name of a metadata node: '!' <ID> '=' METADATA '!' '{' <MDNodeList> '}' And MDNodeList contai...
2010 Feb 11
2
[LLVMdev] Metadata
...l. I was going to ask about this, but I'll let you >> instead. :-) > > But that's not even a grammar. > > I simply want to know what the syntax is for specifying metadata on an > instruction.  From what I gather, it is this: > > <instruction> ',' <MetadataSpec> > > <MetadataSpec>: '!' <ID> '!' <ID> > > <ID>: [a-zA-Z_][a-zA-Z0-9_]* > > And the second <ID> needs to be the name of a metadata node: > > '!' <ID> '=' METADATA '!' '{' <MDNodeList&gt...
2010 Feb 11
3
[LLVMdev] Metadata
I don't think the lang ref metadata grammar section (http://llvm.org/docs/LangRef.html#metadata) has been fully updated with how !dbg metadata is used in http://llvm.org/docs/SourceLevelDebugging.html. At least to me it is not clear. In my mind I translate the phrase "LLVM IR allows metadata to be attached to instructions " into a grammar depicted in SourceLevelDebugging.html. I
2010 Feb 11
0
[LLVMdev] Metadata
..., but I'll let you >>> instead. :-) >> >> But that's not even a grammar. >> >> I simply want to know what the syntax is for specifying metadata on an >> instruction.  From what I gather, it is this: >> >> <instruction> ',' <MetadataSpec> >> >> <MetadataSpec>: '!' <ID> '!' <ID> >> >> <ID>: [a-zA-Z_][a-zA-Z0-9_]* >> >> And the second <ID> needs to be the name of a metadata node: >> >> '!' <ID> '=' METADATA '!...