harpoon.Backend.Maps
Interface BackendDerivation.Register

All Known Subinterfaces:
RegFileInfo.MachineRegLoc
Enclosing interface:
BackendDerivation

public static interface BackendDerivation.Register


Method Summary
 int regIndex()
          Returns the index of this register in the machine register file.
 

Method Detail

regIndex

int regIndex()
Returns the index of this register in the machine register file. This index is zero based and dense; it may not map directly to this register's position in the register file. For example, the first usable/local register in the register file will have index 0, even if it is logically designated, say, "r8". The register indexes returned here must be consistent with those returned by Backend.Generic.RegFileInfo.MachineRegLoc.