DataCouplingMode

enum DataCouplingMode : Enum<DataCouplingMode>

Whether L2SemanticValues or the underlying L2Registers should be considered when following data flow to determine liveness.

Entries

Link copied to clipboard

The liveness analyses should consider the flows through L2SemanticValues.

Link copied to clipboard

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

Link copied to clipboard

Both L2SemanticValues and L2Registers should be traced for liveness.

Functions

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

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

Link copied to clipboard
abstract 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