Register Kind
One of the kinds of registers that Level Two supports.
Parameters
kind Name
A descriptive name for this kind of register.
prefix
The prefix to use when naming registers of this kind.
jvm Type String
The canonical String used to identify this Type of register to the JVM.
load Instruction
The JVM instruction for loading.
store Instruction
The JVM instruction for storing.
restriction Flag
The corresponding RestrictionFlagEncoding.
Entries
Link copied to clipboard
FLOAT_KIND("float", "f", Type.DOUBLE_TYPE.descriptor, Opcodes.DLOAD, Opcodes.DSTORE, UNBOXED_FLOAT_FLAG)
Content copied to clipboard
The kind of register that holds a double.
Link copied to clipboard
Content copied to clipboard
The kind of register that holds an Int.
Link copied to clipboard
BOXED_KIND("boxed", "r", Type.getDescriptor(AvailObject::class.java), Opcodes.ALOAD, Opcodes.ASTORE, BOXED_FLAG)
Content copied to clipboard
The kind of register that holds an AvailObject.
Types
Functions
Link copied to clipboard
fun <R : L2Register, RR : L2ReadOperand<R>, WR : L2WriteOperand<R>, RV : L2ReadVectorOperand<R, RR>> move(): L2_MOVE<R, RR, WR, RV>
Content copied to clipboard
Answer a suitable L2_MOVE operation for transferring values of this kind.
Link copied to clipboard
abstract fun <R : L2Register, RR : L2ReadOperand<R>> readOperand( semanticValue: L2SemanticValue, restriction: TypeRestriction, register: R): RR
Content copied to clipboard
Answer a suitable L2ReadOperand for extracting the indicated L2SemanticValue of this kind.
Properties
Link copied to clipboard
The RestrictionFlagEncoding used to indicate a TypeRestriction has an available register of this kind.
Link copied to clipboard