|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GenericStackManager.ScratchRegister | |
---|---|
org.jikesrvm.compilers.opt.regalloc |
Uses of GenericStackManager.ScratchRegister in org.jikesrvm.compilers.opt.regalloc |
---|
Fields in org.jikesrvm.compilers.opt.regalloc with type parameters of type GenericStackManager.ScratchRegister | |
---|---|
protected ArrayList<GenericStackManager.ScratchRegister> |
GenericStackManager.scratchInUse
For each physical register, holds a ScratchRegister which records the current scratch assignment for the physical register. |
Methods in org.jikesrvm.compilers.opt.regalloc that return GenericStackManager.ScratchRegister | |
---|---|
private GenericStackManager.ScratchRegister |
GenericStackManager.createScratchBefore(Instruction s,
Register r,
Register symb)
Make physical register r available to be used as a scratch register before instruction s. |
private GenericStackManager.ScratchRegister |
GenericStackManager.getCurrentScratchRegister(Register r,
Instruction s)
If there is a scratch register available which currently holds the value of symbolic register r, then return that scratch register. |
private GenericStackManager.ScratchRegister |
GenericStackManager.getFirstAvailableScratchRegister(Register r,
Instruction s)
Find the first available register which can serve as a scratch register for symbolic register r in instruction s. |
private GenericStackManager.ScratchRegister |
GenericStackManager.getPhysicalScratchRegister(Register r)
If register r is currently in use as a scratch register, then return that scratch register. |
private GenericStackManager.ScratchRegister |
GenericStackManager.getScratchRegister(Register symb,
Instruction s,
boolean beCheap)
Get a scratch register to hold symbolic register symb in instruction s. |
private GenericStackManager.ScratchRegister |
GenericStackManager.getScratchRegisterUsingIntervals(Register r,
Instruction s)
Find a register which can serve as a scratch register for symbolic register r in instruction s. |
private GenericStackManager.ScratchRegister |
GenericStackManager.holdInScratchAfter(Instruction s,
Register symb,
boolean beCheap)
Insert code as needed so that after instruction s, the value of a symbolic register will be held in a particular scratch physical register. |
private GenericStackManager.ScratchRegister |
GenericStackManager.moveToScratchBefore(Instruction s,
Register symb,
boolean beCheap)
Assign symbolic register symb to a physical register, and insert code before instruction s to load the register from the appropriate stack location. |
Methods in org.jikesrvm.compilers.opt.regalloc with parameters of type GenericStackManager.ScratchRegister | |
---|---|
protected void |
GenericStackManager.reloadScratchRegisterBefore(Instruction s,
GenericStackManager.ScratchRegister scratch)
Restore the contents of a scratch register before instruction s. |
protected void |
GenericStackManager.unloadScratchRegisterBefore(Instruction s,
GenericStackManager.ScratchRegister scratch)
Spill the contents of a scratch register to memory before instruction s. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |