public abstract class TruffleCompiler extends Object
Modifier and Type | Field and Description |
---|---|
protected Backend |
backend |
static DebugMemUseTracker |
CodeInstallationMemUse |
static DebugTimer |
CodeInstallationTime |
static DebugMemUseTracker |
CompilationMemUse |
protected GraalTruffleCompilationListener |
compilationNotify |
static DebugTimer |
CompilationTime |
protected GraphBuilderConfiguration |
config |
protected LIRSuites |
lirSuites |
static OptimisticOptimizations |
Optimizations |
static DebugMemUseTracker |
PartialEvaluationMemUse |
static DebugTimer |
PartialEvaluationTime |
protected PartialEvaluator |
partialEvaluator |
protected Providers |
providers |
private static Class<?>[] |
SKIPPED_EXCEPTION_CLASSES |
protected Suites |
suites |
Constructor and Description |
---|
TruffleCompiler(GraphBuilderConfiguration.Plugins plugins,
Suites suites,
LIRSuites lirSuites,
Backend backend) |
Modifier and Type | Method and Description |
---|---|
void |
compileMethod(OptimizedCallTarget compilable) |
CompilationResult |
compileMethodHelper(StructuredGraph graph,
String name,
PhaseSuite<HighTierContext> graphBuilderSuite,
InstalledCode predefinedInstalledCode) |
protected abstract PhaseSuite<HighTierContext> |
createGraphBuilderSuite() |
protected abstract PartialEvaluator |
createPartialEvaluator() |
GraphBuilderConfiguration |
getGraphBuilderConfiguration() |
PartialEvaluator |
getPartialEvaluator() |
static ResolvedJavaType[] |
getSkippedExceptionTypes(MetaAccessProvider metaAccess) |
void |
processAssumption(Set<Assumptions.Assumption> newAssumptions,
Assumptions.Assumption assumption,
List<AssumptionValidAssumption> manual) |
protected final GraphBuilderConfiguration config
protected final PartialEvaluator partialEvaluator
protected final GraalTruffleCompilationListener compilationNotify
private static final Class<?>[] SKIPPED_EXCEPTION_CLASSES
public static final OptimisticOptimizations Optimizations
public static final DebugTimer PartialEvaluationTime
public static final DebugTimer CompilationTime
public static final DebugTimer CodeInstallationTime
public static final DebugMemUseTracker PartialEvaluationMemUse
public static final DebugMemUseTracker CompilationMemUse
public static final DebugMemUseTracker CodeInstallationMemUse
public TruffleCompiler(GraphBuilderConfiguration.Plugins plugins, Suites suites, LIRSuites lirSuites, Backend backend)
public GraphBuilderConfiguration getGraphBuilderConfiguration()
protected abstract PartialEvaluator createPartialEvaluator()
public static ResolvedJavaType[] getSkippedExceptionTypes(MetaAccessProvider metaAccess)
public void compileMethod(OptimizedCallTarget compilable)
public CompilationResult compileMethodHelper(StructuredGraph graph, String name, PhaseSuite<HighTierContext> graphBuilderSuite, InstalledCode predefinedInstalledCode)
protected abstract PhaseSuite<HighTierContext> createGraphBuilderSuite()
public void processAssumption(Set<Assumptions.Assumption> newAssumptions, Assumptions.Assumption assumption, List<AssumptionValidAssumption> manual)
public PartialEvaluator getPartialEvaluator()