FOLLOW_REGISTERS

FOLLOW_REGISTERS(true, false)

L2SemanticValues can be ignored, and only L2Registers should be considered for the liveness analysis.

Functions

Link copied to clipboard
open override fun addEntitiesFromRead(readOperand: L2ReadOperand<*>, accumulatingSet: MutableSet<L2EntityAndKind>)

Extract each L2EntityAndKind that this policy is concerned with from the given L2ReadOperand.

Link copied to clipboard
open override fun addEntitiesFromWrite(writeOperand: L2WriteOperand<*>, accumulatingSet: MutableSet<L2EntityAndKind>)

Extract each L2EntityAndKind that this policy is concerned with from the given L2WriteOperand.

Link copied to clipboard
fun readEntitiesOf(instruction: L2Instruction): Set<L2EntityAndKind>

Extract each relevant L2Entity consumed by the given L2Instruction.

fun readEntitiesOf(readOperand: L2ReadOperand<*>): Set<L2EntityAndKind>

Extract each relevant L2Entity consumed by the given L2ReadOperand.

Link copied to clipboard
fun writeEntitiesOf(instruction: L2Instruction): Set<L2EntityAndKind>

Extract each relevant L2EntityAndKind produced by the given L2Instruction.

fun writeEntitiesOf(writeOperand: L2WriteOperand<*>): Set<L2EntityAndKind>

Extract each relevant L2Entity produced by the given L2WriteOperand.

Properties

Link copied to clipboard
val considersRegisters: Boolean

Answer whether L2Registers should be tracked by this policy.

Link copied to clipboard
val considersSemanticValues: Boolean

Answer whether L2SemanticValues should be tracked by this policy.

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