L2EntityAndKind

data class L2EntityAndKind(val entity: L2Entity, val kind: L2Register.RegisterKind)

An L2EntityAndKind bundles an L2Entity and RegisterKind. It's useful for keeping track of the needs and production of values in the L2ControlFlowGraph by the DeadCodeAnalyzer, to determine which instructions can be removed and which are essential.

Constructors

Link copied to clipboard
fun L2EntityAndKind(entity: L2Entity, kind: L2Register.RegisterKind)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val entity: L2Entity
Link copied to clipboard
val kind: L2Register.RegisterKind