Displaying 4 results from an estimated 4 matches for "tempmdnodes".
Did you mean:
tempmdnode
2014 Nov 10
5
[LLVMdev] [RFC] Separating Metadata from the Value hierarchy
...tances. The only subclasses are `ValueAsMetadata` and
`TempMDNode`. How many of these are live?
- There will be at most one `ValueAsMetadata` instance for each
metadata operand that points at a `Value`. My data from a couple of
months ago showed that there are very few of these.
- `TempMDNodes` are used as forward references. You only pay their
cost until the forward reference gets resolved (i.e., deleted).
The main case I'm worried about here are references to `ConstantInt`s,
which are used pretty heavily outside of debug info (e.g., in `!prof`
attachments). However, if that...
2016 Feb 24
0
How to resolve debug info forward types
It's now a multi-stage process.
First, there is a difference between a permanent forward declaration (i.e.
the actual definition is in a different file) and a temporary forward
declaration (i.e. it will appear later in the same file).
To create a permanent forward declaration:
DICompositeType *result = m_DIBuilder->createForwardDecl(
dwarf::DW_TAG_structure_type,
2016 Feb 24
3
How to resolve debug info forward types
Before metadata was separated from values, I could create a debug info forward
declaration and eventually resolve it using LLVMReplaceAllUsesWith in core.h.
Now, I can't figure out how to resolve it. I can find no function that seems
to do this. My one wild guess that giving the forward decl and the resolving
decl the same UniqueId might do it is not working.
I am currently using 3.6.1, but
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