L2Float Register
L2FloatRegister models the conceptual usage of a register that can store a machine floating-point number.
Author
Todd L Smith
Parameters
A value used to distinguish the new instance visually during debugging of L2 translations.
Properties
Functions
Record this L2WriteOperand in my set of defining write operands.
Capture another L2ReadOperand of an emitted L2Instruction that uses this register.
Answer a new register like this one, but where the uniqueValue has been set to the finalIndex.
Answer a copy of the receiver. Subclasses can be covariantly stronger in the return type.
Answer a new register like this one.
Answer the L2WriteOperand of an L2Instruction which assigns this register in the SSA control flow graph. It must have been assigned already, and there must be exactly one (when the control flow graph is in SSA form).
Answer the L2WriteOperands which assign this register in the control flow graph, which is not necessarily in SSA form. It must be non-empty.
Answer the coloring number to be used by the interpreter at runtime to identify the storage location of a register.
Answer the prefix for non-constant registers. This is used only for register printing.
Remove the given L2WriteOperand as one of the writers to this register.
Drop a use of this register by an L2ReadOperand of an L2Instruction that is now dead.
Set the coloring number to be used by the interpreter at runtime to identify the storage location of an L2Register.
Answer the Set of L2ReadOperands that read from this register. Callers must not modify the returned collection.