search for: mdmapty

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

Did you mean: mdmap
2010 Jan 04
0
[LLVMdev] support for attach embedded metadata to function/argument/basicblock proposal
...!othermdname !othermd ...]) [other parameter attributes]) for example: define void @f() metadata(!foo !bar) { ... } ;attach bar to function f define void @f(i8 metadata(!foo !bar) a) { ... } ;attach bar to argument a so, i think i shoud: 1.change "typedef DenseMap<const Instruction *, MDMapTy> MDStoreTy; in MetadataContextImpl" to "typedef DenseMap<const Value *, MDMapTy> MDStoreTy;" and the corresponding method in MetadataContextImpl and MetadataContext? 2.modify the code of asm reader/writer 3.modify bitcode reader/writer any comment or advice is appreciate...
2009 Sep 16
1
[LLVMdev] [proposal] Extensible IR metadata
...of a lock, and making it global helps with the wrapper types (avoids one vector lookup). But I can also change it when I add the wrapper types. It's too bad we don't have a SmallMap class to give MDInfoTy a good API and make it efficient at both small and large map sizes. Maybe s/MDInfoTy/MDMapTy/ to point out that it's a map from MDKindIds to MDNodes? Comment whether RegisterMDKind requires that its argument is as-yet-unknown in Metadata.h. Context.pImpl->TheMetadata.ValueIsDeleted(this); in ~Value will always call the empty ValueIsDeleted(Value*) overload. Please write a unittes...
2009 Sep 16
0
[LLVMdev] [proposal] Extensible IR metadata
On Fri, Sep 11, 2009 at 9:57 AM, Chris Lattner <clattner at apple.com> wrote: > Devang's work on debug info prompted this, thoughts welcome: > http://nondot.org/sabre/LLVMNotes/ExtensibleMetadata.txt Here is partial initial implementation. Thoughts ? - Devang -------------- next part -------------- A non-text attachment was scrubbed... Name: mdn.diff Type: application/octet-stream
2009 Sep 11
12
[LLVMdev] [proposal] Extensible IR metadata
Devang's work on debug info prompted this, thoughts welcome: http://nondot.org/sabre/LLVMNotes/ExtensibleMetadata.txt -Chris