ResolvedNamedMetadataValue

Correspond to a named metadata node where the operands are resolved.

An example would be in pseudo LLVM IR: !0 = !{i32 4} !1 = !{i32 10} !foo = !{!0, !1}

resolved to: !<anonymouse> = !{!{i32 4}, !{i32 10}}

Note how it wrappes the data. But it is not _true_ data but still only references. But one reference, the MDNode, have at least been stripped away.

This lead to the simple retrival of data via LLVMGetMDNodeOperands.

struct ResolvedNamedMetadataValue {
LxResolvedNamedMetadataValue value;
}

Alias This

value

Members

Functions

countOperands
auto countOperands()

Obtain the number of operands.

operands
OperandsValue2 operands()

Obtain the given MDNode's operands.

Meta