Displaying 4 results from an estimated 4 matches for "mdnodelist".
2010 Feb 11
0
[LLVMdev] Metadata
...<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 contains a list of stuff like integer values, strings and so
on.
Is that basically right? So I would have to do this:
%r8 = load <2 x double>* %r6, align 16, !nontemporal !0
[...]
!0 = metadata !{ i32 1 }
I would really rather not have to specify the enti...
2010 Feb 11
2
[LLVMdev] Metadata
...;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 contains a list of stuff like integer values, strings and so
> on.
>
> Is that basically right? So I would have to do this:
>
> %r8 = load <2 x double>* %r6, align 16, !nontemporal !0
> [...]
> !0 = metadata !{ i32 1 }
I g...
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
...gt; <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 contains a list of stuff like integer values, strings and so
>> on.
>>
>> Is that basically right? So I would have to do this:
>>
>> %r8 = load <2 x double>* %r6, align 16, !nontemporal !0
>> [...]
&g...