search for: copymetadata

Displaying 1 result from an estimated 1 matches for "copymetadata".

2016 Jun 01
5
RFC: a renaming/redesign for LLVM's bitset metadata
...er than using the "llvm.bitsets" global metadata node as we are doing now. This would be done using the newly introduced capability to attach metadata to global variables (r271348 and r271358). Passes which manipulate globals can easily copy metadata between globals with the GlobalObject::copyMetadata function, which would be taught to understand type metadata. To give an example of how this would look, suppose that we have the following declarations: class A { virtual void f() {} }; class B : public A { virtual void f() {} virtual void g() {} }; The vtables for A and B would be repres...