Search in sources :

Example 1 with AArch64LIRKindTool

use of org.graalvm.compiler.core.aarch64.AArch64LIRKindTool in project graal by oracle.

the class AArch64HotSpotBackendFactory method createSuites.

@Override
protected HotSpotSuitesProvider createSuites(GraalHotSpotVMConfig config, HotSpotGraalRuntimeProvider runtime, CompilerConfiguration compilerConfiguration, Plugins plugins, HotSpotRegistersProvider registers, HotSpotReplacementsImpl replacements, OptionValues options) {
    AArch64SuitesCreator suitesCreator = new AArch64SuitesCreator(compilerConfiguration, plugins, Arrays.asList(SchedulePhase.class));
    BasePhase<CoreProviders> addressLoweringPhase = new AddressLoweringByUsePhase(new AArch64AddressLoweringByUse(new AArch64LIRKindTool(), true));
    return new AddressLoweringHotSpotSuitesProvider(suitesCreator, config, runtime, addressLoweringPhase);
}
Also used : CoreProviders(org.graalvm.compiler.nodes.spi.CoreProviders) SchedulePhase(org.graalvm.compiler.phases.schedule.SchedulePhase) AddressLoweringHotSpotSuitesProvider(org.graalvm.compiler.hotspot.meta.AddressLoweringHotSpotSuitesProvider) AArch64AddressLoweringByUse(org.graalvm.compiler.core.aarch64.AArch64AddressLoweringByUse) AArch64LIRKindTool(org.graalvm.compiler.core.aarch64.AArch64LIRKindTool) AArch64SuitesCreator(org.graalvm.compiler.core.aarch64.AArch64SuitesCreator) AddressLoweringByUsePhase(org.graalvm.compiler.phases.common.AddressLoweringByUsePhase)

Aggregations

AArch64AddressLoweringByUse (org.graalvm.compiler.core.aarch64.AArch64AddressLoweringByUse)1 AArch64LIRKindTool (org.graalvm.compiler.core.aarch64.AArch64LIRKindTool)1 AArch64SuitesCreator (org.graalvm.compiler.core.aarch64.AArch64SuitesCreator)1 AddressLoweringHotSpotSuitesProvider (org.graalvm.compiler.hotspot.meta.AddressLoweringHotSpotSuitesProvider)1 CoreProviders (org.graalvm.compiler.nodes.spi.CoreProviders)1 AddressLoweringByUsePhase (org.graalvm.compiler.phases.common.AddressLoweringByUsePhase)1 SchedulePhase (org.graalvm.compiler.phases.schedule.SchedulePhase)1