public abstract class LIRPhase<C> extends Object
low-level phases. Subclasses should be stateless. There will be
one global instance for each phase that is shared for all compilations.| Modifier and Type | Class and Description |
|---|---|
static class |
LIRPhase.LIRPhaseStatistics |
static class |
LIRPhase.Options |
| Modifier and Type | Field and Description |
|---|---|
static ClassValue<LIRPhase.LIRPhaseStatistics> |
statisticsClassValue |
| Constructor and Description |
|---|
LIRPhase() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(TargetDescription target,
LIRGenerationResult lirGenRes,
C context) |
void |
apply(TargetDescription target,
LIRGenerationResult lirGenRes,
C context,
boolean dumpLIR) |
protected CharSequence |
createName() |
static CharSequence |
createName(Class<?> clazz) |
static LIRPhase.LIRPhaseStatistics |
getLIRPhaseStatistics(Class<?> c) |
CharSequence |
getName() |
protected abstract void |
run(TargetDescription target,
LIRGenerationResult lirGenRes,
C context) |
public static final ClassValue<LIRPhase.LIRPhaseStatistics> statisticsClassValue
public static LIRPhase.LIRPhaseStatistics getLIRPhaseStatistics(Class<?> c)
public final void apply(TargetDescription target,
LIRGenerationResult lirGenRes,
C context)
public final void apply(TargetDescription target,
LIRGenerationResult lirGenRes,
C context,
boolean dumpLIR)
protected abstract void run(TargetDescription target,
LIRGenerationResult lirGenRes,
C context)
public static CharSequence createName(Class<?> clazz)
protected CharSequence createName()
public final CharSequence getName()