AddressToPointer
public struct AddressToPointer : Instruction
Converts an address to a built-in pointer value.
This instruction doesn’t extend the lifetime of its operand. The value of the converted pointer is only valid within the scope of the source address.
-
The address to convert.
Declaration
Swift
public private(set) var source: Operand { get } -
The site of the code corresponding to that instruction.
Declaration
Swift
public let site: SourceRange -
Creates an instance with the given properties.
Declaration
Swift
fileprivate init(source: Operand, site: SourceRange) -
Declaration
Swift
public var result: IR.Type? { get } -
Declaration
Swift
public var operands: [Operand] { get } -
Declaration
Swift
public mutating func replaceOperand(at i: Int, with new: Operand)
View on GitHub