ID
public struct ID : Hashable, Sendable
extension Block.ID: CustomStringConvertible
The ID of a basic block.
-
The ID of the function containing the block.
Declaration
Swift
public var function: Function.ID -
The address of the block in the containing function.
Declaration
Swift
public var address: Function.Blocks.Address -
Creates an instance with the given properties.
-
Creates an instance denoting the block containing
i.Declaration
Swift
public init(containing i: InstructionID) -
The ID of the instruction at
instructionAddressin the block identified byself.Declaration
Swift
public func appending(_ instructionAddress: Block.Instructions.Address) -> InstructionID -
The ID of the
index-th parameter of the block.Declaration
Swift
public func parameter(_ index: Int) -> Operand -
The operand denoting the result of the instruction at
instructionAddressin the block identified byself.Declaration
Swift
public func result(at instructionAddress: Block.Instructions.Address) -> Operand -
Declaration
Swift
public var description: String { get }
View on GitHub