public static enum CanonicalizerPhase.CanonicalizerFeature extends Enum<CanonicalizerPhase.CanonicalizerFeature>
Canonicalizable and CanonicalizerPhase combine different optimizations into a
single API. This includes global value numbering, strength reductions, stamp based
optimizations and many more. This feature enum groups them into different categories.| Enum Constant and Description |
|---|
CFG_SIMPLIFICATION
Determines if the canonicalizer is allowed to change
ControlFlowGraph of the
currently compiled method. |
GVN
Determines if the canonicalizer is allowed to perform global value numbering.
|
READ_CANONICALIZATION
Determines if
CanonicalizerPhase is allowed to canonicalize memory read
operations. |
| Modifier and Type | Method and Description |
|---|---|
static CanonicalizerPhase.CanonicalizerFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CanonicalizerPhase.CanonicalizerFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CanonicalizerPhase.CanonicalizerFeature READ_CANONICALIZATION
CanonicalizerPhase is allowed to canonicalize memory read
operations. See CanonicalizerTool.canonicalizeReads().public static final CanonicalizerPhase.CanonicalizerFeature CFG_SIMPLIFICATION
ControlFlowGraph of the
currently compiled method. This includes removal/deletion/insertion/etc of
FixedNode.public static final CanonicalizerPhase.CanonicalizerFeature GVN
Graph.findDuplicate(Node) for details.public static CanonicalizerPhase.CanonicalizerFeature[] values()
public static CanonicalizerPhase.CanonicalizerFeature 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