public abstract class AbstractAllocator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractAllocator.EdgeTypes |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Variable,Variable> |
aliases |
protected Map<TypeRef,List<Register>> |
knownRegisters |
protected BytecodeLinkerContext |
linkerContext |
protected Map<PHIValue,Variable> |
phis |
protected Map<Variable,Register> |
registerAssignments |
protected Function<Variable,TypeRef> |
typeConverter |
| Constructor and Description |
|---|
AbstractAllocator(Function<Variable,TypeRef> aTypeConverter,
BytecodeLinkerContext aLinkerContext) |
| Modifier and Type | Method and Description |
|---|---|
List<Register> |
assignedRegister() |
protected List<Variable> |
computeSSAReadyVariablesFor(Program prog) |
Register |
registerAssignmentFor(Variable v) |
List<Register> |
registersOfType(TypeRef aType) |
Set<TypeRef> |
usedRegisterTypes() |
Variable |
variableAssignmentFor(PHIValue p) |
protected final BytecodeLinkerContext linkerContext
public AbstractAllocator(Function<Variable,TypeRef> aTypeConverter, BytecodeLinkerContext aLinkerContext)
Copyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.