MetadataType

public struct MetadataType: IRType

The MetadataType type represents embedded metadata. No derived types may be created from metadata except for function arguments.

  • Creates an embedded metadata type for the given LLVM type object.

    Declaration

    Swift

    public init(llvm: LLVMTypeRef)
  • Retrieves the underlying LLVM type object.

    Declaration

    Swift

    public func asLLVM() -> LLVMTypeRef