use of com.oracle.svm.hosted.phases.ImplicitAssertionsPhase in project graal by oracle.
the class SVMHost method optimizeAfterParsing.
protected void optimizeAfterParsing(BigBang bb, StructuredGraph graph) {
new ImplicitAssertionsPhase().apply(graph, bb.getProviders());
new BoxNodeIdentityPhase().apply(graph, bb.getProviders());
new PartialEscapePhase(false, false, CanonicalizerPhase.create(), null, options).apply(graph, bb.getProviders());
}
use of com.oracle.svm.hosted.phases.ImplicitAssertionsPhase in project graal by oracle.
the class CompileQueue method afterParseCanonicalization.
protected PhaseSuite<HighTierContext> afterParseCanonicalization() {
PhaseSuite<HighTierContext> phaseSuite = new PhaseSuite<>();
phaseSuite.appendPhase(new ImplicitAssertionsPhase());
phaseSuite.appendPhase(new DeadStoreRemovalPhase());
phaseSuite.appendPhase(new DevirtualizeCallsPhase());
phaseSuite.appendPhase(CanonicalizerPhase.create());
phaseSuite.appendPhase(new StrengthenStampsPhase());
phaseSuite.appendPhase(CanonicalizerPhase.create());
phaseSuite.appendPhase(new OptimizeExceptionPathsPhase());
if (ImageBuildStatistics.Options.CollectImageBuildStatistics.getValue(universe.hostVM().options())) {
phaseSuite.appendPhase(CanonicalizerPhase.create());
phaseSuite.appendPhase(new ImageBuildStatisticsCounterPhase(ImageBuildStatistics.CheckCountLocation.AFTER_PARSE_CANONICALIZATION));
}
return phaseSuite;
}
Aggregations