search for: namedmetadata

Displaying 8 results from an estimated 8 matches for "namedmetadata".

2009 Jul 27
4
[LLVMdev] PROPOSAL : Introduce NamedMetadata
...= call i8 @llvm.something(metadata !1) } See http://nondot.org/~sabre/LLVMNotes/EmbeddedMetadata.txt for more information. This metadata support is not useful if the auxiliary information is not referenced by any LLVM IR entity. This is a limiting factor. The proposed solution is to introduced NamedMetadata. The NamedMetadata is derived from GlobalValue. The NamedMetadata is an array of metadata nodes and metadata strings. @class.42 = ![ !5, !11, !2 ] ; NamedMetadata !5 = metadata !"int" !11 = metadata !"class.21 pointer" !2 = metadata ! {I32 8 } ; size The NamedMetadata el...
2009 Jul 27
0
[LLVMdev] PROPOSAL : Introduce NamedMetadata
...t; } > > > See http://nondot.org/~sabre/LLVMNotes/EmbeddedMetadata.txt for more > information. > > This metadata support is not useful if the auxiliary information is > not referenced by any LLVM IR entity. This is a limiting factor. The > proposed solution is to introduced NamedMetadata. The NamedMetadata is > derived from GlobalValue. So, the idea is that some Analysis can take an LLVM IR entity, mangle information about that entity into a string, and then use that string to look up the associated NamedMetadata? An alternative to this would be to introduce a form of MDNode t...
2009 Jul 28
0
[LLVMdev] PROPOSAL : Introduce NamedMetadata
...} > > > See http://nondot.org/~sabre/LLVMNotes/EmbeddedMetadata.txt for more > information. > > This metadata support is not useful if the auxiliary information is > not referenced by any LLVM IR entity. This is a limiting factor. The > proposed solution is to introduced NamedMetadata. The NamedMetadata is > derived from GlobalValue. The NamedMetadata is an array of metadata > nodes and metadata strings. > > @class.42 = ![ !5, !11, !2 ] ; NamedMetadata > > !5 = metadata !"int" > !11 = metadata !"class.21 pointer" > !2 = metadata...
2009 Jul 27
2
[LLVMdev] PROPOSAL : Introduce NamedMetadata
...See http://nondot.org/~sabre/LLVMNotes/EmbeddedMetadata.txt for more >> information. >> >> This metadata support is not useful if the auxiliary information is >> not referenced by any LLVM IR entity.  This is a limiting factor. The >> proposed solution is to introduced NamedMetadata. The NamedMetadata is >> derived from GlobalValue. > > So, the idea is that some Analysis can take an LLVM IR entity, mangle > information about that entity into a string, and then use that string > to look up the associated NamedMetadata? No. I think, I used confusing example....
2009 Jul 27
0
[LLVMdev] PROPOSAL : Introduce NamedMetadata
...mation. >>> >>> >>> >>> This metadata support is not useful if the auxiliary information is >>> >>> not referenced by any LLVM IR entity. This is a limiting factor. >>> The >>> >>> proposed solution is to introduced NamedMetadata. The >>> NamedMetadata is >>> >>> derived from GlobalValue. >>> >> >> >> So, the idea is that some Analysis can take an LLVM IR entity, mangle >> >> information about that entity into a string, and then use that string >> &gt...
2009 Jul 28
2
[LLVMdev] PROPOSAL : Introduce NamedMetadata
On Mon, Jul 27, 2009 at 9:31 PM, Nick Lewycky<nicholas at mxc.ca> wrote: > Why not have a named GlobalValue with an MDNode initializer? How is this > different from what we had before? GlobalValue initializer accepts only Constants. - Devang
2009 Jul 28
0
[LLVMdev] PROPOSAL : Introduce NamedMetadata
...nts, only to discover that if I did that then I couldn't use then as GV initializers. And it's not preposterous for them to be Constants. Functions are an example of a nameable zero-operand non-uniqued constant. Is there any particular benefit to keeping them out of Constant and adding NamedMetadata? Nick
2012 Apr 05
1
[LLVMdev] Metadata for MachineInstr
...attached to MachineInstr's by now. Metadata can be bundled with Instruction class instances. The metadata attached to Instruction gets lost during code generation. Here is my question, is there a way to pass information attached to Instruction even further down to stages after code generation? NamedMetadata is a good example but it seems that it cannot be attached to Instruction or MachineInstr if I understand correctly. Is there something like DebugLoc which gets preserved all the way but more general than DebugLoc? Thank you in advance. -Bin -------------- next part -------------- An HTML attachmen...