llvm::MDNode::isResolved

Check if node is fully resolved.

Synopsis

Declared in <llvm/IR/Metadata.h>

bool
isResolved() const;

Description

If isTemporary(), this always returns false; if isDistinct(), this always returns true.

If isUniqued(), returns true if this has already dropped RAUW support (because all operands are resolved).

As forward declarations are resolved, their containers should get resolved automatically. However, if this (or one of its operands) is involved in a cycle, resolveCycles() needs to be called explicitly.

Return Value

True if this node is fully resolved.