GlobalAddr
public struct GlobalAddr : Instruction
extension GlobalAddr: CustomStringConvertible
Returns the address of a global binding.
-
The ID of the global global binding to access.
Declaration
Swift
public let binding: BindingDecl.ID -
The type of the binding value.
Declaration
Swift
public let valueType: AnyType -
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( binding: BindingDecl.ID, valueType: AnyType, site: SourceRange ) -
Declaration
Swift
public var result: IR.Type? { get } -
Declaration
Swift
public mutating func replaceOperand(at i: Int, with new: Operand) -
Declaration
Swift
public var description: String { get }
View on GitHub