ID
public struct ID : Hashable, Sendable
extension Function.ID: CustomStringConvertible
The global identity of an IR function.
-
The value of a function IR identity.
See moreDeclaration
Swift
public enum Value : Hashable, Sendable -
The value of this identity.
Declaration
Swift
public let value: Value -
Creates the identity of the lowered form of
d, which is the declaration of a function, initializer, method implementation, or subscript implementation.Declaration
Swift
init<T>(_ d: T) where T : DeclID -
Creates the identity of the lowered form of
s.Declaration
Swift
init(_ s: SynthesizedFunctionDecl) -
Creates the identity of the existentialized form of
base.Declaration
Swift
init(existentialized base: Function.ID) -
Creates the identity of the monomorphized form of
baseforarguments.Requires
argumentsis not empty.Declaration
Swift
init(monomorphized base: Function.ID, for arguments: GenericArguments) -
trueifselfis the identity of a synthesized function.Declaration
Swift
public var isSynthesized: Bool { get } -
trueifselfis the identity of a monomorphized function.Declaration
Swift
public var isMonomorphized: Bool { get } -
Declaration
Swift
public var description: String { get }
View on GitHub