final class LoweringPhase.LoweringToolImpl extends Object implements LoweringTool
LoweringTool.LoweringStage, LoweringTool.StandardLoweringStage
Modifier and Type | Field and Description |
---|---|
private NodeBitMap |
activeGuards |
private PhaseContext |
context |
private AnchoringNode |
guardAnchor |
private FixedWithNextNode |
lastFixedNode |
Constructor and Description |
---|
LoweringToolImpl(PhaseContext context,
AnchoringNode guardAnchor,
NodeBitMap activeGuards,
FixedWithNextNode lastFixedNode) |
Modifier and Type | Method and Description |
---|---|
GuardingNode |
createGuard(FixedNode before,
LogicNode condition,
DeoptimizationReason deoptReason,
DeoptimizationAction action) |
GuardingNode |
createGuard(FixedNode before,
LogicNode condition,
DeoptimizationReason deoptReason,
DeoptimizationAction action,
JavaConstant speculation,
boolean negated) |
ConstantReflectionProvider |
getConstantReflection() |
AnchoringNode |
getCurrentGuardAnchor() |
LoweringProvider |
getLowerer() |
LoweringTool.LoweringStage |
getLoweringStage()
Returns current lowering stage.
|
MetaAccessProvider |
getMetaAccess() |
Replacements |
getReplacements() |
StampProvider |
getStampProvider() |
FixedWithNextNode |
lastFixedNode()
Gets the closest fixed node preceding the node currently being lowered.
|
private void |
setLastFixedNode(FixedWithNextNode n) |
private final PhaseContext context
private final NodeBitMap activeGuards
private AnchoringNode guardAnchor
private FixedWithNextNode lastFixedNode
public LoweringToolImpl(PhaseContext context, AnchoringNode guardAnchor, NodeBitMap activeGuards, FixedWithNextNode lastFixedNode)
public LoweringTool.LoweringStage getLoweringStage()
LoweringTool
getLoweringStage
in interface LoweringTool
public ConstantReflectionProvider getConstantReflection()
getConstantReflection
in interface LoweringTool
public MetaAccessProvider getMetaAccess()
getMetaAccess
in interface LoweringTool
public LoweringProvider getLowerer()
getLowerer
in interface LoweringTool
public Replacements getReplacements()
getReplacements
in interface LoweringTool
public AnchoringNode getCurrentGuardAnchor()
getCurrentGuardAnchor
in interface LoweringTool
public GuardingNode createGuard(FixedNode before, LogicNode condition, DeoptimizationReason deoptReason, DeoptimizationAction action)
createGuard
in interface LoweringTool
public StampProvider getStampProvider()
getStampProvider
in interface LoweringTool
public GuardingNode createGuard(FixedNode before, LogicNode condition, DeoptimizationReason deoptReason, DeoptimizationAction action, JavaConstant speculation, boolean negated)
createGuard
in interface LoweringTool
public FixedWithNextNode lastFixedNode()
LoweringTool
lastFixedNode
in interface LoweringTool
private void setLastFixedNode(FixedWithNextNode n)