public abstract static class SharedGraphBuilderPhase.SharedBytecodeParser
extends org.graalvm.compiler.java.BytecodeParser
org.graalvm.compiler.java.BytecodeParser.BytecodeParserError, org.graalvm.compiler.java.BytecodeParser.ExceptionEdgeAction, org.graalvm.compiler.java.BytecodeParser.IntrinsicGuard, org.graalvm.compiler.java.BytecodeParser.ReturnToCallerDatabytecodeProvider, BytecodesParsed, code, constantPool, currentBlock, debug, entryBCI, EXPLICIT_EXCEPTIONS, frameState, graph, graphBuilderConfig, intrinsicContext, lastInstr, metaAccess, method, optimisticOpts, options, profilingInfo, stream, TRACELEVEL_BLOCKMAP, TRACELEVEL_INSTRUCTIONS, TRACELEVEL_STATE| Modifier | Constructor and Description |
|---|---|
protected |
SharedBytecodeParser(org.graalvm.compiler.java.GraphBuilderPhase.Instance graphBuilderInstance,
org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.java.BytecodeParser parent,
jdk.vm.ci.meta.ResolvedJavaMethod method,
int entryBCI,
org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext intrinsicContext,
boolean explicitExceptionEdges) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canInlinePartialIntrinsicExit() |
org.graalvm.compiler.nodes.java.MethodCallTargetNode |
createMethodCallTarget(org.graalvm.compiler.nodes.CallTargetNode.InvokeKind invokeKind,
jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.ValueNode[] args,
org.graalvm.compiler.core.common.type.StampPair returnStamp,
jdk.vm.ci.meta.JavaTypeProfile profile) |
protected void |
emitCheckForInvokeSuperSpecial(org.graalvm.compiler.nodes.ValueNode[] args) |
protected void |
genGetField(int cpi,
int opcode,
org.graalvm.compiler.nodes.ValueNode receiverInput) |
protected void |
genGetStatic(int cpi,
int opcode) |
protected void |
genIf(org.graalvm.compiler.nodes.ValueNode x,
org.graalvm.compiler.core.common.calc.Condition cond,
org.graalvm.compiler.nodes.ValueNode y) |
protected void |
genInvokeDynamic(int cpi,
int opcode) |
protected void |
genInvokeSpecial(int cpi,
int opcode) |
protected void |
genInvokeStatic(int cpi,
int opcode) |
protected void |
genInvokeVirtual(int cpi,
int opcode) |
protected void |
genLoadConstant(int cpi,
int opcode) |
protected void |
genNewInstance(int cpi) |
protected void |
genPutField(int cpi,
int opcode) |
protected void |
genPutStatic(int cpi,
int opcode) |
protected void |
genReturn(org.graalvm.compiler.nodes.ValueNode returnVal,
jdk.vm.ci.meta.JavaKind returnKind) |
protected org.graalvm.compiler.word.WordTypes |
getWordTypes() |
protected org.graalvm.compiler.java.BytecodeParser.IntrinsicGuard |
guardIntrinsic(org.graalvm.compiler.nodes.ValueNode[] args,
jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.InvocationPluginReceiver pluginReceiver) |
protected jdk.vm.ci.meta.JavaType |
lookupType(int cpi,
int bytecode) |
protected void |
maybeEagerlyResolve(int cpi,
int bytecode) |
boolean |
needsExplicitException() |
protected boolean |
needsExplicitNullCheckException(org.graalvm.compiler.nodes.ValueNode object) |
protected boolean |
needsExplicitStoreCheckException(org.graalvm.compiler.nodes.ValueNode array,
org.graalvm.compiler.nodes.ValueNode value) |
void |
notifyReplacedCall(jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.ConstantNode node) |
protected boolean |
shouldComplementProbability() |
protected RuntimeException |
throwParserError(Throwable e) |
adjustProfileForInvocationPlugin, afterInvocationPluginExecution, append, appendConstant, appendInvoke, bailout, bci, build, buildRootMethod, checkLastInstruction, cleanupFinalGraph, createAnchor, createBytecodePosition, createHandleExceptionTarget, createInstanceOf, createInstanceOf, createInstanceOfAllowNull, createInvoke, createInvokeWithException, createMonitorEnterNode, createNewArray, createNewInstance, createNewMultiArray, createNonInlinedInvoke, createNonInlinedInvoke, disableLoopSafepoint, finishInstruction, finishPrepare, forceLoopPhis, genAnd, genArrayLength, genConditional, genExplicitExceptionEdge, genFloatAdd, genFloatConvert, genFloatDiv, genFloatMul, genFloatRem, genFloatSub, genGetField, genGoto, genIf, genIfNode, genIntegerAdd, genIntegerDiv, genIntegerEquals, genIntegerLessThan, genIntegerMul, genIntegerRem, genIntegerSub, genIntegerSwitch, genInvokeInterface, genInvokeInterface, genJsr, genLeftShift, genLoadField, genLoadIndexed, genMonitorEnter, genMonitorExit, genNarrow, genNegateOp, genNormalizeCompare, genObjectEquals, genOr, genPutField, genPutStatic, genRet, genRightShift, genSignExtend, genStoreField, genStoreIndexed, genThrow, genUnique, genUnique, genUnsignedRightShift, genVolatileFieldReadProxy, genXor, genZeroExtend, getActionForInvokeExceptionEdge, getBeforeUnwindNode, getCode, getConstantFieldProvider, getConstantReflection, getFrameStateBuilder, getGraph, getGraphBuilderInstance, getIntrinsic, getInvokeKind, getInvokeReturnType, getMetaAccess, getMethod, getNonIntrinsicAncestor, getParent, getProfileForInvoke, getProfileProbability, getStampProvider, getStream, getUnwindValue, handleReplacedInvoke, handleReplacedInvoke, handleUnresolvedCheckCast, handleUnresolvedExceptionType, handleUnresolvedInstanceOf, handleUnresolvedInvoke, handleUnresolvedLoadConstant, handleUnresolvedLoadField, handleUnresolvedNewInstance, handleUnresolvedNewMultiArray, handleUnresolvedNewObjectArray, handleUnresolvedStoreField, intrinsify, isNeverExecutedCode, iterateBytecodesForBlock, loadLocal, loadLocalObject, lookupField, maybeEmitExplicitBoundsCheck, maybeEmitExplicitDivisionByZeroCheck, maybeEmitExplicitNullCheck, maybeEmitExplicitStoreCheck, needsExplicitBoundsCheckException, needsExplicitClassCastException, needsExplicitDivisionByZeroException, notifyAfterInline, notifyBeforeInline, parseAndInlineCallee, parsingIntrinsic, pop, postProcessIfNode, processBlock, processBytecode, push, setCurrentFrameState, setStateAfter, stampFromValueForForcedPhis, storeLocal, toString, traceInstruction, traceWithContext, tryInvocationPluginclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected SharedBytecodeParser(org.graalvm.compiler.java.GraphBuilderPhase.Instance graphBuilderInstance,
org.graalvm.compiler.nodes.StructuredGraph graph,
org.graalvm.compiler.java.BytecodeParser parent,
jdk.vm.ci.meta.ResolvedJavaMethod method,
int entryBCI,
org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext intrinsicContext,
boolean explicitExceptionEdges)
protected RuntimeException throwParserError(Throwable e)
throwParserError in class org.graalvm.compiler.java.BytecodeParserprotected org.graalvm.compiler.word.WordTypes getWordTypes()
protected void maybeEagerlyResolve(int cpi,
int bytecode)
maybeEagerlyResolve in class org.graalvm.compiler.java.BytecodeParserprotected void genInvokeStatic(int cpi,
int opcode)
genInvokeStatic in class org.graalvm.compiler.java.BytecodeParserprotected void genInvokeVirtual(int cpi,
int opcode)
genInvokeVirtual in class org.graalvm.compiler.java.BytecodeParserprotected void genInvokeSpecial(int cpi,
int opcode)
genInvokeSpecial in class org.graalvm.compiler.java.BytecodeParserprotected void genInvokeDynamic(int cpi,
int opcode)
genInvokeDynamic in class org.graalvm.compiler.java.BytecodeParserprotected void genNewInstance(int cpi)
genNewInstance in class org.graalvm.compiler.java.BytecodeParserprotected jdk.vm.ci.meta.JavaType lookupType(int cpi,
int bytecode)
lookupType in class org.graalvm.compiler.java.BytecodeParserprotected void genGetField(int cpi,
int opcode,
org.graalvm.compiler.nodes.ValueNode receiverInput)
genGetField in class org.graalvm.compiler.java.BytecodeParserprotected void genPutField(int cpi,
int opcode)
genPutField in class org.graalvm.compiler.java.BytecodeParserprotected void genGetStatic(int cpi,
int opcode)
genGetStatic in class org.graalvm.compiler.java.BytecodeParserprotected void genPutStatic(int cpi,
int opcode)
genPutStatic in class org.graalvm.compiler.java.BytecodeParserprotected void emitCheckForInvokeSuperSpecial(org.graalvm.compiler.nodes.ValueNode[] args)
emitCheckForInvokeSuperSpecial in class org.graalvm.compiler.java.BytecodeParserprotected boolean canInlinePartialIntrinsicExit()
canInlinePartialIntrinsicExit in class org.graalvm.compiler.java.BytecodeParserprotected void genIf(org.graalvm.compiler.nodes.ValueNode x,
org.graalvm.compiler.core.common.calc.Condition cond,
org.graalvm.compiler.nodes.ValueNode y)
genIf in class org.graalvm.compiler.java.BytecodeParserprotected boolean shouldComplementProbability()
shouldComplementProbability in class org.graalvm.compiler.java.BytecodeParserpublic org.graalvm.compiler.nodes.java.MethodCallTargetNode createMethodCallTarget(org.graalvm.compiler.nodes.CallTargetNode.InvokeKind invokeKind,
jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.ValueNode[] args,
org.graalvm.compiler.core.common.type.StampPair returnStamp,
jdk.vm.ci.meta.JavaTypeProfile profile)
createMethodCallTarget in class org.graalvm.compiler.java.BytecodeParserprotected void genReturn(org.graalvm.compiler.nodes.ValueNode returnVal,
jdk.vm.ci.meta.JavaKind returnKind)
genReturn in class org.graalvm.compiler.java.BytecodeParserprotected void genLoadConstant(int cpi,
int opcode)
genLoadConstant in class org.graalvm.compiler.java.BytecodeParserprotected boolean needsExplicitNullCheckException(org.graalvm.compiler.nodes.ValueNode object)
needsExplicitNullCheckException in class org.graalvm.compiler.java.BytecodeParserprotected boolean needsExplicitStoreCheckException(org.graalvm.compiler.nodes.ValueNode array,
org.graalvm.compiler.nodes.ValueNode value)
needsExplicitStoreCheckException in class org.graalvm.compiler.java.BytecodeParserpublic boolean needsExplicitException()
needsExplicitException in interface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContextneedsExplicitException in class org.graalvm.compiler.java.BytecodeParserprotected org.graalvm.compiler.java.BytecodeParser.IntrinsicGuard guardIntrinsic(org.graalvm.compiler.nodes.ValueNode[] args,
jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.InvocationPluginReceiver pluginReceiver)
guardIntrinsic in class org.graalvm.compiler.java.BytecodeParserpublic void notifyReplacedCall(jdk.vm.ci.meta.ResolvedJavaMethod targetMethod,
org.graalvm.compiler.nodes.ConstantNode node)