InstructionIndex

public struct InstructionIndex : Hashable, Sendable

Unlike an identity, an index is not stable: inserting or removing instructions from the containing block may invalidate existing indices.

See also

InstructionID