public class RegisterAllocationConfig extends Object
RegisterConfig
as it only
returns registers specified by GraalOptions.RegisterPressure
.Modifier and Type | Class and Description |
---|---|
static class |
RegisterAllocationConfig.AllocatableRegisters |
Modifier and Type | Field and Description |
---|---|
static String |
ALL_REGISTERS |
private jdk.internal.jvmci.code.Register[] |
cachedRegisters |
private Map<jdk.internal.jvmci.meta.PlatformKind.Key,RegisterAllocationConfig.AllocatableRegisters> |
categorized |
protected jdk.internal.jvmci.code.RegisterConfig |
registerConfig |
Constructor and Description |
---|
RegisterAllocationConfig(jdk.internal.jvmci.code.RegisterConfig registerConfig) |
Modifier and Type | Method and Description |
---|---|
protected RegisterAllocationConfig.AllocatableRegisters |
createAllocatableRegisters(jdk.internal.jvmci.code.Register[] registers) |
private static jdk.internal.jvmci.code.Register |
findRegister(String name,
jdk.internal.jvmci.code.Register[] all) |
jdk.internal.jvmci.code.Register[] |
getAllocatableRegisters()
Gets the set of registers that can be used by the register allocator.
|
RegisterAllocationConfig.AllocatableRegisters |
getAllocatableRegisters(jdk.internal.jvmci.meta.PlatformKind kind)
Gets the set of registers that can be used by the register allocator for a value of a
particular kind.
|
jdk.internal.jvmci.code.RegisterConfig |
getRegisterConfig() |
protected jdk.internal.jvmci.code.Register[] |
initAllocatable(jdk.internal.jvmci.code.Register[] registers) |
public static final String ALL_REGISTERS
protected final jdk.internal.jvmci.code.RegisterConfig registerConfig
private final Map<jdk.internal.jvmci.meta.PlatformKind.Key,RegisterAllocationConfig.AllocatableRegisters> categorized
private jdk.internal.jvmci.code.Register[] cachedRegisters
public RegisterAllocationConfig(jdk.internal.jvmci.code.RegisterConfig registerConfig)
private static jdk.internal.jvmci.code.Register findRegister(String name, jdk.internal.jvmci.code.Register[] all)
protected jdk.internal.jvmci.code.Register[] initAllocatable(jdk.internal.jvmci.code.Register[] registers)
public RegisterAllocationConfig.AllocatableRegisters getAllocatableRegisters(jdk.internal.jvmci.meta.PlatformKind kind)
protected RegisterAllocationConfig.AllocatableRegisters createAllocatableRegisters(jdk.internal.jvmci.code.Register[] registers)
public jdk.internal.jvmci.code.Register[] getAllocatableRegisters()
public jdk.internal.jvmci.code.RegisterConfig getRegisterConfig()