public class FirstFitLocalCombiningAllocator extends RegisterAllocator
interference, ssaMeth| Constructor and Description |
|---|
FirstFitLocalCombiningAllocator(SsaMethod ssaMeth,
InterferenceGraph interference,
boolean minimizeRegisters)
Constructs instance.
|
| Modifier and Type | Method and Description |
|---|---|
RegisterMapper |
allocateRegisters()
Runs the algorithm.
|
boolean |
wantsParamsMovedHigh()
Indicates whether the method params were allocated at the bottom
of the namespace, and thus should be moved up to the top of the
namespace after phi removal.
|
getCategoryForSsaReg, getDefinitionSpecForSsaReg, insertMoveBefore, isDefinitionMoveParampublic FirstFitLocalCombiningAllocator(SsaMethod ssaMeth, InterferenceGraph interference, boolean minimizeRegisters)
ssaMeth - non-null; method to processinterference - non-null interference graph for SSA registersminimizeRegisters - true if converter should take steps to
minimize rop-form registerspublic boolean wantsParamsMovedHigh()
wantsParamsMovedHigh in class RegisterAllocatortrue if params should be moved from low to highpublic RegisterMapper allocateRegisters()
allocateRegisters in class RegisterAllocatorSsaMethodCopyright © 2020. All Rights Reserved.