use of org.graalvm.compiler.phases.common.AddressLoweringByUsePhase in project graal by oracle.
the class AArch64HotSpotSuitesProvider method createSuites.
@Override
public Suites createSuites(OptionValues options) {
Suites suites = super.createSuites(options);
ListIterator<BasePhase<? super LowTierContext>> findPhase = suites.getLowTier().findPhase(FixReadsPhase.class);
if (findPhase == null) {
findPhase = suites.getLowTier().findPhase(ExpandLogicPhase.class);
}
findPhase.add(new AddressLoweringByUsePhase(addressLoweringByUse));
// Put AArch64ReadReplacementPhase right before the SchedulePhase
findPhase = suites.getLowTier().findPhase(SchedulePhase.class);
while (PhaseSuite.findNextPhase(findPhase, SchedulePhase.class)) {
// Search for last occurrence of SchedulePhase
}
findPhase.previous();
findPhase.add(new AArch64ReadReplacementPhase());
return suites;
}
Aggregations