public class DynamicCounterNode extends FixedWithNextNode implements LIRLowerable
Node.ConstantNodeParameter, Node.InjectedNodeParameter, Node.Input, Node.NodeIntrinsic, Node.OptionalInput, Node.Successor, Node.ValueNumberable
Modifier and Type | Field and Description |
---|---|
protected String |
group |
(package private) ValueNode |
increment |
protected String |
name |
static NodeClass<DynamicCounterNode> |
TYPE |
protected boolean |
withContext |
next
NODE_LIST, NOT_ITERABLE, USE_UNSAFE_TO_CLONE, WithAllEdges, WithNoEdges, WithOnlyInputEdges, WithOnlySucessorEdges
Modifier | Constructor and Description |
---|---|
protected |
DynamicCounterNode(NodeClass<? extends DynamicCounterNode> c,
String name,
String group,
ValueNode increment,
boolean withContext) |
|
DynamicCounterNode(String name,
String group,
ValueNode increment,
boolean withContext) |
Modifier and Type | Method and Description |
---|---|
static void |
addCounterBefore(String group,
String name,
long increment,
boolean withContext,
FixedNode position) |
static void |
counter(String name,
String group,
long increment,
boolean addContext) |
void |
generate(NodeLIRBuilderTool generator) |
String |
getGroup() |
ValueNode |
getIncrement() |
String |
getName() |
boolean |
isWithContext() |
asNode, next, setNext
asConstant, asJavaConstant, getKind, graph, inferStamp, isAllowedUsageType, isConstant, isConstantPredicate, isNullConstant, setStamp, stamp, updateStamp
acceptInputs, acceptSuccessors, afterClone, assertFalse, assertTrue, cfgPredecessors, cfgSuccessors, clearInputs, clearSuccessors, copyWithInputs, copyWithInputs, equals, fail, formatTo, getDebugProperties, getDebugProperties, getId, getNodeClass, getUsageAt, getUsageCount, hashCode, hasNoUsages, hasUsages, inputs, isAlive, isDeleted, markDeleted, modCount, newIdentityMap, newIdentityMap, newIdentityMap, newMap, newMap, newMap, newSet, newSet, predecessor, pushInputs, removeUsage, replaceAndDelete, replaceAtMatchingUsages, replaceAtPredecessor, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceFirstInput, replaceFirstSuccessor, safeDelete, simplify, successors, toString, toString, updatePredecessor, updateUsages, updateUsagesInterface, usages, valueEquals, verifyEdges, verifyInputs
public static final NodeClass<DynamicCounterNode> TYPE
protected final boolean withContext
public DynamicCounterNode(String name, String group, ValueNode increment, boolean withContext)
protected DynamicCounterNode(NodeClass<? extends DynamicCounterNode> c, String name, String group, ValueNode increment, boolean withContext)
public ValueNode getIncrement()
public boolean isWithContext()
public static void addCounterBefore(String group, String name, long increment, boolean withContext, FixedNode position)
public void generate(NodeLIRBuilderTool generator)
generate
in interface LIRLowerable