public static enum DefaultLoopPolicies.FullUnrollability extends Enum<DefaultLoopPolicies.FullUnrollability>
DefaultLoopPolicies.canFullUnroll(org.graalvm.compiler.nodes.loop.LoopEx) to communicate to its caller whether a loop should be fully unrolled,
and if not, why not.| Enum Constant and Description |
|---|
MUST_NOT_DUPLICATE
We cannot fully unroll this loop because we cannot duplicate it.
|
NOT_COUNTED
We cannot fully unroll this loop because it is not a counted loop with a constant max
trip count, or the counter might overflow.
|
SHOULD_FULL_UNROLL
We can and should fully unroll this loop.
|
TOO_LARGE
We could fully unroll this loop, but we should not because this would exceed a global or
per-loop size limit.
|
TOO_MANY_ITERATIONS
We could fully unroll this loop, but we should not because it has more iterations than
allowed by the full unrolling options.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultLoopPolicies.FullUnrollability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultLoopPolicies.FullUnrollability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultLoopPolicies.FullUnrollability SHOULD_FULL_UNROLL
public static final DefaultLoopPolicies.FullUnrollability NOT_COUNTED
public static final DefaultLoopPolicies.FullUnrollability MUST_NOT_DUPLICATE
public static final DefaultLoopPolicies.FullUnrollability TOO_MANY_ITERATIONS
public static final DefaultLoopPolicies.FullUnrollability TOO_LARGE
public static DefaultLoopPolicies.FullUnrollability[] values()
public static DefaultLoopPolicies.FullUnrollability valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null