PC_VECTOR

PC_VECTOR(true)

The L2PcVectorOperand holds a List of L2PcOperands which can be the targets of a multi-way jump.

Functions

Link copied to clipboard
fun named(roleName: String): L2NamedOperandType

Create a L2NamedOperandType from the receiver and a String naming its role within some L2Operation.

fun named(roleName: String, purpose: L2NamedOperandType.Purpose): L2NamedOperandType

Create a L2NamedOperandType from the receiver, a String naming its role within some L2Operation, and a designator of its purpose. The purpose is used to designate branch edges, and correlate them to register writes that only happen if the corresponding edge is taken.

Properties

Link copied to clipboard
val canHavePurpose: Boolean = false

Whether this kind of operand can have a Purpose.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int