org.jikesrvm.compilers.opt.ir.ia32
Class PhysicalRegisterTools

java.lang.Object
  extended by org.jikesrvm.compilers.opt.ir.IRTools
      extended by org.jikesrvm.compilers.opt.ir.GenericPhysicalRegisterTools
          extended by org.jikesrvm.compilers.opt.ir.ia32.PhysicalRegisterTools
Direct Known Subclasses:
ArchitectureSpecificOpt.PhysicalRegisterTools

public abstract class PhysicalRegisterTools
extends GenericPhysicalRegisterTools

This abstract class provides a set of useful methods for manipulating physical registers for an IR.


Constructor Summary
PhysicalRegisterTools()
           
 
Method Summary
abstract  IR getIR()
          Return the governing IR.
static Instruction makeMoveInstruction(RegisterOperand lhs, RegisterOperand rhs)
          Create an MIR instruction to move rhs into lhs
 
Methods inherited from class org.jikesrvm.compilers.opt.ir.GenericPhysicalRegisterTools
A, I
 
Methods inherited from class org.jikesrvm.compilers.opt.ir.IRTools
A, AC, AC, CPOS, CR, D, DC, defDoublesAsUse, definedIn, F, FC, getCondMoveOp, getDefaultOperand, getLoadOp, getLoadOp, getMoveOp, getStoreOp, getStoreOp, I, IC, insertInstructionsAfter, L, LC, makeBlockOnEdge, mayBeVolatileFieldLoad, moveInstruction, moveIntoRegister, moveIntoRegister, nonPEIGC, TG, usedIn, useDoublesAsDef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalRegisterTools

public PhysicalRegisterTools()
Method Detail

getIR

public abstract IR getIR()
Description copied from class: GenericPhysicalRegisterTools
Return the governing IR.

Specified by:
getIR in class GenericPhysicalRegisterTools

makeMoveInstruction

public static Instruction makeMoveInstruction(RegisterOperand lhs,
                                              RegisterOperand rhs)
Create an MIR instruction to move rhs into lhs