public class SimpleStackSlotAllocator extends AllocationPhase implements StackSlotAllocator
AllocationPhase.AllocationContextLIRPhase.OptionsallocatedFramesize, allocatedSlots, reusedSlots, virtualFramesize| Constructor and Description |
|---|
SimpleStackSlotAllocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocateStackSlots(FrameMapBuilderTool builder,
LIRGenerationResult res) |
protected StackSlot |
mapSimpleVirtualStackSlot(FrameMapBuilderTool builder,
SimpleVirtualStackSlot virtualStackSlot) |
protected StackSlot |
mapVirtualStackSlotRange(FrameMapBuilderTool builder,
VirtualStackSlotRange virtualStackSlot) |
protected <B extends AbstractBlockBase<B>> |
run(TargetDescription target,
LIRGenerationResult lirGenRes,
List<B> codeEmittingOrder,
List<B> linearScanOrder,
LIRGeneratorTool.SpillMoveFactory spillMoveFactory,
RegisterAllocationConfig registerAllocationConfig) |
protected void |
updateLIR(LIRGenerationResult res,
StackSlot[] mapping) |
runapply, apply, createName, getNamepublic SimpleStackSlotAllocator()
protected <B extends AbstractBlockBase<B>> void run(TargetDescription target, LIRGenerationResult lirGenRes, List<B> codeEmittingOrder, List<B> linearScanOrder, LIRGeneratorTool.SpillMoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig)
run in class AllocationPhasepublic void allocateStackSlots(FrameMapBuilderTool builder, LIRGenerationResult res)
allocateStackSlots in interface StackSlotAllocatorprotected void updateLIR(LIRGenerationResult res, StackSlot[] mapping)
protected StackSlot mapSimpleVirtualStackSlot(FrameMapBuilderTool builder, SimpleVirtualStackSlot virtualStackSlot)
protected StackSlot mapVirtualStackSlotRange(FrameMapBuilderTool builder, VirtualStackSlotRange virtualStackSlot)