MetadataType
public struct MetadataType : IRType
extension MetadataType: Equatable
The MetadataType
type represents embedded metadata. No derived types may
be created from metadata except for function arguments.
-
Returns the context associated with this type.
Declaration
Swift
public let context: Context
-
Creates an embedded metadata type for the given LLVM type object.
Parameters
context
The context to create this type in
-
Retrieves the underlying LLVM type object.
Declaration
Swift
public func asLLVM() -> LLVMTypeRef
-
Declaration
Swift
public static func == (lhs: MetadataType, rhs: MetadataType) -> Bool