public class DefaultSuitesProvider extends Object implements SuitesProvider
Modifier and Type | Class and Description |
---|---|
private class |
DefaultSuitesProvider.LIRSuitesSupplier |
private class |
DefaultSuitesProvider.SuitesSupplier |
Modifier and Type | Field and Description |
---|---|
private PhaseSuite<HighTierContext> |
defaultGraphBuilderSuite |
private DerivedOptionValue<LIRSuites> |
defaultLIRSuites |
private DerivedOptionValue<Suites> |
defaultSuites |
Constructor and Description |
---|
DefaultSuitesProvider(GraphBuilderConfiguration.Plugins plugins) |
Modifier and Type | Method and Description |
---|---|
protected PhaseSuite<HighTierContext> |
createGraphBuilderSuite(GraphBuilderConfiguration.Plugins plugins) |
LIRSuites |
createLIRSuites()
Create a new set of low-level phase suites.
|
Suites |
createSuites()
Create a new set of phase suites.
|
PhaseSuite<HighTierContext> |
getDefaultGraphBuilderSuite()
Get the default phase suite for creating new graphs.
|
LIRSuites |
getDefaultLIRSuites()
Get the default phase suites of this compiler.
|
Suites |
getDefaultSuites()
Get the default phase suites of this compiler.
|
private final DerivedOptionValue<Suites> defaultSuites
private final PhaseSuite<HighTierContext> defaultGraphBuilderSuite
private final DerivedOptionValue<LIRSuites> defaultLIRSuites
public DefaultSuitesProvider(GraphBuilderConfiguration.Plugins plugins)
public Suites getDefaultSuites()
SuitesProvider
getDefaultSuites
in interface SuitesProvider
public Suites createSuites()
SuitesProvider
default
suites.createSuites
in interface SuitesProvider
public PhaseSuite<HighTierContext> getDefaultGraphBuilderSuite()
SuitesProvider
getDefaultGraphBuilderSuite
in interface SuitesProvider
protected PhaseSuite<HighTierContext> createGraphBuilderSuite(GraphBuilderConfiguration.Plugins plugins)
public LIRSuites getDefaultLIRSuites()
SuitesProvider
getDefaultLIRSuites
in interface SuitesProvider
public LIRSuites createLIRSuites()
SuitesProvider
default
suites.createLIRSuites
in interface SuitesProvider