public class ProfileBranchNode extends ProfileWithNotificationNode
ProfileNode.Options
Node.ConstantNodeParameter, Node.EdgeVisitor, Node.IndirectCanonicalization, Node.InjectedNodeParameter, Node.Input, Node.NodeInsertionStackTrace, Node.NodeIntrinsic, Node.NodeIntrinsicFactory, Node.OptionalInput, Node.Successor, Node.ValueNumberable
DeoptimizingNode.DeoptAfter, DeoptimizingNode.DeoptBefore, DeoptimizingNode.DeoptDuring
Modifier and Type | Field and Description |
---|---|
protected int |
bci |
protected int |
targetBci |
static NodeClass<ProfileBranchNode> |
TYPE |
freqLog
method, probabilityLog, random, step
stateBefore
next
NODE_LIST, NOT_ITERABLE, TRACK_CREATION_POSITION, WithAllEdges, WithNoEdges, WithOnlyInputEdges, WithOnlySucessorEdges
Constructor and Description |
---|
ProfileBranchNode(jdk.vm.ci.meta.ResolvedJavaMethod method,
int freqLog,
int probabilityLog,
ConditionalNode branchCondition,
int bci,
int targetBci) |
ProfileBranchNode(jdk.vm.ci.meta.ResolvedJavaMethod method,
int freqLog,
int probabilityLog,
int bci,
int targetBci) |
Modifier and Type | Method and Description |
---|---|
int |
bci() |
ValueNode |
branchCondition() |
protected boolean |
canBeMergedWith(ProfileNode p) |
static NodeIterable<ProfileBranchNode> |
getProfileBranchNodes(StructuredGraph graph)
Gathers all the
ProfileBranchNode s that are inputs to the
live nodes in a given graph. |
boolean |
hasCondition() |
int |
targetBci() |
getNotificationFreqLog, setNotificationFreqLog, setNotificationOff
canDeoptimize, getKilledLocationIdentity, getProbabilityLog, getProfiledMethod, getProfileNodes, getRandom, getStep, setRandom, setStep, simplify
setStateBefore, stateBefore
asNode, next, setNext
asConstant, asJavaConstant, asSerializableConstant, getStackKind, graph, hasUsagesOtherThan, inferStamp, isAllowedUsageType, isConstant, isConstantPredicate, isDefaultConstant, isIllegalConstant, isJavaConstant, isNullConstant, isSerializableConstant, replaceAtAllUsages, replaceAtUsages, setStamp, stamp, updateStamp
afterClone, applyInputs, applySuccessors, assertFalse, assertTrue, cfgPredecessors, cfgSuccessors, clearInputs, clearNodeSourcePosition, clearSuccessors, copyWithInputs, copyWithInputs, dataFlowEquals, estimatedNodeCycles, estimatedNodeSize, fail, formatTo, getCreationPosition, getDebug, getDebugProperties, getDebugProperties, getInsertionPosition, getNodeClass, getNodeSourcePosition, getOptions, getUsageCount, hasExactlyOneUsage, hashCode, hasMoreThanOneUsage, hasNoUsages, hasOnlyUsagesOfType, hasUsages, inputPositions, inputs, isAlive, isDeleted, isUnregistered, markDeleted, maybeNotifyZeroUsages, modCount, predecessor, pushInputs, removeUsage, replaceAllInputs, replaceAndDelete, replaceAtMatchingUsages, replaceAtPredecessor, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsagesAndDelete, replaceAtUsagesAndDelete, replaceFirstInput, replaceFirstInput, replaceFirstSuccessor, safeDelete, setCreationPosition, setInsertionPosition, setNodeSourcePosition, successorPositions, successors, toString, toString, updateNodeSourcePosition, updatePredecessor, updateUsages, updateUsagesInterface, usages, valueEquals, verifyEdges, verifyInputs, verifySourcePosition, withNodeSourcePosition
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
asNode
canUseAsStateDuring
states
asNode
public static final NodeClass<ProfileBranchNode> TYPE
protected int bci
protected int targetBci
public ProfileBranchNode(jdk.vm.ci.meta.ResolvedJavaMethod method, int freqLog, int probabilityLog, ConditionalNode branchCondition, int bci, int targetBci)
public ProfileBranchNode(jdk.vm.ci.meta.ResolvedJavaMethod method, int freqLog, int probabilityLog, int bci, int targetBci)
public int bci()
public int targetBci()
public ValueNode branchCondition()
public boolean hasCondition()
protected boolean canBeMergedWith(ProfileNode p)
canBeMergedWith
in class ProfileNode
public static NodeIterable<ProfileBranchNode> getProfileBranchNodes(StructuredGraph graph)
ProfileBranchNode
s that are inputs to the
live nodes in a given graph.