harpoon.Backend.Generic
Interface RegFileInfo.MachineRegLoc

All Superinterfaces:
BackendDerivation.Register, RegFileInfo.CommonLoc
Enclosing class:
RegFileInfo

public static interface RegFileInfo.MachineRegLoc
extends RegFileInfo.CommonLoc, BackendDerivation.Register

Represents Machine Register Temps.


Field Summary
static int KIND
           
 
Method Summary
 int regIndex()
          Returns the index of this in the register file.
 
Methods inherited from interface harpoon.Backend.Generic.RegFileInfo.CommonLoc
kind
 

Field Detail

KIND

static final int KIND
See Also:
Constant Field Values
Method Detail

regIndex

int regIndex()
Returns the index of this in the register file.
effects: returns the abstract index of this in the register file. The index returned may not map directly to this register's position in the register file (for example, r8 may have an index of "0"). Each register for a given architecture will have a different index. The index is bounded as follows: 0 <= index < RegFileInfo.this.maxRegIndex().

Specified by:
regIndex in interface BackendDerivation.Register