use of org.graalvm.compiler.hotspot.HotSpotInstructionProfiling in project graal by oracle.
the class HotSpotSuitesProvider method createLIRSuites.
@Override
public LIRSuites createLIRSuites(OptionValues options) {
LIRSuites suites = defaultSuitesCreator.createLIRSuites(options);
String profileInstructions = HotSpotBackend.Options.ASMInstructionProfiling.getValue(options);
if (profileInstructions != null) {
suites.getPostAllocationOptimizationStage().appendPhase(new HotSpotInstructionProfiling(profileInstructions));
}
if (Assertions.detailedAssertionsEnabled(options)) {
suites.getPostAllocationOptimizationStage().appendPhase(new VerifyMaxRegisterSizePhase(config.maxVectorSize));
}
return suites;
}
Aggregations