NamedMetadata
public class NamedMetadata
A NamedMetadata object represents a module-level metadata value identified
by a user-provided name. Named metadata is generated lazily when operands
are attached.
-
The module with which this named metadata is associated.
Declaration
Swift
public let module: Module -
The name associated with this named metadata.
Declaration
Swift
public let name: String -
Retrieves the previous alias in the module, if there is one.
Declaration
Swift
public func previous() -> NamedMetadata? -
Retrieves the next alias in the module, if there is one.
Declaration
Swift
public func next() -> NamedMetadata? -
Computes the operands of a named metadata node.
Declaration
Swift
public var operands: [IRMetadata] { get } -
Appends a metadata node as an operand.
Declaration
Swift
public func addOperand(_ op: IRMetadata)
NamedMetadata Class Reference