AdvancedByStrides
public struct AdvancedByStrides : Instruction
extension AdvancedByStrides: LifetimeExtender
extension AdvancedByStrides: CustomStringConvertible
Computes a source address advanced by count strides of its referred type.
The stride of a type is the number of bytes from the start of an instance to the start of the next when stored in contiguous memory.
-
The address to be advanced.
Declaration
Swift
public private(set) var base: Operand { get } -
The number of strides by which to advance the source value.
Declaration
Swift
public let offset: Int -
The type of the instruction’s result.
Declaration
Swift
public let result: IR.Type? -
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, offset: Int, result: IR.`Type`, site: SourceRange ) -
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