
jdk.graal.compiler.replacements.PEGraphDecoder_OptionDescriptors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
The GraalVM compiler and the Graal-truffle optimizer.
// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// Source: PEGraphDecoder.java
package jdk.graal.compiler.replacements;
import java.util.*;
import jdk.graal.compiler.options.*;
import jdk.graal.compiler.options.OptionType;
import jdk.graal.compiler.options.OptionStability;
public class PEGraphDecoder_OptionDescriptors implements OptionDescriptors {
@Override
public OptionDescriptor get(String value) {
switch (value) {
// CheckStyle: stop line length check
case "FailedLoopExplosionIsFatal": {
return OptionDescriptor.create(
/*name*/ "FailedLoopExplosionIsFatal",
/*optionType*/ OptionType.Debug,
/*optionValueType*/ Boolean.class,
/*help*/ "Do not bail out but throw an exception on failed loop explosion.",
/*declaringClass*/ PEGraphDecoder.Options.class,
/*fieldName*/ "FailedLoopExplosionIsFatal",
/*option*/ PEGraphDecoder.Options.FailedLoopExplosionIsFatal,
/*stability*/ OptionStability.EXPERIMENTAL,
/*deprecated*/ false,
/*deprecationMessage*/ "");
}
case "InliningDepthError": {
return OptionDescriptor.create(
/*name*/ "InliningDepthError",
/*optionType*/ OptionType.Debug,
/*optionValueType*/ Integer.class,
/*help*/ "Maximum inlining depth during partial evaluation before reporting an infinite recursion",
/*declaringClass*/ PEGraphDecoder.Options.class,
/*fieldName*/ "InliningDepthError",
/*option*/ PEGraphDecoder.Options.InliningDepthError,
/*stability*/ OptionStability.EXPERIMENTAL,
/*deprecated*/ false,
/*deprecationMessage*/ "");
}
case "MaximumLoopExplosionCount": {
return OptionDescriptor.create(
/*name*/ "MaximumLoopExplosionCount",
/*optionType*/ OptionType.Debug,
/*optionValueType*/ Integer.class,
/*help*/ "Max number of loop explosions per method.",
/*declaringClass*/ PEGraphDecoder.Options.class,
/*fieldName*/ "MaximumLoopExplosionCount",
/*option*/ PEGraphDecoder.Options.MaximumLoopExplosionCount,
/*stability*/ OptionStability.EXPERIMENTAL,
/*deprecated*/ false,
/*deprecationMessage*/ "");
}
// CheckStyle: resume line length check
}
return null;
}
@Override
public Iterator iterator() {
return new Iterator<>() {
int i = 0;
@Override
public boolean hasNext() {
return i < 3;
}
@Override
public OptionDescriptor next() {
switch (i++) {
case 0: return get("FailedLoopExplosionIsFatal");
case 1: return get("InliningDepthError");
case 2: return get("MaximumLoopExplosionCount");
}
throw new NoSuchElementException();
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy