search for: getdistinct

Displaying 2 results from an estimated 2 matches for "getdistinct".

2014 Dec 05
2
[LLVMdev] [RFC] Semantic changes in the Metadata/Value split
.... There are also a few follow-ups that I've left until later: - Change assembly syntax to make metadata look as typeless as it is. (This will come with painful clang testcase updates... yay!) - Ditto for bitcode. - Add assembly syntax, bitcode support, and C++ API for `MDNode::getDistinct()`, which explicitly opts out of uniquing. - Add `MDInt`, which is a generic integer represented by an `APSInt` for use in metadata. - Upgrade various types of metadata to use `MDInt` and/or `getDistinct()`. - Add reference counting semantics to some types of metadata, so that...
2014 Nov 10
12
[LLVMdev] [RFC] Separating Metadata from the Value hierarchy
TL;DR: If you use metadata (especially if it's out-of-tree), check the numbered list of lost functionality below to see whether I'm trying to break your compiler permanently. In response to my recent commits (e.g., [1]) that changed API from `MDNode` to `Value`, Eric had a really interesting idea [2] -- split metadata entirely from the `Value` hierarchy, and drop general support for