protected class SimplifyingGraphDecoder.PECanonicalizerTool extends CoreProvidersDelegate implements CanonicalizerTool
| Constructor and Description |
|---|
PECanonicalizerTool(Assumptions assumptions,
OptionValues options) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allUsagesAvailable()
If this method returns false, not all
usages of a node are yet
available. |
boolean |
canonicalizeReads()
Indicates whether the canonicalization of memory read operations to simpler operations or
constants is allowed.
|
boolean |
divisionOverflowIsJVMSCompliant()
Indicates whether the target platform complies with the JVM specification semantics for
idiv and ldiv when the dividend is Integer.MAX_VALUE or
Long.MAX_VALUE respectively and the divisor is -1. |
Assumptions |
getAssumptions() |
OptionValues |
getOptions() |
Integer |
smallestCompareWidth()
Indicates the smallest width for comparing an integer value on the target platform.
|
boolean |
supportsRounding()
Indicates whether this target platform supports lowering
RoundNode. |
getConstantFieldProvider, getConstantReflection, getForeignCalls, getLoopsDataProvider, getLowerer, getMetaAccess, getMetaAccessExtensionProvider, getPlatformConfigurationProvider, getProviders, getReplacements, getStampProvider, getWordVerificationclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinalCanonicalizationgetConstantFieldProvider, getConstantReflection, getForeignCalls, getLoopsDataProvider, getLowerer, getMetaAccess, getMetaAccessExtensionProvider, getPlatformConfigurationProvider, getReplacements, getStampProvider, getWordVerificationpublic PECanonicalizerTool(Assumptions assumptions,
OptionValues options)
public OptionValues getOptions()
getOptions in interface CanonicalizerToolpublic boolean canonicalizeReads()
CanonicalizerToolReadNode, LoadFieldNode and LoadIndexedNode.canonicalizeReads in interface CanonicalizerToolpublic boolean allUsagesAvailable()
CanonicalizerToolusages of a node are yet
available. So a node must not be canonicalized base on, e.g., information returned from
Node.hasNoUsages().allUsagesAvailable in interface CanonicalizerToolpublic Assumptions getAssumptions()
getAssumptions in interface CanonicalizerToolpublic Integer smallestCompareWidth()
CanonicalizerToolsmallestCompareWidth in interface CanonicalizerToolpublic boolean supportsRounding()
CanonicalizerToolRoundNode.supportsRounding in interface CanonicalizerToolpublic boolean divisionOverflowIsJVMSCompliant()
CanonicalizerToolidiv and ldiv when the dividend is Integer.MAX_VALUE or
Long.MAX_VALUE respectively and the divisor is -1. The specified result for
this case is the dividend.divisionOverflowIsJVMSCompliant in interface CanonicalizerTool