PointerToAddress
public struct PointerToAddress : Instruction
extension PointerToAddress: CustomStringConvertible
Converts a built-in pointer value to an address.
This instruction doesn’t extend the lifetime of its operand. The address unsafely refers to the memory referenced by the pointer.
-
The pointer to convert.
Declaration
Swift
public private(set) var source: Operand { get } -
The type of the converted address.
Declaration
Swift
public let target: RemoteType -
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, target: RemoteType, 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) -
Declaration
Swift
public var description: String { get }
View on GitHub